Repository navigation
test: assert Nitro major version rather than hardcoded patch - #1720
Conversation
commit: |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
CLI benchmark
Full report
|
| Setting | Value |
|---|---|
| Baseline | ref:f4a454d3fa1034910e3706e56f06f087e927eadf (v4.1.1) |
| Head | local packages/nuxt-cli at c57433c (v4.1.1) |
| Node | v24.22.3 |
| OS | Linux 7.0.0 (kernel 7.0.0-1020-azure) |
| CPU | AMD EPYC 7763 64-Core Processor x 4 |
| Memory | 15.6 GB |
| Load average at start | 1.59, 0.51, 0.18 |
| Run started | 2026-11-29T22:55:18.592Z |
Cold CLI startup
Median of 15 interleaved runs per command, one warmup discarded.
| Command | baseline v4.1.1 median | head v4.1.1 median | Delta | baseline v4.1.1 min / p95 | head v4.1.1 min / p95 |
|---|---|---|---|---|---|
nuxt --version |
72 ms | 72 ms | -0.8% | 70 ms / 76 ms | 69 ms / 74 ms |
nuxt --version (first output byte) |
67 ms | 67 ms | -0.6% | 65 ms / 71 ms | 64 ms / 69 ms |
nuxt --help |
159 ms | 159 ms | -0.1% | 153 ms / 162 ms | 154 ms / 162 ms |
nuxt --help (first output byte) |
152 ms | 152 ms | -0.1% | 146 ms / 156 ms | 147 ms / 155 ms |
nuxt dev --help |
118 ms | 119 ms | +0.7% | 114 ms / 121 ms | 115 ms / 121 ms |
nuxt dev --help (first output byte) |
112 ms | 112 ms | +0.7% | 108 ms / 114 ms | 109 ms / 115 ms |
nuxt <unknown-command> (no-op) |
170 ms | 169 ms | -0.4% | 164 ms / 174 ms | 165 ms / 172 ms |
nuxt <unknown-command> (no-op) (first output byte) |
162 ms | 162 ms | -0.3% | 157 ms / 166 ms | 157 ms / 165 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.1.1 modules | head v4.1.1 modules | Delta | baseline v4.1.1 source bytes | head v4.1.1 source bytes | Delta | baseline v4.1.1 built-ins | head v4.1.1 built-ins | Delta |
|---|---|---|---|---|---|---|---|---|---|
nuxt --version |
35 | 35 | 0.0% | 312.3 kB | 312.3 kB | 0.0% | 29 | 29 | 0.0% |
nuxt --help |
138 | 138 | 0.0% | 899.0 kB | 899.0 kB | 0.0% | 93 | 93 | 0.0% |
nuxt dev --help |
68 | 68 | 0.0% | 478.8 kB | 478.8 kB | 0.0% | 90 | 90 | 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.1.1 | head v4.1.1 | Delta |
|---|---|---|---|
Direct dependencies of @nuxt/cli |
23 | 23 | 0.0% |
| Packages in the installed tree (unique name@version) | 38 | 38 | 0.0% |
| Unique package names | 38 | 38 | 0.0% |
| Package directories on disk (cross-check) | 32 | 32 | 0.0% |
Installed node_modules on disk |
2.66 MB | 2.66 MB | -0.0% |
| Installed files | 446 | 446 | 0.0% |
| Install wall time (warm npm cache, median of 3) | 1.53 s | 1.53 s | -0.1% |
| Published tarball (packed) | 265.5 kB | 265.5 kB | 0.0% |
| Published tarball (unpacked) | 859.1 kB | 859.1 kB | 0.0% |
| Files in tarball | 108 | 108 | 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.
🔗 Linked issue
📚 Description
what was that previous test even