Avatar for the prisma user
prisma
prisma
BlogDocsChangelog

perf(client): Replace `chalk` with `kleur/color`

#18900Merged
Comparing
perf/no-chalk
(
1117dd2
) with
main
(
3cf6f84
)
CodSpeed Performance Gauge
+3%
Improvements
0
Regressions
0
Untouched
3
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

client generation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Models
CodSpeed Performance Gauge
+11%
1.3 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
0%
9 s
9 s
typescript compilation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
CodSpeed Performance Gauge
-3%
13.7 ms
14.1 ms

Commits

Click on a commit to change the comparison range
Base
main
3cf6f84
+26%
perf(client): Replace `chalk` with `kleur/color` Signgicantly reduces bundle size (from 280K to 255K) and improves `require(runtime)` performance by 5-10ms.
b693d4b
2 years ago
by SevInf
-28%
perf(client): Replace `chalk` with `kleur/color` Signgicantly reduces bundle size (from 280K to 255K) and improves `require(runtime)` performance by 5-10ms.
0de665d
2 years ago
by SevInf
+9%
Replace chalk in CLI
a151e12
2 years ago
by SevInf
-8%
Remove chalk from migrate
379ba60
2 years ago
by SevInf
+12%
Remove chalk from top-level scripts
466b0c7
2 years ago
by SevInf
+13%
Update packages/client/src/runtime/utils/createErrorMessageWithContext.ts Co-authored-by: Alexey Orlenko <alex@aqrln.net>
7c2f854
2 years ago
by SevInf
-23%
Make all binary engine labels bold
1117dd2
2 years ago
by SevInf
© 2025 CodSpeed Technology
Home Terms Privacy Docs