BlogDocs

perf(vite): avoid duplicate `JSON.stringify` operation(#24848)

Merged
Merging
GalacticHypernova:patch-11
into
main
×2.3
IMPROVEMENTS
3
REGRESSIONS
0
UNTOUCHED
5
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

basic test fixture
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::basic test fixture
+3%
85.1 ms
82.7 ms
basic test fixture (types)
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::basic test fixture (types)
+78%
118.2 ms
66.4 ms
empty directory
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::empty directory
-6%
22.2 ms
23.8 ms
minimal test fixture
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::minimal test fixture
×2.3
29.6 ms
12.7 ms
minimal test fixture (types)
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::minimal test fixture (types)
+40%
12.5 ms
8.9 ms
write types
packages/kit/test/write-types.bench.ts::writeTypes::write types
0%
167.2 ms
167.4 ms
basic test fixture
packages/nuxt/test/load-nuxt.bench.ts::loadNuxt::basic test fixture
0%
2.1 s
2.1 s
empty directory
packages/nuxt/test/load-nuxt.bench.ts::loadNuxt::empty directory
0%
432.7 ms
433.3 ms

Commits

Click on a commit to change the comparison range
base
main
ba0d274
+133%
perf(vite): avoid duplicate `JSON.stringify` operation
e2a2919
7 months ago by GalacticHypernova
ResourcesHomePricingDocsBlogGitHub
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.