Skip to content

test: accurately benchmark forked mode - #903

Merged
danielroe merged 1 commit into
mainfrom
fix/bench
Jun 6, 2025
Merged

test: accurately benchmark forked mode#903
danielroe merged 1 commit into
mainfrom
fix/bench

Conversation

@danielroe

Copy link
Copy Markdown
Member

📚 Description

we were previously benchmarking fork + no-fork modes, but in fact we have defaulted to disabling fork in test environments so this was inaccurate

@github-actions

Copy link
Copy Markdown
Contributor

Bundle Stats — create-nuxt size comparison

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files countTotal bundle size% Changed
495.94 MB0%

Changeset

No files were changed

View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

No assets were smaller

Unchanged

AssetFile Size% Changed
index.mjs1.07 kB0%
chunks/multipart-parser.mjs5.11 kB0%
chunks/multipart-parser2.mjs4.58 kB0%
chunks/add.mjs6.89 kB0%
chunks/analyze.mjs3.27 kB0%
chunks/build.mjs1.97 kB0%
chunks/cleanup.mjs471 B0%
chunks/dev-child.mjs2.33 kB0%
chunks/dev.mjs9.41 kB0%
chunks/devtools.mjs764 B0%
chunks/generate.mjs472 B0%
chunks/info.mjs4.39 kB0%
chunks/index.mjs274 B0%
chunks/prepare.mjs984 B0%
chunks/preview.mjs3.5 kB0%
chunks/test.mjs1.16 kB0%
chunks/typecheck.mjs1.81 kB0%
chunks/upgrade.mjs6.28 kB0%
chunks/prompt.mjs42.91 kB0%
chunks/satisfies.mjs116 B0%
chunks/kit.mjs1.34 kB0%
chunks/index2.mjs1.17 MB0%
chunks/dev2.mjs252.09 kB0%
chunks/index3.mjs17.14 kB0%
chunks/index4.mjs71.99 kB0%
chunks/add2.mjs12.4 kB0%
chunks/search.mjs45.85 kB0%
chunks/xdg-open.mjs25.32 kB0%
chunks/node.mjs145.67 kB0%
chunks/index5.mjs1.23 kB0%
chunks/index6.mjs6.25 kB0%
chunks/index7.mjs50.54 kB0%
chunks/index8.mjs5.85 kB0%
chunks/index9.mjs898.9 kB0%
shared/create-nuxt.KRfcAabz.mjs961.96 kB0%
shared/create-nuxt.C9PGmh_y.mjs18.91 kB0%
shared/create-nuxt.C__7_gXu.mjs804 B0%
shared/create-nuxt.CHZLvr-7.mjs294 B0%
shared/create-nuxt.DCTmUpvU.mjs3.9 kB0%
shared/create-nuxt.BloYjiZ4.mjs4.07 kB0%
shared/create-nuxt.BSm0_9Hr.mjs107 B0%
shared/create-nuxt.Dn0TYcSC.mjs836 B0%
shared/create-nuxt.GYyp52oB.mjs108.13 kB0%
shared/create-nuxt.4t9faemh.mjs43.64 kB0%
shared/create-nuxt.1BTwlbMH.mjs2.02 MB0%
shared/create-nuxt.BjhZEm2-.mjs1.75 kB0%
shared/create-nuxt.Vk1IrVtB.mjs26.96 kB0%
shared/create-nuxt.Dh7YQg9j.mjs15.27 kB0%
shared/create-nuxt.CHDOs5mq.mjs715 B0%

@github-actions

Copy link
Copy Markdown
Contributor

Bundle Stats — nuxi size comparison

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files countTotal bundle size% Changed
555.51 MB0%

Changeset

No files were changed

View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

No assets were smaller

Unchanged

