Avatar for the nuxt user
nuxt
nuxt
BlogDocsChangelog

perf(nuxt): ensure `renderHTMLDocument` return more compact result

#24888Merged
Comparing
Mini-ghost:chore/reduce-document-size
(
6e879da
) with
main
(
1a9fb57
)
CodSpeed Performance Gauge
-42%
Improvements
1
Regressions
3
Untouched
4
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
-42%
86.7 ms
149.9 ms
basic test fixture (types)Regression
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::basic test fixture (types)
CodSpeed Performance Gauge
-36%
67.6 ms
106 ms
minimal test fixtureRegression
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::minimal test fixture
CodSpeed Performance Gauge
-39%
8.3 ms
13.6 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.9 ms

Passed

empty directory
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::empty directory
CodSpeed Performance Gauge
+1%
22.2 ms
22.1 ms
empty directory
packages/nuxt/test/load-nuxt.bench.ts::loadNuxt::empty directory
CodSpeed Performance Gauge
0%
432.9 ms
432.7 ms
basic test fixture
packages/nuxt/test/load-nuxt.bench.ts::loadNuxt::basic test fixture
CodSpeed Performance Gauge
0%
2.1 s
2.1 s
write types
packages/kit/test/write-types.bench.ts::writeTypes::write types
CodSpeed Performance Gauge
-3%
163.1 ms
167.9 ms

Commits

Click on a commit to change the comparison range
Base
main
1a9fb57
-35%
chore: ensure `renderHTMLDocument` return more compact result
4537e0a
1 year ago
by Mini-ghost
+288%
perf(nuxt): avoid empty string arrays
4d94ed9
1 year ago
by Mini-ghost
-295%
chore(nuxt): remove unnecessary `trim()`
6e879da
1 year ago
by Mini-ghost
Home Terms PrivacyDocs