Skip to content

test: add dev benchmark#901

Merged
danielroe merged 9 commits intomainfrom
test/dev-bench
Jun 4, 2025
Merged

test: add dev benchmark#901
danielroe merged 9 commits intomainfrom
test/dev-bench

Conversation

@danielroe
Copy link
Member

@danielroe danielroe commented Jun 4, 2025

📚 Description

this adds a couple of basic dev benchmarks for measuring startup time of the dev server, using https://codspeed.io/

@github-actions
Copy link
Contributor

github-actions bot commented Jun 4, 2025

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 count Total bundle size % Changed
55 5.51 MB 0%

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

Asset File Size % Changed
index.mjs 210 B 0%
chunks/prompt.mjs 42.91 kB 0%
chunks/add.mjs 6.89 kB 0%
chunks/analyze.mjs 3.27 kB 0%
chunks/build.mjs 1.97 kB 0%
chunks/cleanup.mjs 471 B 0%
chunks/dev-child.mjs 2.33 kB 0%
chunks/dev.mjs 9.41 kB 0%
chunks/devtools.mjs 764 B 0%
chunks/generate.mjs 472 B 0%
chunks/info.mjs 4.39 kB 0%
chunks/init.mjs 664.23 kB 0%
chunks/index.mjs 274 B 0%
chunks/prepare.mjs 984 B 0%
chunks/preview.mjs 3.5 kB 0%
chunks/test.mjs 1.16 kB 0%
chunks/typecheck.mjs 1.81 kB 0%
chunks/upgrade.mjs 6.28 kB 0%
chunks/satisfies.mjs 116 B 0%
chunks/main.mjs 15.3 kB 0%
chunks/index2.mjs 915.2 kB 0%
chunks/dev2.mjs 252.1 kB 0%
chunks/index3.mjs 17.14 kB 0%
chunks/index4.mjs 71.99 kB 0%
chunks/multipart-parser.mjs 5.11 kB 0%
chunks/add2.mjs 12.4 kB 0%
chunks/search.mjs 45.85 kB 0%
chunks/xdg-open.mjs 25.32 kB 0%
chunks/node.mjs 145.67 kB 0%
chunks/index5.mjs 1.23 kB 0%
chunks/index6.mjs 5.85 kB 0%
chunks/multipart-parser2.mjs 4.58 kB 0%
chunks/index7.mjs 898.9 kB 0%
shared/nuxi.CkbmDTVf.mjs 76.37 kB 0%
shared/nuxi.CTyTlDmo.mjs 18.91 kB 0%
shared/nuxi.Dj-nnhaV.mjs 804 B 0%
shared/nuxi.CU8S2ItD.mjs 294 B 0%
shared/nuxi.DCZEnUMf.mjs 2.57 kB 0%
shared/nuxi.D2_bzAv0.mjs 1.54 kB 0%
shared/nuxi.DEraSSNZ.mjs 4.07 kB 0%
shared/nuxi.BSm0_9Hr.mjs 107 B 0%
shared/nuxi.4mU2hXBN.mjs 836 B 0%
shared/nuxi.BxIDvNqq.mjs 1.34 kB 0%
shared/nuxi.CzTDygJD.mjs 15.27 kB 0%
shared/nuxi.DGlTnfJO.mjs 25.34 kB 0%
shared/nuxi.C4l48OVX.mjs 2.02 MB 0%
shared/nuxi.D5KtpA0t.mjs 984 B 0%
shared/nuxi.BjhZEm2-.mjs 1.75 kB 0%
shared/nuxi.BfF9qfft.mjs 715 B 0%
shared/nuxi.DU9QXUOf.mjs 26.96 kB 0%
shared/nuxi.BzZJv2UC.mjs 123.67 kB 0%
shared/nuxi.QWnQy_ku.mjs 5.75 kB 0%
shared/nuxi.CDtHTpB4.mjs 55.13 kB 0%
shared/nuxi.Do0aYBCO.mjs 5.46 kB 0%
shared/nuxi.4t9faemh.mjs 43.64 kB 0%

@github-actions
Copy link
Contributor

github-actions bot commented Jun 4, 2025

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 count Total bundle size % Changed
30 86.48 kB 0%

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

