BlogDocs

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

Merged
Merging
Mini-ghost:chore/reduce-document-size
into
main
-40%
IMPROVEMENTS
1
REGRESSIONS
3
UNTOUCHED
4
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Failing

basic test fixtureRegression
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::basic test fixture
-40%
451.9 ms
752.7 ms
basic test fixture (types)Regression
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::basic test fixture (types)
-33%
355 ms
533.5 ms
minimal test fixtureRegression
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::minimal test fixture
-37%
39.2 ms
61.9 ms

Passing

empty directory
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::empty directory
0%
112.7 ms
112.1 ms
minimal test fixture (types)
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::minimal test fixture (types)
×3.2
136.3 ms
42.1 ms
write types
packages/kit/test/write-types.bench.ts::writeTypes::write types
-3%
849.9 ms
873.2 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
base
main
1a9fb57
-32%
chore: ensure `renderHTMLDocument` return more compact result
4537e0a
5 months ago by Mini-ghost
+256%
perf(nuxt): avoid empty string arrays
4d94ed9
5 months ago by Mini-ghost
-263%
chore(nuxt): remove unnecessary `trim()`
6e879da
5 months ago by Mini-ghost
ResourcesHomePricingDocsBlogGitHub
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.