Avatar for the prisma user
prisma
prisma
BlogDocsChangelog

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

#19139Closed
Comparing
feat/inventory-spans
(
2b366f4
) with
main
(
00fc89a
)
CodSpeed Performance Gauge
-2%
Improvements
0
Regressions
0
Untouched
4
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

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
CodSpeed Performance Gauge
0%
10.6 s
10.6 s
client generation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Models
CodSpeed Performance Gauge
-1%
1.8 s
1.8 s
getPlatform
packages/get-platform/bench/get-platform.bench.ts::get-platform::getPlatform
CodSpeed Performance Gauge
-1%
13.9 ms
14.1 ms
typescript compilation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
CodSpeed Performance Gauge
-6%
20.1 ms
21.4 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
2 years 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
2 years ago
by SevInf
© 2025 CodSpeed Technology
Home Terms PrivacyDocs