UBERF-4319: Performance changes (#4474)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2024-01-30 18:07:34 +07:00
committed by GitHub
parent d02e88737d
commit e6a35d2a03
37 changed files with 775 additions and 436 deletions
+6 -1
View File
@@ -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 {