BlogDocs

perf: improve mapObjectValues by ~50%(#18922)

Merged
Merging
perf/map-object-values
(
2bbcab7
) into
main
(
56672be
)
-32%
IMPROVEMENTS
1
REGRESSIONS
1
UNTOUCHED
1
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Failing

client generation 100 models with relationsRegression
packages/client/src/__tests__/benchmarks/lots-of-relations/lots-of-relations.bench.ts::typescript::client generation 100 models with relations
-32%
8.1 s
11.8 s

Passing

client generation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Models
-10%
1.1 s
1.2 s
typescript compilation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
×13
140.8 ms
10.5 ms

Commits

Click on a commit to change the comparison range
base
main
56672be
-32%
perf: improve mapObjectValues by ~50%
2bbcab7
1 year ago
by Weakky
ResourcesHomePricingDocsBlogGitHub
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.