BlogDocs

fix(internals): support all yarn versions in isYarnUsed(#18982)

Merged
Merging
fix/yarn-berry-detection
into
main
-6%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
3
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
-2%
1.2 s
1.2 s
typescript compilation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
-7%
10.7 ms
11.5 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
-10%
8.2 s
9.1 s

Commits

Click on a commit to change the comparison range
base
main
61caee9
-6%
fix(internals): support all yarn versions in isYarnUsed Follow-up to <https://github.com/prisma/prisma/pull/18976>. `ni` returns either `yarn` or `yarn@berry` depending on the yarn version.
e7e334f
a year ago by aqrln
ResourcesHomePricingDocsBlogGitHub
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.