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

Merged
Merging
perf/no-chalk
into
main
+11%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
3
NEW
0
DROPPED
0

Benchmarks

client generation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Models
+11%
6.7 s
6 s
typescript compilation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
-2%
65.1 ms
66.7 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
-2%
45.4 s
46.3 s

Commits

Click on a commit to change the comparison range
chore(deps): update react-prisma (#17804) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
base
3cf6f84
8 months ago by renovate[bot]
-17%
perf(client): Replace `chalk` with `kleur/color` Signgicantly reduces bundle size (from 280K to 255K) and improves `require(runtime)` performance by 5-10ms.
b693d4b
8 months ago by SevInf
+4%
perf(client): Replace `chalk` with `kleur/color` Signgicantly reduces bundle size (from 280K to 255K) and improves `require(runtime)` performance by 5-10ms.
0de665d
8 months ago by SevInf
+28%
Replace chalk in CLI
a151e12
8 months ago by SevInf
-26%
Remove chalk from migrate
379ba60
8 months ago by SevInf
+31%
Remove chalk from top-level scripts
466b0c7
8 months ago by SevInf
+5%
Update packages/client/src/runtime/utils/createErrorMessageWithContext.ts Co-authored-by: Alexey Orlenko <alex@aqrln.net>
7c2f854
8 months ago by SevInf
-15%
Make all binary engine labels bold
1117dd2
7 months ago by SevInf
ResourcesHomePricingDocsBlogGitHub
Copyright © 2023 CodSpeed Technology SAS. All rights reserved.