test(get-platform): add a benchmark for getPlatform(#19152)

Merged
Merging
bench/get-platform
into
main
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
3
NEW
1
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
0%
98.7 ms
98.9 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
-1%
54.5 s
55.1 s
getPlatform
packages/get-platform/bench/get-platform.bench.ts::get-platform::getPlatform
N/A
N/A
71 ms

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
-2%
test(get-platform): add a benchmark for getPlatform
84be55b
7 months ago by aqrln
-1%
test(get-platform): add a benchmark for getPlatform
3597be1
7 months ago by aqrln
+2%
Merge remote-tracking branch 'origin/main' into bench/get-platform
a76b704
7 months ago by aqrln
-49%
Measure non-memoized version
bf23be5
7 months ago by aqrln
+49%
trigger rebuild
d4f6bf9
7 months ago by aqrln
ResourcesHomePricingDocsBlogGitHub
Copyright © 2023 CodSpeed Technology SAS. All rights reserved.