BlogDocs

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

Merged
Merging
Mini-ghost:chore/reduce-document-size
(
6e879da
) into
main
(
1a9fb57
)
-42%
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
-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)
-36%
67.6 ms
106 ms
minimal test fixtureRegression
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::minimal test fixture
-39%
8.3 ms
13.6 ms

Passing

empty directory
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::empty directory
+1%
22.2 ms
22.1 ms
minimal test fixture (types)
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig::minimal test fixture (types)
×3.5
31.2 ms
8.9 ms
write types
packages/kit/test/write-types.bench.ts::writeTypes::write types
-3%
163.1 ms
167.9 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.9 ms
432.7 ms

Commits

Click on a commit to change the comparison range
base
main
1a9fb57
-35%
chore: ensure `renderHTMLDocument` return more compact result
4537e0a
7 months ago
by Mini-ghost
+288%
perf(nuxt): avoid empty string arrays
4d94ed9
7 months ago
by Mini-ghost
-295%
chore(nuxt): remove unnecessary `trim()`
6e879da
7 months ago
by Mini-ghost
ResourcesHomePricingDocsBlogGitHub
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.