Avatar for the nuxt user
nuxt
nuxt
BlogDocsChangelog

perf(nuxt): avoid multiple transformations of headers

#24853Merged
Comparing
GalacticHypernova:patch-12
(
4728b89
) with
main
(
1a9fb57
)
CodSpeed Performance Gauge
-40%
Improvements
1
Regressions
2
Untouched
5
New
0
Dropped
0
Ignored
0

Benchmarks

Failed

basic test fixtureRegression
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::basic test fixture
CodSpeed Performance Gauge
-25%
86.7 ms
115.2 ms
basic test fixture (types)Regression
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::basic test fixture (types)
CodSpeed Performance Gauge
-40%
67.6 ms
112.4 ms

Improved

minimal test fixture (types)
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::minimal test fixture (types)
CodSpeed Performance Gauge
×3.5
31.2 ms
8.8 ms

Passed

basic test fixture
packages/nuxt/test/load-nuxt.bench.ts::loadNuxt::basic test fixture
CodSpeed Performance Gauge
+1%
2.1 s
2.1 s
minimal test fixture
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::minimal test fixture
CodSpeed Performance Gauge
0%
8.3 ms
8.3 ms
empty directory
packages/nuxt/test/load-nuxt.bench.ts::loadNuxt::empty directory
CodSpeed Performance Gauge
0%
432.9 ms
433.7 ms
write types
packages/kit/test/write-types.bench.ts::writeTypes::write types
CodSpeed Performance Gauge
-3%
163.1 ms
167.7 ms
empty directory
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::empty directory
CodSpeed Performance Gauge
-7%
22.2 ms
23.8 ms

Commits

Click on a commit to change the comparison range
Base
main
1a9fb57
+99%
chire: parentheses
6b71e92
1 year ago
by GalacticHypernova
-25%
chore: no-unused-args
c54b472
1 year ago
by GalacticHypernova
-110%
Merge branch 'main' into patch-12
eba1421
1 year ago
by GalacticHypernova
+286%
chore: test codspeed accuracy
00d12f6
1 year ago
by GalacticHypernova
-290%
fix: return _headers
4728b89
1 year ago
by GalacticHypernova
Home Terms PrivacyDocs