BlogDocs

feat(client): Adjust some of the tracing spans and add more internal spans(#19139)

Merging
feat/inventory-spans
into
main
-2%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
4
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

client generation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Models
-1%
1.8 s
1.8 s
typescript compilation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
-6%
20.1 ms
21.4 ms
client generation 100 models with relations
packages/client/src/__tests__/benchmarks/lots-of-relations/lots-of-relations.bench.ts::typescript::client generation 100 models with relations
0%
10.6 s
10.6 s
getPlatform
packages/get-platform/bench/get-platform.bench.ts::get-platform::getPlatform
-1%
13.9 ms
14.1 ms

Commits

Click on a commit to change the comparison range
base
main
00fc89a
+23%
feat(client): Adjust some of the tracing spans and add more internal spans Adjust `connect` span to include the time spent waiting for the library loading. Adds following internal spans: - `instantiateLibrary` - overarching span over resolving openssl version, looking up and loading library and isntantiatiating engine isntance. - `getPlatform` - OS/openssl version detection - `engineConstructor` - creation of engine instaance after library have been loaded. - `dmmf` - overarching span for all dmmf loading routines - `getDmmf` - `getDmmf` call, as measured from the client - `parseDmmf` - parsing dmmf string - `processDmmf` - constructing `DMMFHelper` class - `processResults` - unpacking/deserializing engine response after we got it from the engine.
3bc520c
a year ago by SevInf
-25%
feat(client): Adjust some of the tracing spans and add more internal spans Adjust `connect` span to include the time spent waiting for the library loading. Adds following internal spans: - `instantiateLibrary` - overarching span over resolving openssl version, looking up and loading library and isntantiatiating engine isntance. - `getPlatform` - OS/openssl version detection - `engineConstructor` - creation of engine instaance after library have been loaded. - `dmmf` - overarching span for all dmmf loading routines - `getDmmf` - `getDmmf` call, as measured from the client - `parseDmmf` - parsing dmmf string - `processDmmf` - constructing `DMMFHelper` class - `processResults` - unpacking/deserializing engine response after we got it from the engine.
2b366f4
a year ago by SevInf
ResourcesHomePricingDocsBlogGitHub
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.