diff --git a/initial-comparison-list.md b/initial-comparison-list.md index 873aae48..5fc345f2 100644 --- a/initial-comparison-list.md +++ b/initial-comparison-list.md @@ -35,7 +35,6 @@ Metrics affecting developer productivity, build times, and CI/CD pipeline perfor - Production dependencies (direct + transitive) - Dev dependencies (direct + transitive) - Duplicate packages in tree (same package, different versions) -- `node_modules` size (production only) - `node_modules` size (with dev dependencies) - Install time (clean `npm install` / `pnpm install` / `yarn install`) - Minimum Node version (lowest `engines.node` in entire dependency tree) diff --git a/packages/docs/src/components/DependencyStatsTable.astro b/packages/docs/src/components/DependencyStatsTable.astro index 75d0d36e..ad44df87 100644 --- a/packages/docs/src/components/DependencyStatsTable.astro +++ b/packages/docs/src/components/DependencyStatsTable.astro @@ -15,7 +15,6 @@ const depsColumns = [ { key: 'allDependencies', header: 'All Deps' }, { key: 'duplicateDependencies', header: 'Dup. Deps' }, { key: 'nodeModulesSize', header: 'node_modules' }, - { key: 'nodeModulesSizeProdOnly', header: 'node_modules (prod)' }, { key: 'depInstallSize', header: 'Dep Install Size' }, { key: 'graph', diff --git a/packages/docs/src/components/FrameworkNodeModulesSizeVersionCharts.astro b/packages/docs/src/components/FrameworkNodeModulesSizeVersionCharts.astro index d3009c96..59b5eee8 100644 --- a/packages/docs/src/components/FrameworkNodeModulesSizeVersionCharts.astro +++ b/packages/docs/src/components/FrameworkNodeModulesSizeVersionCharts.astro @@ -16,14 +16,6 @@ const { versions } = Astro.props valueFormat="mb" yAxisLabel="MB" /> - - diff --git a/packages/docs/src/components/NodeModulesSizeProdChart.astro b/packages/docs/src/components/NodeModulesSizeProdChart.astro deleted file mode 100644 index 27a8ff5c..00000000 --- a/packages/docs/src/components/NodeModulesSizeProdChart.astro +++ /dev/null @@ -1,24 +0,0 @@ ---- -import { starterStats } from '../lib/collections' -import { BYTES_PER_MB } from '../lib/utils' -import ComparisonBarChart from './ComparisonBarChart.astro' - -const validEntries = starterStats.filter( - (f) => f?.name != null && Number.isFinite(f.nodeModulesSizeProdOnly), -) - -const data = validEntries - .map((f) => ({ - name: f.name, - value: f.nodeModulesSizeProdOnly / BYTES_PER_MB, - focused: f.isFocused, - })) - .sort((a, b) => a.value - b.value || a.name.localeCompare(b.name)) ---- - - diff --git a/packages/docs/src/content.config.ts b/packages/docs/src/content.config.ts index c28881e8..708c97f0 100644 --- a/packages/docs/src/content.config.ts +++ b/packages/docs/src/content.config.ts @@ -31,7 +31,6 @@ const devtimeSchema = z.object({ warmBuildTime: timeSchema, buildOutputSize: z.number(), nodeModulesSize: z.number(), - nodeModulesSizeProdOnly: z.number(), duplicateDependencies: z.number().optional(), depInstallSize: z.number().optional(), e18eMessages: z diff --git a/packages/docs/src/content/devtime/starter-astro.json b/packages/docs/src/content/devtime/starter-astro.json index 10dbbe2a..57a1720b 100644 --- a/packages/docs/src/content/devtime/starter-astro.json +++ b/packages/docs/src/content/devtime/starter-astro.json @@ -13,7 +13,6 @@ "warmBuildTimeMs": 2117, "buildOutputSize": 32768, "nodeModulesSize": 217944064, - "nodeModulesSizeProdOnly": 151695360, "frameworkVersion": "7.0.9", "avgInstallTimeMs": 2482.2, "minInstallTimeMs": 2051, diff --git a/packages/docs/src/content/devtime/starter-mastro.json b/packages/docs/src/content/devtime/starter-mastro.json index fedf8a35..eb1659f1 100644 --- a/packages/docs/src/content/devtime/starter-mastro.json +++ b/packages/docs/src/content/devtime/starter-mastro.json @@ -15,7 +15,6 @@ "maxMs": 599 }, "nodeModulesSize": 30572544, - "nodeModulesSizeProdOnly": 3522560, "coldBuildTime": { "avgMs": 378.6, "minMs": 372, diff --git a/packages/docs/src/content/devtime/starter-next-js.json b/packages/docs/src/content/devtime/starter-next-js.json index e2b971a5..cb4b0949 100644 --- a/packages/docs/src/content/devtime/starter-next-js.json +++ b/packages/docs/src/content/devtime/starter-next-js.json @@ -13,7 +13,6 @@ "timingMeasuredAt": "2026-08-07T22:39:00.213Z", "runner": "Depot depot-ubuntu-24.04 GitHub Actions runner (2 CPUs, 8 GB RAM, 100 GB disk, 2 GB disk accelerator)", "nodeModulesSize": 587247616, - "nodeModulesSizeProdOnly": 457183232, "frameworkVersion": "16.1.1", "avgInstallTimeMs": 4198, "minInstallTimeMs": 3414, diff --git a/packages/docs/src/content/devtime/starter-nuxt.json b/packages/docs/src/content/devtime/starter-nuxt.json index fcd8da2b..cae6eaf4 100644 --- a/packages/docs/src/content/devtime/starter-nuxt.json +++ b/packages/docs/src/content/devtime/starter-nuxt.json @@ -13,7 +13,6 @@ "timingMeasuredAt": "2026-08-07T22:39:00.213Z", "runner": "Depot depot-ubuntu-24.04 GitHub Actions runner (2 CPUs, 8 GB RAM, 100 GB disk, 2 GB disk accelerator)", "nodeModulesSize": 218951680, - "nodeModulesSizeProdOnly": 218931200, "frameworkVersion": "4.2.2", "avgInstallTimeMs": 5070, "minInstallTimeMs": 4335, diff --git a/packages/docs/src/content/devtime/starter-react-router.json b/packages/docs/src/content/devtime/starter-react-router.json index 491b2827..decc6786 100644 --- a/packages/docs/src/content/devtime/starter-react-router.json +++ b/packages/docs/src/content/devtime/starter-react-router.json @@ -13,7 +13,6 @@ "timingMeasuredAt": "2026-08-07T22:39:00.213Z", "runner": "Depot depot-ubuntu-24.04 GitHub Actions runner (2 CPUs, 8 GB RAM, 100 GB disk, 2 GB disk accelerator)", "nodeModulesSize": 112054272, - "nodeModulesSizeProdOnly": 18108416, "frameworkVersion": "7.10.1", "avgInstallTimeMs": 1983.2, "minInstallTimeMs": 1587, diff --git a/packages/docs/src/content/devtime/starter-solid-start.json b/packages/docs/src/content/devtime/starter-solid-start.json index 48cda084..2cd28028 100644 --- a/packages/docs/src/content/devtime/starter-solid-start.json +++ b/packages/docs/src/content/devtime/starter-solid-start.json @@ -10,7 +10,6 @@ "runner": "Depot depot-ubuntu-24.04 GitHub Actions runner (2 CPUs, 8 GB RAM, 100 GB disk, 2 GB disk accelerator)", "installTimeMs": 3935, "nodeModulesSize": 163893248, - "nodeModulesSizeProdOnly": 163827712, "coldBuildTimeMs": 9919, "warmBuildTimeMs": 9551, "buildOutputSize": 884736, diff --git a/packages/docs/src/content/devtime/starter-sveltekit.json b/packages/docs/src/content/devtime/starter-sveltekit.json index 3a5a5c0e..b9f91286 100644 --- a/packages/docs/src/content/devtime/starter-sveltekit.json +++ b/packages/docs/src/content/devtime/starter-sveltekit.json @@ -13,7 +13,6 @@ "timingMeasuredAt": "2026-08-07T22:39:00.213Z", "runner": "Depot depot-ubuntu-24.04 GitHub Actions runner (2 CPUs, 8 GB RAM, 100 GB disk, 2 GB disk accelerator)", "nodeModulesSize": 62967808, - "nodeModulesSizeProdOnly": 20480, "frameworkVersion": "2.52.2", "avgInstallTimeMs": 2195, "minInstallTimeMs": 1945, diff --git a/packages/docs/src/content/devtime/starter-tanstack-start-react.json b/packages/docs/src/content/devtime/starter-tanstack-start-react.json index 20438bc9..0803ebcc 100644 --- a/packages/docs/src/content/devtime/starter-tanstack-start-react.json +++ b/packages/docs/src/content/devtime/starter-tanstack-start-react.json @@ -13,7 +13,6 @@ "timingMeasuredAt": "2026-08-07T22:39:00.213Z", "runner": "Depot depot-ubuntu-24.04 GitHub Actions runner (2 CPUs, 8 GB RAM, 100 GB disk, 2 GB disk accelerator)", "nodeModulesSize": 246169600, - "nodeModulesSizeProdOnly": 211677184, "frameworkVersion": "1.145.3", "avgInstallTimeMs": 3204.4, "minInstallTimeMs": 2522, diff --git a/packages/docs/src/content/devtime/versions/starter-astro/5.16.15.json b/packages/docs/src/content/devtime/versions/starter-astro/5.16.15.json index f8c8c559..e4a5af84 100644 --- a/packages/docs/src/content/devtime/versions/starter-astro/5.16.15.json +++ b/packages/docs/src/content/devtime/versions/starter-astro/5.16.15.json @@ -11,7 +11,6 @@ "minInstallTimeMs": 2051, "maxInstallTimeMs": 3738, "nodeModulesSize": 202612736, - "nodeModulesSizeProdOnly": 163561472, "coldBuildTimeMs": 2595, "warmBuildTimeMs": 2117, "buildOutputSize": 32768, diff --git a/packages/docs/src/content/devtime/versions/starter-astro/5.17.3.json b/packages/docs/src/content/devtime/versions/starter-astro/5.17.3.json index dbabccd7..acd00704 100644 --- a/packages/docs/src/content/devtime/versions/starter-astro/5.17.3.json +++ b/packages/docs/src/content/devtime/versions/starter-astro/5.17.3.json @@ -11,7 +11,6 @@ "minInstallTimeMs": 2051, "maxInstallTimeMs": 3738, "nodeModulesSize": 194510848, - "nodeModulesSizeProdOnly": 155402240, "coldBuildTimeMs": 2595, "warmBuildTimeMs": 2117, "buildOutputSize": 32768, diff --git a/packages/docs/src/content/devtime/versions/starter-astro/5.18.0.json b/packages/docs/src/content/devtime/versions/starter-astro/5.18.0.json index 1e10890b..02861470 100644 --- a/packages/docs/src/content/devtime/versions/starter-astro/5.18.0.json +++ b/packages/docs/src/content/devtime/versions/starter-astro/5.18.0.json @@ -11,7 +11,6 @@ "minInstallTimeMs": 2051, "maxInstallTimeMs": 3738, "nodeModulesSize": 194510848, - "nodeModulesSizeProdOnly": 155406336, "coldBuildTimeMs": 2595, "warmBuildTimeMs": 2117, "buildOutputSize": 32768, diff --git a/packages/docs/src/content/devtime/versions/starter-astro/6.0.8.json b/packages/docs/src/content/devtime/versions/starter-astro/6.0.8.json index 879abe84..586670a6 100644 --- a/packages/docs/src/content/devtime/versions/starter-astro/6.0.8.json +++ b/packages/docs/src/content/devtime/versions/starter-astro/6.0.8.json @@ -11,7 +11,6 @@ "minInstallTimeMs": 2051, "maxInstallTimeMs": 3738, "nodeModulesSize": 186187776, - "nodeModulesSizeProdOnly": 143155200, "coldBuildTimeMs": 2595, "warmBuildTimeMs": 2117, "buildOutputSize": 32768, diff --git a/packages/docs/src/content/devtime/versions/starter-astro/6.1.10.json b/packages/docs/src/content/devtime/versions/starter-astro/6.1.10.json index 3d9339ab..df16a8a1 100644 --- a/packages/docs/src/content/devtime/versions/starter-astro/6.1.10.json +++ b/packages/docs/src/content/devtime/versions/starter-astro/6.1.10.json @@ -11,7 +11,6 @@ "minInstallTimeMs": 2051, "maxInstallTimeMs": 3738, "nodeModulesSize": 186818560, - "nodeModulesSizeProdOnly": 145244160, "coldBuildTimeMs": 2595, "warmBuildTimeMs": 2117, "buildOutputSize": 32768, diff --git a/packages/docs/src/content/devtime/versions/starter-astro/6.2.2.json b/packages/docs/src/content/devtime/versions/starter-astro/6.2.2.json index a2c40f5f..4d298f34 100644 --- a/packages/docs/src/content/devtime/versions/starter-astro/6.2.2.json +++ b/packages/docs/src/content/devtime/versions/starter-astro/6.2.2.json @@ -11,7 +11,6 @@ "minInstallTimeMs": 2051, "maxInstallTimeMs": 3738, "nodeModulesSize": 187035648, - "nodeModulesSizeProdOnly": 120975360, "coldBuildTimeMs": 2595, "warmBuildTimeMs": 2117, "buildOutputSize": 32768, diff --git a/packages/docs/src/content/devtime/versions/starter-astro/6.3.8.json b/packages/docs/src/content/devtime/versions/starter-astro/6.3.8.json index f27ccea4..4ff101f9 100644 --- a/packages/docs/src/content/devtime/versions/starter-astro/6.3.8.json +++ b/packages/docs/src/content/devtime/versions/starter-astro/6.3.8.json @@ -11,7 +11,6 @@ "minInstallTimeMs": 2051, "maxInstallTimeMs": 3738, "nodeModulesSize": 187240448, - "nodeModulesSizeProdOnly": 121180160, "coldBuildTimeMs": 2595, "warmBuildTimeMs": 2117, "buildOutputSize": 32768, diff --git a/packages/docs/src/content/devtime/versions/starter-astro/6.4.8.json b/packages/docs/src/content/devtime/versions/starter-astro/6.4.8.json index da719ad3..a3a1a0ef 100644 --- a/packages/docs/src/content/devtime/versions/starter-astro/6.4.8.json +++ b/packages/docs/src/content/devtime/versions/starter-astro/6.4.8.json @@ -11,7 +11,6 @@ "minInstallTimeMs": 2051, "maxInstallTimeMs": 3738, "nodeModulesSize": 187310080, - "nodeModulesSizeProdOnly": 121249792, "coldBuildTimeMs": 2595, "warmBuildTimeMs": 2117, "buildOutputSize": 32768, diff --git a/packages/docs/src/content/devtime/versions/starter-astro/7.0.9.json b/packages/docs/src/content/devtime/versions/starter-astro/7.0.9.json index 20a5e47f..952c87ee 100644 --- a/packages/docs/src/content/devtime/versions/starter-astro/7.0.9.json +++ b/packages/docs/src/content/devtime/versions/starter-astro/7.0.9.json @@ -11,7 +11,6 @@ "minInstallTimeMs": 2051, "maxInstallTimeMs": 3738, "nodeModulesSize": 217944064, - "nodeModulesSizeProdOnly": 151695360, "coldBuildTimeMs": 2595, "warmBuildTimeMs": 2117, "buildOutputSize": 32768, diff --git a/packages/docs/src/content/devtime/versions/starter-next-js/16.1.1.json b/packages/docs/src/content/devtime/versions/starter-next-js/16.1.1.json index 813d4713..7a2c5201 100644 --- a/packages/docs/src/content/devtime/versions/starter-next-js/16.1.1.json +++ b/packages/docs/src/content/devtime/versions/starter-next-js/16.1.1.json @@ -11,7 +11,6 @@ "minInstallTimeMs": 3414, "maxInstallTimeMs": 6993, "nodeModulesSize": 587247616, - "nodeModulesSizeProdOnly": 457183232, "coldBuildTimeMs": 7159, "warmBuildTimeMs": 7159, "buildOutputSize": 6340608, diff --git a/packages/docs/src/content/devtime/versions/starter-nuxt/4.2.2.json b/packages/docs/src/content/devtime/versions/starter-nuxt/4.2.2.json index d120e5b1..35a4fbd1 100644 --- a/packages/docs/src/content/devtime/versions/starter-nuxt/4.2.2.json +++ b/packages/docs/src/content/devtime/versions/starter-nuxt/4.2.2.json @@ -11,7 +11,6 @@ "minInstallTimeMs": 4335, "maxInstallTimeMs": 7793, "nodeModulesSize": 218951680, - "nodeModulesSizeProdOnly": 218931200, "coldBuildTimeMs": 6962, "warmBuildTimeMs": 6545, "buildOutputSize": 2576384, diff --git a/packages/docs/src/content/devtime/versions/starter-react-router/7.10.1.json b/packages/docs/src/content/devtime/versions/starter-react-router/7.10.1.json index 81fe2f68..7bf98d87 100644 --- a/packages/docs/src/content/devtime/versions/starter-react-router/7.10.1.json +++ b/packages/docs/src/content/devtime/versions/starter-react-router/7.10.1.json @@ -11,7 +11,6 @@ "minInstallTimeMs": 1587, "maxInstallTimeMs": 3343, "nodeModulesSize": 112054272, - "nodeModulesSizeProdOnly": 18108416, "coldBuildTimeMs": 2747, "warmBuildTimeMs": 2746, "buildOutputSize": 397312, diff --git a/packages/docs/src/content/devtime/versions/starter-solid-start/1.2.1.json b/packages/docs/src/content/devtime/versions/starter-solid-start/1.2.1.json index feca117b..bf911c84 100644 --- a/packages/docs/src/content/devtime/versions/starter-solid-start/1.2.1.json +++ b/packages/docs/src/content/devtime/versions/starter-solid-start/1.2.1.json @@ -11,7 +11,6 @@ "minInstallTimeMs": 2586, "maxInstallTimeMs": 4638, "nodeModulesSize": 168329216, - "nodeModulesSizeProdOnly": 168251392, "coldBuildTimeMs": 9919, "warmBuildTimeMs": 9551, "buildOutputSize": 888832, diff --git a/packages/docs/src/content/devtime/versions/starter-solid-start/1.3.2.json b/packages/docs/src/content/devtime/versions/starter-solid-start/1.3.2.json index 95911223..ff2f99b3 100644 --- a/packages/docs/src/content/devtime/versions/starter-solid-start/1.3.2.json +++ b/packages/docs/src/content/devtime/versions/starter-solid-start/1.3.2.json @@ -11,7 +11,6 @@ "minInstallTimeMs": 2586, "maxInstallTimeMs": 4638, "nodeModulesSize": 163893248, - "nodeModulesSizeProdOnly": 163827712, "coldBuildTimeMs": 9919, "warmBuildTimeMs": 9551, "buildOutputSize": 884736, diff --git a/packages/docs/src/content/devtime/versions/starter-sveltekit/2.49.4.json b/packages/docs/src/content/devtime/versions/starter-sveltekit/2.49.4.json index d61d6fd2..fab79721 100644 --- a/packages/docs/src/content/devtime/versions/starter-sveltekit/2.49.4.json +++ b/packages/docs/src/content/devtime/versions/starter-sveltekit/2.49.4.json @@ -11,7 +11,6 @@ "minInstallTimeMs": 1945, "maxInstallTimeMs": 2904, "nodeModulesSize": 64815104, - "nodeModulesSizeProdOnly": 20480, "coldBuildTimeMs": 4220, "warmBuildTimeMs": 3910, "buildOutputSize": 1347584, diff --git a/packages/docs/src/content/devtime/versions/starter-sveltekit/2.50.2.json b/packages/docs/src/content/devtime/versions/starter-sveltekit/2.50.2.json index 0286aeed..a44ed56c 100644 --- a/packages/docs/src/content/devtime/versions/starter-sveltekit/2.50.2.json +++ b/packages/docs/src/content/devtime/versions/starter-sveltekit/2.50.2.json @@ -11,7 +11,6 @@ "minInstallTimeMs": 1945, "maxInstallTimeMs": 2904, "nodeModulesSize": 62787584, - "nodeModulesSizeProdOnly": 20480, "coldBuildTimeMs": 4220, "warmBuildTimeMs": 3910, "buildOutputSize": 1363968, diff --git a/packages/docs/src/content/devtime/versions/starter-sveltekit/2.51.0.json b/packages/docs/src/content/devtime/versions/starter-sveltekit/2.51.0.json index c6ce15ea..3871b233 100644 --- a/packages/docs/src/content/devtime/versions/starter-sveltekit/2.51.0.json +++ b/packages/docs/src/content/devtime/versions/starter-sveltekit/2.51.0.json @@ -11,7 +11,6 @@ "minInstallTimeMs": 1945, "maxInstallTimeMs": 2904, "nodeModulesSize": 62885888, - "nodeModulesSizeProdOnly": 20480, "coldBuildTimeMs": 4220, "warmBuildTimeMs": 3910, "buildOutputSize": 1372160, diff --git a/packages/docs/src/content/devtime/versions/starter-sveltekit/2.52.2.json b/packages/docs/src/content/devtime/versions/starter-sveltekit/2.52.2.json index 069612ad..37abc0db 100644 --- a/packages/docs/src/content/devtime/versions/starter-sveltekit/2.52.2.json +++ b/packages/docs/src/content/devtime/versions/starter-sveltekit/2.52.2.json @@ -11,7 +11,6 @@ "minInstallTimeMs": 1945, "maxInstallTimeMs": 2904, "nodeModulesSize": 62967808, - "nodeModulesSizeProdOnly": 20480, "coldBuildTimeMs": 4220, "warmBuildTimeMs": 3910, "buildOutputSize": 1425408, diff --git a/packages/docs/src/content/devtime/versions/starter-tanstack-start-react/1.145.3.json b/packages/docs/src/content/devtime/versions/starter-tanstack-start-react/1.145.3.json index 067150a4..6ab50f06 100644 --- a/packages/docs/src/content/devtime/versions/starter-tanstack-start-react/1.145.3.json +++ b/packages/docs/src/content/devtime/versions/starter-tanstack-start-react/1.145.3.json @@ -11,7 +11,6 @@ "minInstallTimeMs": 2522, "maxInstallTimeMs": 5487, "nodeModulesSize": 246169600, - "nodeModulesSizeProdOnly": 211677184, "coldBuildTimeMs": 9098, "warmBuildTimeMs": 8359, "buildOutputSize": 2146304, diff --git a/packages/docs/src/content/docs/methodology.md b/packages/docs/src/content/docs/methodology.md index 935b7f40..2e47597f 100644 --- a/packages/docs/src/content/docs/methodology.md +++ b/packages/docs/src/content/docs/methodology.md @@ -77,9 +77,9 @@ matches the framework version tracked by the starter project. - Install benchmarks copy the starter package to a temporary directory, remove `node_modules`, prune the package manager store when possible, and run `pnpm install --no-frozen-lockfile`. -- Full `node_modules` size is measured after the regular install. -- Production-only `node_modules` size is measured after removing the full - install and running `pnpm install --prod --no-frozen-lockfile`. +- `node_modules` size is measured after the regular install. This represents + the starter's complete local installation, including development tools; it + does not represent the framework's production deployment size. ### Build and Install Times diff --git a/packages/docs/src/lib/collections.ts b/packages/docs/src/lib/collections.ts index d1f288bb..9ced611e 100644 --- a/packages/docs/src/lib/collections.ts +++ b/packages/docs/src/lib/collections.ts @@ -195,7 +195,6 @@ export const depsStats = starterStats.map((f) => ({ allDependencies: f.allDependencies.toLocaleString(), duplicateDependencies: f.duplicateDependencies, nodeModulesSize: formatBytesToMB(f.nodeModulesSize), - nodeModulesSizeProdOnly: formatBytesToMB(f.nodeModulesSizeProdOnly), depInstallSize: f.depInstallSize != null ? formatBytesToMB(f.depInstallSize) : '—', graph: 'View', diff --git a/packages/starter-astro/ci-stats.json b/packages/starter-astro/ci-stats.json index 98c89f8a..e5429be2 100644 --- a/packages/starter-astro/ci-stats.json +++ b/packages/starter-astro/ci-stats.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 2051, "maxInstallTimeMs": 3738, "nodeModulesSize": 217944064, - "nodeModulesSizeProdOnly": 151695360, "coldBuildTimeMs": 2595, "warmBuildTimeMs": 2117, "buildOutputSize": 32768, diff --git a/packages/starter-astro/stats/5.16.15.json b/packages/starter-astro/stats/5.16.15.json index 08e1ee70..03263d33 100644 --- a/packages/starter-astro/stats/5.16.15.json +++ b/packages/starter-astro/stats/5.16.15.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 2051, "maxInstallTimeMs": 3738, "nodeModulesSize": 202612736, - "nodeModulesSizeProdOnly": 163561472, "coldBuildTimeMs": 2595, "warmBuildTimeMs": 2117, "buildOutputSize": 32768, diff --git a/packages/starter-astro/stats/5.17.3.json b/packages/starter-astro/stats/5.17.3.json index 3ce2bf08..e82609ba 100644 --- a/packages/starter-astro/stats/5.17.3.json +++ b/packages/starter-astro/stats/5.17.3.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 2051, "maxInstallTimeMs": 3738, "nodeModulesSize": 194510848, - "nodeModulesSizeProdOnly": 155402240, "coldBuildTimeMs": 2595, "warmBuildTimeMs": 2117, "buildOutputSize": 32768, diff --git a/packages/starter-astro/stats/5.18.0.json b/packages/starter-astro/stats/5.18.0.json index 115122f1..2b02354f 100644 --- a/packages/starter-astro/stats/5.18.0.json +++ b/packages/starter-astro/stats/5.18.0.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 2051, "maxInstallTimeMs": 3738, "nodeModulesSize": 194510848, - "nodeModulesSizeProdOnly": 155406336, "coldBuildTimeMs": 2595, "warmBuildTimeMs": 2117, "buildOutputSize": 32768, diff --git a/packages/starter-astro/stats/6.0.8.json b/packages/starter-astro/stats/6.0.8.json index fd046cff..b21904e5 100644 --- a/packages/starter-astro/stats/6.0.8.json +++ b/packages/starter-astro/stats/6.0.8.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 2051, "maxInstallTimeMs": 3738, "nodeModulesSize": 186187776, - "nodeModulesSizeProdOnly": 143155200, "coldBuildTimeMs": 2595, "warmBuildTimeMs": 2117, "buildOutputSize": 32768, diff --git a/packages/starter-astro/stats/6.1.10.json b/packages/starter-astro/stats/6.1.10.json index 883430a9..0c120ed6 100644 --- a/packages/starter-astro/stats/6.1.10.json +++ b/packages/starter-astro/stats/6.1.10.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 2051, "maxInstallTimeMs": 3738, "nodeModulesSize": 186818560, - "nodeModulesSizeProdOnly": 145244160, "coldBuildTimeMs": 2595, "warmBuildTimeMs": 2117, "buildOutputSize": 32768, diff --git a/packages/starter-astro/stats/6.2.2.json b/packages/starter-astro/stats/6.2.2.json index 368bf459..9d6d31bc 100644 --- a/packages/starter-astro/stats/6.2.2.json +++ b/packages/starter-astro/stats/6.2.2.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 2051, "maxInstallTimeMs": 3738, "nodeModulesSize": 187035648, - "nodeModulesSizeProdOnly": 120975360, "coldBuildTimeMs": 2595, "warmBuildTimeMs": 2117, "buildOutputSize": 32768, diff --git a/packages/starter-astro/stats/6.3.8.json b/packages/starter-astro/stats/6.3.8.json index 370a91eb..9530e138 100644 --- a/packages/starter-astro/stats/6.3.8.json +++ b/packages/starter-astro/stats/6.3.8.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 2051, "maxInstallTimeMs": 3738, "nodeModulesSize": 187240448, - "nodeModulesSizeProdOnly": 121180160, "coldBuildTimeMs": 2595, "warmBuildTimeMs": 2117, "buildOutputSize": 32768, diff --git a/packages/starter-astro/stats/6.4.8.json b/packages/starter-astro/stats/6.4.8.json index 54d392f0..48c73391 100644 --- a/packages/starter-astro/stats/6.4.8.json +++ b/packages/starter-astro/stats/6.4.8.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 2051, "maxInstallTimeMs": 3738, "nodeModulesSize": 187310080, - "nodeModulesSizeProdOnly": 121249792, "coldBuildTimeMs": 2595, "warmBuildTimeMs": 2117, "buildOutputSize": 32768, diff --git a/packages/starter-astro/stats/7.0.9.json b/packages/starter-astro/stats/7.0.9.json index 98c89f8a..e5429be2 100644 --- a/packages/starter-astro/stats/7.0.9.json +++ b/packages/starter-astro/stats/7.0.9.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 2051, "maxInstallTimeMs": 3738, "nodeModulesSize": 217944064, - "nodeModulesSizeProdOnly": 151695360, "coldBuildTimeMs": 2595, "warmBuildTimeMs": 2117, "buildOutputSize": 32768, diff --git a/packages/starter-mastro/ci-stats.json b/packages/starter-mastro/ci-stats.json index b90d209a..409c33fb 100644 --- a/packages/starter-mastro/ci-stats.json +++ b/packages/starter-mastro/ci-stats.json @@ -8,7 +8,6 @@ "maxMs": 599 }, "nodeModulesSize": 30572544, - "nodeModulesSizeProdOnly": 3522560, "coldBuildTime": { "avgMs": 378.6, "minMs": 372, diff --git a/packages/starter-next-js/ci-stats.json b/packages/starter-next-js/ci-stats.json index e8cefbe5..2a9decbd 100644 --- a/packages/starter-next-js/ci-stats.json +++ b/packages/starter-next-js/ci-stats.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 3414, "maxInstallTimeMs": 6993, "nodeModulesSize": 587247616, - "nodeModulesSizeProdOnly": 457183232, "coldBuildTimeMs": 7159, "warmBuildTimeMs": 7159, "buildOutputSize": 6340608, diff --git a/packages/starter-next-js/stats/16.1.1.json b/packages/starter-next-js/stats/16.1.1.json index e8cefbe5..2a9decbd 100644 --- a/packages/starter-next-js/stats/16.1.1.json +++ b/packages/starter-next-js/stats/16.1.1.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 3414, "maxInstallTimeMs": 6993, "nodeModulesSize": 587247616, - "nodeModulesSizeProdOnly": 457183232, "coldBuildTimeMs": 7159, "warmBuildTimeMs": 7159, "buildOutputSize": 6340608, diff --git a/packages/starter-nuxt/ci-stats.json b/packages/starter-nuxt/ci-stats.json index 2c29c0ea..f0865b27 100644 --- a/packages/starter-nuxt/ci-stats.json +++ b/packages/starter-nuxt/ci-stats.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 4335, "maxInstallTimeMs": 7793, "nodeModulesSize": 218951680, - "nodeModulesSizeProdOnly": 218931200, "coldBuildTimeMs": 6962, "warmBuildTimeMs": 6545, "buildOutputSize": 2576384, diff --git a/packages/starter-nuxt/stats/4.2.2.json b/packages/starter-nuxt/stats/4.2.2.json index 2c29c0ea..f0865b27 100644 --- a/packages/starter-nuxt/stats/4.2.2.json +++ b/packages/starter-nuxt/stats/4.2.2.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 4335, "maxInstallTimeMs": 7793, "nodeModulesSize": 218951680, - "nodeModulesSizeProdOnly": 218931200, "coldBuildTimeMs": 6962, "warmBuildTimeMs": 6545, "buildOutputSize": 2576384, diff --git a/packages/starter-react-router/ci-stats.json b/packages/starter-react-router/ci-stats.json index 91a40379..dd6c26a5 100644 --- a/packages/starter-react-router/ci-stats.json +++ b/packages/starter-react-router/ci-stats.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 1587, "maxInstallTimeMs": 3343, "nodeModulesSize": 112054272, - "nodeModulesSizeProdOnly": 18108416, "coldBuildTimeMs": 2747, "warmBuildTimeMs": 2746, "buildOutputSize": 397312, diff --git a/packages/starter-react-router/stats/7.10.1.json b/packages/starter-react-router/stats/7.10.1.json index 91a40379..dd6c26a5 100644 --- a/packages/starter-react-router/stats/7.10.1.json +++ b/packages/starter-react-router/stats/7.10.1.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 1587, "maxInstallTimeMs": 3343, "nodeModulesSize": 112054272, - "nodeModulesSizeProdOnly": 18108416, "coldBuildTimeMs": 2747, "warmBuildTimeMs": 2746, "buildOutputSize": 397312, diff --git a/packages/starter-solid-start/ci-stats.json b/packages/starter-solid-start/ci-stats.json index 6e07b91a..90298b37 100644 --- a/packages/starter-solid-start/ci-stats.json +++ b/packages/starter-solid-start/ci-stats.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 2586, "maxInstallTimeMs": 4638, "nodeModulesSize": 163893248, - "nodeModulesSizeProdOnly": 163827712, "coldBuildTimeMs": 9919, "warmBuildTimeMs": 9551, "buildOutputSize": 884736, diff --git a/packages/starter-solid-start/stats/1.2.1.json b/packages/starter-solid-start/stats/1.2.1.json index 21a0c411..32caa4c4 100644 --- a/packages/starter-solid-start/stats/1.2.1.json +++ b/packages/starter-solid-start/stats/1.2.1.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 2586, "maxInstallTimeMs": 4638, "nodeModulesSize": 168329216, - "nodeModulesSizeProdOnly": 168251392, "coldBuildTimeMs": 9919, "warmBuildTimeMs": 9551, "buildOutputSize": 888832, diff --git a/packages/starter-solid-start/stats/1.3.2.json b/packages/starter-solid-start/stats/1.3.2.json index 6e07b91a..90298b37 100644 --- a/packages/starter-solid-start/stats/1.3.2.json +++ b/packages/starter-solid-start/stats/1.3.2.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 2586, "maxInstallTimeMs": 4638, "nodeModulesSize": 163893248, - "nodeModulesSizeProdOnly": 163827712, "coldBuildTimeMs": 9919, "warmBuildTimeMs": 9551, "buildOutputSize": 884736, diff --git a/packages/starter-sveltekit/ci-stats.json b/packages/starter-sveltekit/ci-stats.json index 892d0a5d..7dee81d7 100644 --- a/packages/starter-sveltekit/ci-stats.json +++ b/packages/starter-sveltekit/ci-stats.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 1945, "maxInstallTimeMs": 2904, "nodeModulesSize": 62967808, - "nodeModulesSizeProdOnly": 20480, "coldBuildTimeMs": 4220, "warmBuildTimeMs": 3910, "buildOutputSize": 1425408, diff --git a/packages/starter-sveltekit/stats/2.49.4.json b/packages/starter-sveltekit/stats/2.49.4.json index d7c5bb2b..28764992 100644 --- a/packages/starter-sveltekit/stats/2.49.4.json +++ b/packages/starter-sveltekit/stats/2.49.4.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 1945, "maxInstallTimeMs": 2904, "nodeModulesSize": 64815104, - "nodeModulesSizeProdOnly": 20480, "coldBuildTimeMs": 4220, "warmBuildTimeMs": 3910, "buildOutputSize": 1347584, diff --git a/packages/starter-sveltekit/stats/2.50.2.json b/packages/starter-sveltekit/stats/2.50.2.json index 5aa36384..d52011eb 100644 --- a/packages/starter-sveltekit/stats/2.50.2.json +++ b/packages/starter-sveltekit/stats/2.50.2.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 1945, "maxInstallTimeMs": 2904, "nodeModulesSize": 62787584, - "nodeModulesSizeProdOnly": 20480, "coldBuildTimeMs": 4220, "warmBuildTimeMs": 3910, "buildOutputSize": 1363968, diff --git a/packages/starter-sveltekit/stats/2.51.0.json b/packages/starter-sveltekit/stats/2.51.0.json index f81e4277..c43cdd90 100644 --- a/packages/starter-sveltekit/stats/2.51.0.json +++ b/packages/starter-sveltekit/stats/2.51.0.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 1945, "maxInstallTimeMs": 2904, "nodeModulesSize": 62885888, - "nodeModulesSizeProdOnly": 20480, "coldBuildTimeMs": 4220, "warmBuildTimeMs": 3910, "buildOutputSize": 1372160, diff --git a/packages/starter-sveltekit/stats/2.52.2.json b/packages/starter-sveltekit/stats/2.52.2.json index 892d0a5d..7dee81d7 100644 --- a/packages/starter-sveltekit/stats/2.52.2.json +++ b/packages/starter-sveltekit/stats/2.52.2.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 1945, "maxInstallTimeMs": 2904, "nodeModulesSize": 62967808, - "nodeModulesSizeProdOnly": 20480, "coldBuildTimeMs": 4220, "warmBuildTimeMs": 3910, "buildOutputSize": 1425408, diff --git a/packages/starter-tanstack-start-react/ci-stats.json b/packages/starter-tanstack-start-react/ci-stats.json index 3efc2449..8dd8196d 100644 --- a/packages/starter-tanstack-start-react/ci-stats.json +++ b/packages/starter-tanstack-start-react/ci-stats.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 2522, "maxInstallTimeMs": 5487, "nodeModulesSize": 246169600, - "nodeModulesSizeProdOnly": 211677184, "coldBuildTimeMs": 9098, "warmBuildTimeMs": 8359, "buildOutputSize": 2146304, diff --git a/packages/starter-tanstack-start-react/stats/1.145.3.json b/packages/starter-tanstack-start-react/stats/1.145.3.json index 3efc2449..8dd8196d 100644 --- a/packages/starter-tanstack-start-react/stats/1.145.3.json +++ b/packages/starter-tanstack-start-react/stats/1.145.3.json @@ -6,7 +6,6 @@ "minInstallTimeMs": 2522, "maxInstallTimeMs": 5487, "nodeModulesSize": 246169600, - "nodeModulesSizeProdOnly": 211677184, "coldBuildTimeMs": 9098, "warmBuildTimeMs": 8359, "buildOutputSize": 2146304, diff --git a/packages/stats-generator/src/run-install-benchmark.ts b/packages/stats-generator/src/run-install-benchmark.ts index bccd9c9e..3c987405 100644 --- a/packages/stats-generator/src/run-install-benchmark.ts +++ b/packages/stats-generator/src/run-install-benchmark.ts @@ -111,14 +111,6 @@ async function main() { const nodeModulesSize = getDirectorySize(nodeModulesPath) console.info(`node_modules size: ${nodeModulesSize} bytes`) - rmSync(nodeModulesPath, { recursive: true, force: true }) - execCommand('pnpm install --prod --no-frozen-lockfile', tempDir) - - const nodeModulesSizeProdOnly = getDirectorySize(nodeModulesPath) - console.info( - `node_modules size (prod only): ${nodeModulesSizeProdOnly} bytes`, - ) - const stats: InstallStats = { frameworkVersion, installTime: { @@ -127,7 +119,6 @@ async function main() { maxMs: maxInstallTimeMs, }, nodeModulesSize, - nodeModulesSizeProdOnly, } const outputPath = join(packagesDir, packageName, 'install-stats.json') diff --git a/packages/stats-generator/src/save-ci-stats.ts b/packages/stats-generator/src/save-ci-stats.ts index 3f96c5e4..e62b34f2 100644 --- a/packages/stats-generator/src/save-ci-stats.ts +++ b/packages/stats-generator/src/save-ci-stats.ts @@ -64,7 +64,6 @@ async function main() { frameworkVersion: installStats.frameworkVersion, installTime: installStats.installTime, nodeModulesSize: installStats.nodeModulesSize, - nodeModulesSizeProdOnly: installStats.nodeModulesSizeProdOnly, } frameworkVersion = installStats.frameworkVersion } else { diff --git a/packages/stats-generator/src/schemas.ts b/packages/stats-generator/src/schemas.ts index 37eee142..bf8f5777 100644 --- a/packages/stats-generator/src/schemas.ts +++ b/packages/stats-generator/src/schemas.ts @@ -10,7 +10,6 @@ export const InstallStatsSchema = z.object({ frameworkVersion: z.string().min(1), installTime: TimeStatSchema, nodeModulesSize: z.number().nonnegative(), - nodeModulesSizeProdOnly: z.number().nonnegative(), }) export const BuildStatsSchema = z.object({ diff --git a/packages/stats-generator/src/types.ts b/packages/stats-generator/src/types.ts index 4fea3016..f4cadb04 100644 --- a/packages/stats-generator/src/types.ts +++ b/packages/stats-generator/src/types.ts @@ -38,7 +38,6 @@ export interface CIStats { // Install stats installTime?: TimeStat nodeModulesSize?: number - nodeModulesSizeProdOnly?: number // Build stats coldBuildTime?: TimeStat warmBuildTime?: TimeStat @@ -128,7 +127,6 @@ export interface InstallStats { frameworkVersion: string installTime: TimeStat nodeModulesSize: number - nodeModulesSizeProdOnly: number } export interface BuildStats { diff --git a/packages/stats-generator/src/utils.ts b/packages/stats-generator/src/utils.ts index f2c2a168..ce38a6f9 100644 --- a/packages/stats-generator/src/utils.ts +++ b/packages/stats-generator/src/utils.ts @@ -187,11 +187,12 @@ export async function getFrameworkVersion( } /** - * Keep generated stats on the current nested client-side-rendered shape. - * This also cleans up older flat fields when merging existing stats files. + * Keep generated stats on the current shape and remove retired metrics and + * older flat fields when merging existing stats files. */ export function normalizeCIStats(stats: T): T { const legacyStats = stats as T & { + nodeModulesSizeProdOnly?: unknown serverRenderThroughputTests?: CIStats['ssrRequestThroughputTests'] ssrOpsPerSec?: unknown ssrAvgLatencyMs?: unknown @@ -330,6 +331,7 @@ export function normalizeCIStats(stats: T): T { } } + delete legacyStats.nodeModulesSizeProdOnly delete legacyStats.ssrOpsPerSec delete legacyStats.serverRenderThroughputTests delete legacyStats.ssrAvgLatencyMs