Repository navigation
v4.0.1 - #1598
v4.0.1#1598
Conversation
commit: |
CLI benchmark
Full report
|
| Setting | Value |
|---|---|
| Baseline | ref:f2e6cdecd0b6139a3b11c1d81ca234eac8742757 (v4.0.0) |
| Head | local packages/nuxt-cli at 67dbbc4 (v4.0.1) |
| Node | v24.21.0 |
| OS | Linux 6.17.0 (kernel 6.17.0-1022-azure) |
| CPU | AMD EPYC 7763 64-Core Processor x 4 |
| Memory | 15.6 GB |
| Load average at start | 1.02, 0.30, 0.10 |
| Run started | 2026-10-09T13:50:21.634Z |
Cold CLI startup
Median of 15 interleaved runs per command, one warmup discarded.
| Command | baseline v4.0.0 median | head v4.0.1 median | Delta | baseline v4.0.0 min / p95 | head v4.0.1 min / p95 |
|---|---|---|---|---|---|
nuxt --version |
66 ms | 67 ms | +1.3% | 65 ms / 70 ms | 63 ms / 77 ms |
nuxt --version (first output byte) |
62 ms | 62 ms | +1.1% | 60 ms / 65 ms | 59 ms / 71 ms |
nuxt --help |
145 ms | 143 ms | -1.2% | 139 ms / 150 ms | 135 ms / 153 ms |
nuxt --help (first output byte) |
139 ms | 136 ms | -1.9% | 134 ms / 145 ms | 130 ms / 148 ms |
nuxt dev --help |
107 ms | 106 ms | -0.7% | 103 ms / 112 ms | 101 ms / 113 ms |
nuxt dev --help (first output byte) |
102 ms | 101 ms | -0.5% | 98 ms / 107 ms | 96 ms / 107 ms |
nuxt <unknown-command> (no-op) |
151 ms | 154 ms | +2.0% | 148 ms / 163 ms | 149 ms / 160 ms |
nuxt <unknown-command> (no-op) (first output byte) |
145 ms | 148 ms | +2.1% | 142 ms / 157 ms | 142 ms / 154 ms |
Module load cost
Counted with a module.registerHooks load hook, compile cache disabled. Counts every JS module actually evaluated on that code path (native addons excluded). Built-ins loaded after bootstrap are counted separately, including the internal modules they load.
| Command | baseline v4.0.0 modules | head v4.0.1 modules | Delta | baseline v4.0.0 source bytes | head v4.0.1 source bytes | Delta | baseline v4.0.0 built-ins | head v4.0.1 built-ins | Delta |
|---|---|---|---|---|---|---|---|---|---|
nuxt --version |
35 | 35 | 0.0% | 298.0 kB | 298.0 kB | 0.0% | 27 | 27 | 0.0% |
nuxt --help |
135 | 135 | 0.0% | 847.3 kB | 847.3 kB | 0.0% | 87 | 87 | 0.0% |
nuxt dev --help |
64 | 64 | 0.0% | 455.5 kB | 455.5 kB | 0.0% | 87 | 87 | 0.0% |
Install footprint and published tarball
Each version installed on its own into an empty project with nothing but @nuxt/cli as a dependency, so the tree is exactly the CLI and its transitive dependencies. npm cache is warm and the registry is only consulted for metadata, so install wall time is indicative, not a network benchmark.
| Metric | baseline v4.0.0 | head v4.0.1 | Delta |
|---|---|---|---|
Direct dependencies of @nuxt/cli |
23 | 23 | 0.0% |
| Packages in the installed tree (unique name@version) | 39 | 39 | 0.0% |
| Unique package names | 39 | 39 | 0.0% |
| Package directories on disk (cross-check) | 32 | 32 | 0.0% |
Installed node_modules on disk |
2.46 MB | 2.46 MB | -0.0% |
| Installed files | 436 | 436 | 0.0% |
| Install wall time (warm npm cache, median of 3) | 1.31 s | 1.30 s | -0.4% |
| Published tarball (packed) | 241.5 kB | 241.4 kB | -0.0% |
| Published tarball (unpacked) | 783.7 kB | 783.7 kB | 0.0% |
| Files in tarball | 101 | 101 | 0.0% |
Interleaved runs on a shared runner: trust the deltas, not the absolute timings. The dev, restart and build suites run locally via pnpm bench:cli.
👉 Changelog
compare changes
🩹 Fixes
BROWSERwithout a display server ([4.0] Single-key shortcut "o" fails to open browser locally when used in VSCode Remote Connection scenario #1609)BroadcastChannelthrows (fix(dev): disable dev channels whenBroadcastChannelthrows #1600)💅 Refactors
c1e0e9ee)✅ Tests
upm(test: update snapshots forupm#1597)eec52f07)🎉 New Contributors
❤️ Contributors