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

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

Benchmarks

basic test fixture
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::basic test fixture
+2%
442.9 ms
433.6 ms
basic test fixture (types)
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::basic test fixture (types)
+74%
607.3 ms
349 ms
empty directory
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::empty directory
-5%
112.7 ms
118.4 ms
minimal test fixture
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::minimal test fixture
×2.4
136 ms
57.5 ms
minimal test fixture (types)
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::minimal test fixture (types)
+34%
57 ms
42.5 ms
write types
packages/kit/test/write-types.bench.ts::writeTypes::write types
0%
870.2 ms
870.9 ms
basic test fixture
packages/nuxt/test/load-nuxt.bench.ts::loadNuxt::basic test fixture
0%
11 s
11 s
empty directory
packages/nuxt/test/load-nuxt.bench.ts::loadNuxt::empty directory
0%
2.3 s
2.3 s

Commits

Click on a commit to change the comparison range
test: add basic benchmark tests (#24846)
base
ba0d274
2 months ago by danielroe
+136%
perf(vite): avoid duplicate `JSON.stringify` operation
e2a2919
2 months ago by GalacticHypernova
ResourcesHomePricingDocsBlogGitHub
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.