[experiment] Benchmark pnpm vs Bun on CircleCI - #428
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueComment |
Bun-only runtime benchmark resultCompleted three real CircleCI Windows
Every run independently asserted Conclusion: Bun 1.4.2 can replace pnpm for install and can drive the production frontend build + Tauri CLI without Node, but Win-CodexBar cannot remove Node yet because the current Vitest/jsdom test contract is not compatible with Bun's runtime. Additional disposable migration probe using Bun-native This remains an experiment-only draft and should not be merged as-is. |
Thermo-nuclear review: KEEP AS EXPERIMENT / DO NOT MERGEThat matches the PR's own stated intent. The benchmark harness is isolated from product runtime, but the current branch does not reproduce the full three-lane experiment described in the body:
So a fresh run of this PR head exercises the Bun-only lane, not all three equal pnpm-11.24 / pnpm-11.25 / Bun lanes. If this PR remains as evidence, document the completed-branch runs/results explicitly. Do not merge the experiment-only 1k/CUA: no production code threshold or UI proof requirement applies. |
Experiment only
Do not merge. This draft PR exists only to activate the repository's CircleCI GitHub App webhook path for a package-manager benchmark.
Three equal Windows
win/defaultmedium lanes run the same Node/Vitest/TypeScript/Vite workload after dependency installation:The Bun lane uses an experiment-only
bun.lockplusminimumReleaseAge = 86400, isolated linking, and disabled dependency lifecycle scripts. Node remains the runtime for tests/build tools so this measures package management rather than Bun-runtime compatibility.Plan: one cold-cache run followed by two unchanged warm-cache runs. No product/release behavior should be merged from this PR.