AssetFile Size% Changed
index.mjs210 B0%
chunks/prompt.mjs42.91 kB0%
chunks/add.mjs6.89 kB0%
chunks/analyze.mjs3.27 kB0%
chunks/build.mjs1.97 kB0%
chunks/cleanup.mjs471 B0%
chunks/dev-child.mjs2.33 kB0%
chunks/dev.mjs9.41 kB0%
chunks/devtools.mjs764 B0%
chunks/generate.mjs472 B0%
chunks/info.mjs4.39 kB0%
chunks/init.mjs664.23 kB0%
chunks/index.mjs274 B0%
chunks/prepare.mjs984 B0%
chunks/preview.mjs3.5 kB0%
chunks/test.mjs1.16 kB0%
chunks/typecheck.mjs1.81 kB0%
chunks/upgrade.mjs6.28 kB0%
chunks/satisfies.mjs116 B0%
chunks/main.mjs15.3 kB0%
chunks/index2.mjs915.2 kB0%
chunks/dev2.mjs252.1 kB0%
chunks/index3.mjs17.14 kB0%
chunks/index4.mjs71.99 kB0%
chunks/multipart-parser.mjs5.11 kB0%
chunks/add2.mjs12.4 kB0%
chunks/search.mjs45.85 kB0%
chunks/xdg-open.mjs25.32 kB0%
chunks/node.mjs145.67 kB0%
chunks/index5.mjs1.23 kB0%
chunks/index6.mjs5.85 kB0%
chunks/multipart-parser2.mjs4.58 kB0%
chunks/index7.mjs898.9 kB0%
shared/nuxi.CkbmDTVf.mjs76.37 kB0%
shared/nuxi.CTyTlDmo.mjs18.91 kB0%
shared/nuxi.Dj-nnhaV.mjs804 B0%
shared/nuxi.CU8S2ItD.mjs294 B0%
shared/nuxi.DCZEnUMf.mjs2.57 kB0%
shared/nuxi.D2_bzAv0.mjs1.54 kB0%
shared/nuxi.DEraSSNZ.mjs4.07 kB0%
shared/nuxi.BSm0_9Hr.mjs107 B0%
shared/nuxi.4mU2hXBN.mjs836 B0%
shared/nuxi.BxIDvNqq.mjs1.34 kB0%
shared/nuxi.CzTDygJD.mjs15.27 kB0%
shared/nuxi.DGlTnfJO.mjs25.34 kB0%
shared/nuxi.C4l48OVX.mjs2.02 MB0%
shared/nuxi.D5KtpA0t.mjs984 B0%
shared/nuxi.BjhZEm2-.mjs1.75 kB0%
shared/nuxi.BfF9qfft.mjs715 B0%
shared/nuxi.DU9QXUOf.mjs26.96 kB0%
shared/nuxi.BzZJv2UC.mjs123.67 kB0%
shared/nuxi.QWnQy_ku.mjs5.75 kB0%
shared/nuxi.CDtHTpB4.mjs55.13 kB0%
shared/nuxi.Do0aYBCO.mjs5.46 kB0%
shared/nuxi.4t9faemh.mjs43.64 kB0%

@github-actions

Copy link
Copy Markdown
Contributor

Bundle Stats — nuxt-cli size comparison

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files countTotal bundle size% Changed
3086.48 kB0%

Changeset

No files were changed

View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

No assets were smaller

Unchanged

AssetFile Size% Changed
index.mjs200 B0%
chunks/add.mjs6.89 kB0%
chunks/analyze.mjs3.27 kB0%
chunks/build.mjs1.97 kB0%
chunks/cleanup.mjs471 B0%
chunks/dev-child.mjs2.33 kB0%
chunks/dev.mjs9.36 kB0%
chunks/devtools.mjs763 B0%
chunks/generate.mjs472 B0%
chunks/info.mjs4.39 kB0%
chunks/init.mjs8.1 kB0%
chunks/index.mjs274 B0%
chunks/prepare.mjs984 B0%
chunks/preview.mjs3.5 kB0%
chunks/test.mjs1.16 kB0%
chunks/typecheck.mjs1.81 kB0%
chunks/upgrade.mjs6.28 kB0%
chunks/dev2.mjs8.65 kB0%
chunks/add2.mjs10.48 kB0%
chunks/search.mjs2.96 kB0%
shared/cli.CyjRwZnH.mjs5.45 kB0%
shared/cli.CVvsnRpF.mjs804 B0%
shared/cli.wjLTNSBo.mjs294 B0%
shared/cli.CFGy0wx0.mjs1.23 kB0%
shared/cli.BSm0_9Hr.mjs107 B0%
shared/cli.BI-F07wL.mjs836 B0%
shared/cli.DlcAx0De.mjs1.04 kB0%
shared/cli.CkLtVfMJ.mjs1.78 kB0%
shared/cli.P0cplz3M.mjs78 B0%
shared/cli.C935N1ss.mjs687 B0%

@pkg-pr-new

pkg-pr-newBot commented Jun 6, 2025

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/create-nuxt@903
npm i https://pkg.pr.new/nuxi@903
npm i https://pkg.pr.new/@nuxt/cli@903

commit: 627ff57

@codspeed-hq

Copy link
Copy Markdown

CodSpeed Performance Report

Merging #903 will improve performances by ×2.2

Comparing fix/bench (627ff57) with main (139b9ce)

Summary

⚡ 1 improvements
✅ 2 untouched benchmarks

Benchmarks breakdown

BenchmarkBASEHEADChange
starts dev server1,251 ms565.2 ms×2.2

@danielroe
danielroe merged commit de8cd3a into mainJun 6, 2025
@danielroe
danielroe deleted the fix/bench branch June 6, 2025 13:45
@github-actionsgithub-actionsBot mentioned this pull request Jun 4, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@danielroe