Avatar for the prisma user
prisma
prisma
BlogDocsChangelog

chore(client): Add test for #18598 and simplify serialization code

#18756Merged
Comparing
test/count-shortcut
(
e27456d
) with
main
(
bf64679
)
CodSpeed Performance Gauge
×11
Improvements
1
Regressions
0
Untouched
2
New
0
Dropped
0
Ignored
0

Benchmarks

Improved

typescript compilation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
CodSpeed Performance Gauge
×11
133.7 ms
12.3 ms

Passed

client generation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Models
CodSpeed Performance Gauge
-4%
1.2 s
1.2 s
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
CodSpeed Performance Gauge
-12%
10.4 s
11.8 s

Commits

Click on a commit to change the comparison range
Base
main
bf64679
+987%
chore(client): Add test for #18598 and simplify serialization code We now can use shortcut we added as a fix for #18568 to similify JSON protocol serialization code a bit.
e27456d
2 years ago
by SevInf
© 2025 CodSpeed Technology
Home Terms Privacy Docs