Asset File Size % Changed
index.mjs 200 B 0%
chunks/add.mjs 6.89 kB 0%
chunks/analyze.mjs 3.27 kB 0%
chunks/build.mjs 1.97 kB 0%
chunks/cleanup.mjs 471 B 0%
chunks/dev-child.mjs 2.33 kB 0%
chunks/dev.mjs 9.36 kB 0%
chunks/devtools.mjs 763 B 0%
chunks/generate.mjs 472 B 0%
chunks/info.mjs 4.39 kB 0%
chunks/init.mjs 8.1 kB 0%
chunks/index.mjs 274 B 0%
chunks/prepare.mjs 984 B 0%
chunks/preview.mjs 3.5 kB 0%
chunks/test.mjs 1.16 kB 0%
chunks/typecheck.mjs 1.81 kB 0%
chunks/upgrade.mjs 6.28 kB 0%
chunks/dev2.mjs 8.65 kB 0%
chunks/add2.mjs 10.48 kB 0%
chunks/search.mjs 2.96 kB 0%
shared/cli.CyjRwZnH.mjs 5.45 kB 0%
shared/cli.CVvsnRpF.mjs 804 B 0%
shared/cli.wjLTNSBo.mjs 294 B 0%
shared/cli.CFGy0wx0.mjs 1.23 kB 0%
shared/cli.BSm0_9Hr.mjs 107 B 0%
shared/cli.BI-F07wL.mjs 836 B 0%
shared/cli.DlcAx0De.mjs 1.04 kB 0%
shared/cli.CkLtVfMJ.mjs 1.78 kB 0%
shared/cli.P0cplz3M.mjs 78 B 0%
shared/cli.C935N1ss.mjs 687 B 0%

@github-actions
Copy link
Contributor

github-actions bot commented Jun 4, 2025

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 count Total bundle size % Changed
49 5.94 MB 0%

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

Asset File Size % Changed
index.mjs 1.07 kB 0%
chunks/multipart-parser.mjs 5.11 kB 0%
chunks/multipart-parser2.mjs 4.58 kB 0%
chunks/add.mjs 6.89 kB 0%
chunks/analyze.mjs 3.27 kB 0%
chunks/build.mjs 1.97 kB 0%
chunks/cleanup.mjs 471 B 0%
chunks/dev-child.mjs 2.33 kB 0%
chunks/dev.mjs 9.41 kB 0%
chunks/devtools.mjs 764 B 0%
chunks/generate.mjs 472 B 0%
chunks/info.mjs 4.39 kB 0%
chunks/index.mjs 274 B 0%
chunks/prepare.mjs 984 B 0%
chunks/preview.mjs 3.5 kB 0%
chunks/test.mjs 1.16 kB 0%
chunks/typecheck.mjs 1.81 kB 0%
chunks/upgrade.mjs 6.28 kB 0%
chunks/prompt.mjs 42.91 kB 0%
chunks/satisfies.mjs 116 B 0%
chunks/kit.mjs 1.34 kB 0%
chunks/index2.mjs 1.17 MB 0%
chunks/dev2.mjs 252.09 kB 0%
chunks/index3.mjs 17.14 kB 0%
chunks/index4.mjs 71.99 kB 0%
chunks/add2.mjs 12.4 kB 0%
chunks/search.mjs 45.85 kB 0%
chunks/xdg-open.mjs 25.32 kB 0%
chunks/node.mjs 145.67 kB 0%
chunks/index5.mjs 1.23 kB 0%
chunks/index6.mjs 6.25 kB 0%
chunks/index7.mjs 50.54 kB 0%
chunks/index8.mjs 5.85 kB 0%
chunks/index9.mjs 898.9 kB 0%
shared/create-nuxt.KRfcAabz.mjs 961.96 kB 0%
shared/create-nuxt.C9PGmh_y.mjs 18.91 kB 0%
shared/create-nuxt.C__7_gXu.mjs 804 B 0%
shared/create-nuxt.CHZLvr-7.mjs 294 B 0%
shared/create-nuxt.DCTmUpvU.mjs 3.9 kB 0%
shared/create-nuxt.BloYjiZ4.mjs 4.07 kB 0%
shared/create-nuxt.BSm0_9Hr.mjs 107 B 0%
shared/create-nuxt.Dn0TYcSC.mjs 836 B 0%
shared/create-nuxt.GYyp52oB.mjs 108.13 kB 0%
shared/create-nuxt.4t9faemh.mjs 43.64 kB 0%
shared/create-nuxt.1BTwlbMH.mjs 2.02 MB 0%
shared/create-nuxt.BjhZEm2-.mjs 1.75 kB 0%
shared/create-nuxt.Vk1IrVtB.mjs 26.96 kB 0%
shared/create-nuxt.Dh7YQg9j.mjs 15.27 kB 0%
shared/create-nuxt.CHDOs5mq.mjs 715 B 0%

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jun 4, 2025

Open in StackBlitz

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

commit: 1c9a710

@danielroe danielroe marked this pull request as ready for review June 4, 2025 14:47
@codspeed-hq
Copy link

codspeed-hq bot commented Jun 4, 2025

CodSpeed Performance Report

Congrats! CodSpeed is installed 🎉

🆕 3 new benchmarks were detected.

You will start to see performance impacts in the reports once the benchmarks are run from your default branch.

Detected benchmarks

  • makes requests to dev server (97.6 ms)
  • starts dev server (1.3 s)
  • starts dev server in no-fork mode (1.3 s)

@danielroe danielroe merged commit 139b9ce into main Jun 4, 2025
13 checks passed
@danielroe danielroe deleted the test/dev-bench branch June 4, 2025 14:56
@github-actions github-actions bot mentioned this pull request Jun 4, 2025
Sign up for free to 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