mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-31 04:09:43 +02:00
UBERF-4319: Performance changes (#4474)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -30,7 +30,8 @@ import core, {
|
||||
type WithLookup,
|
||||
type SearchQuery,
|
||||
type SearchOptions,
|
||||
type SearchResult
|
||||
type SearchResult,
|
||||
type MeasureDoneOperation
|
||||
} from '@hcengineering/core'
|
||||
import { devModelId } from '@hcengineering/devmodel'
|
||||
import { Builder } from '@hcengineering/model'
|
||||
@@ -68,6 +69,10 @@ class ModelClient implements AccountClient {
|
||||
}
|
||||
}
|
||||
|
||||
async measure (operationName: string): Promise<MeasureDoneOperation> {
|
||||
return await this.client.measure(operationName)
|
||||
}
|
||||
|
||||
notify?: (tx: Tx) => void
|
||||
|
||||
getHierarchy (): Hierarchy {
|
||||
|
||||
Reference in New Issue
Block a user