BlogDocs

chore(client): prevent require in edge runtime(#19197)

Merged
Merging
chore/client/prevent-require-edge
(
e7a8c29
) into
main
(
a68e72b
)
-1%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
4
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
-1%
1.8 s
1.8 s
typescript compilation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
-1%
19.9 ms
20.1 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%
10.7 s
10.8 s
getPlatform
packages/get-platform/bench/get-platform.bench.ts::get-platform::getPlatform
0%
13.7 ms
13.8 ms

Commits

Click on a commit to change the comparison range
base
main
a68e72b
-1%
chore(client): prevent require in edge runtime
e7a8c29
1 year ago
by millsp
ResourcesHomePricingDocsBlogGitHub
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.