fix(client): remove "os" import in ExitHooks, replacing it with a static map(#19186)

Merged
Merging
fix/remove-os-import
into
main
-3%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
3
NEW
0
DROPPED
0

Benchmarks

client generation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Models
0%
9.4 s
9.4 s
typescript compilation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
-6%
98.7 ms
105.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
-2%
54.5 s
55.5 s

Commits

Click on a commit to change the comparison range
fix(client): Remove delay in during engine spans creation (#19149) This delay actually causes some engine spans to get lost when used with real data proxy (could not reproduce with mini-proxy). This PR achieves stable ordering within the testby sorting spans alphabetically by their name instead.
base
18313b3
7 months ago by SevInf
-3%
fix(client): remove "os" import in ExitHooks, replacing it with a static map
e756e77
7 months ago by jkomyno
ResourcesHomePricingDocsBlogGitHub
Copyright © 2023 CodSpeed Technology SAS. All rights reserved.