You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TypeScript prototype: reproducible TypeScript vs. Rust benchmark runner and comparison report #1840
Build a reproducible benchmark runner in the TypeScript prototype directory and publish an empirical comparison report in the research documentation directory comparing the TypeScript (bun build --compile) vertical slice against the equivalent Rust implementation across cold and incremental fresh-worktree typecheck, test, and bun build --compile wall-clock times, standalone binary size, code size, subprocess/signal ergonomics, discriminated-union state-machine exhaustiveness, full-stack Console velocity, and ADR-0017 Pickup model-checking speed, without modifying ADR-0001.
Acceptance criteria
A reproducible benchmark script in the TypeScript prototype directory measures cold and incremental tsc --noEmit, bun test, and bun build --compile wall-clock times in a fresh worktree, standalone executable size, and source line counts for the TypeScript prototype vs. the equivalent Rust slices, and records ADR-0017 model-check execution time.
A research report in the repository's research documentation directory presents the measured numbers alongside a concrete comparison of subprocess/signal handling in Bun vs. Rust, discriminated unions (satisfies never) vs. Rust enums (clippy::wildcard_enum_match_arm), full-stack CLI/Console/OpenAPI/Playwright type sharing vs. the Rust + Node split, and ADR-0017 model-checking in bun test vs. stateright.
Automated tests verify that the benchmark runner executes cleanly and that the research report is present and complete.
ADR-0001 is left unchanged so the Day shift can review the empirical report first.
Activity
JacobStephens2 commentedon Nov 7, 2026
Closed by #1852, merged into issue-1831 by a thirdshift Ticket run with Self-merge.