Compare tsrs, tsc & tsgo locally.
Benchmark TypeScript 7 & share evidence.
Run npx tsrs-run in your repository to measure tsrs, tsc, and tsgo side by side with wall-clock timing, OS Peak RSS, and diagnostic parity. Open the browser Arena for quick standalone repros.
npx tsrs-run npx tsrs-run --share Zero network calls by default. Adding --share uploads hashed file IDs and TypeScript diagnostic codes only, never repository source code unless you pass --public.
An independent community project. Local CLI and browser WASM reports are separated and never mixed into one headline number.
The engines target different TypeScript versions; diagnostics may differ.
How a shared CLI report reads
Sample redacted output from npx tsrs-run --share showing verdict, wall-clock median, OS Peak RSS, --extendedDiagnostics metrics, diagnostic parity, and f_... hashed files.
Source files, repository paths, hostnames, and diagnostic messages were stripped before sharing. Only hashed file IDs (f_...), TypeScript codes, timings, and OS memory metrics are stored.
Verdict
Ready1 warm-up, 5 measured runs · alternating · native-cli
Ready: tsrs matched baseline diagnostics cleanly.
- Default tsrs run matched baseline diagnostics identically.
Recommended next step · Integrate tsrs or share this evaluation report.
Native CLI measurement · local repository · not cross-machine benchmark
Wall-clock timing & OS Peak RSS
Secondary median ratio (tsc ÷ tsrs): 6.68×
| Engine | Version | Median | Min – max | Samples | OS Peak RSS | Diagnostics |
|---|---|---|---|---|---|---|
| tsrs native-rust · complete | 0.25.0-ts7.1.0-beta | 94.00 ms | 89.00 ms – 98.00 ms | 5 | 52.0 MB time-l | 2 |
| tsc node-js · complete | 6.0.3 | 628.0 ms | 612.0 ms – 644.0 ms | 5 | 214.0 MB time-l | 2 |
Compiler --extendedDiagnostics (self-reported)
Reported directly by the compiler process and displayed separately from external wall-clock timing and OS Peak RSS.
| Engine | Files | Lines | Check time | Total time | Reported memory |
|---|---|---|---|---|---|
| tsrs | 142 | 18,420 | 64.00 ms | 94.00 ms | 48.0 MB |
| tsc | 142 | 18,420 | 496.0 ms | 628.0 ms | 192.0 MB |
Diagnostic parity
tsc vs tsrs- Baseline total
- 2
- Candidate total
- 2
- Exact matches
- 2
- Line shift only
- 0
- Wording only
- 0
- Only baseline
- 0
- Only candidate
- 0
| Code | Category | Baseline total | Candidate total | Delta |
|---|---|---|---|---|
| TS2322 | error | 1 | 1 | 0 |
| TS2345 | error | 1 | 1 | 0 |
Hashed file & code summary
| Hashed file ID | Code | Category | Baseline total | Candidate total |
|---|---|---|---|---|
| f_22236a3652a8 | TS2322 | error | 1 | 1 |
| f_5efae8219276 | TS2345 | error | 1 | 1 |
Start from a small, reviewable example
Measured when you run
npx tsrs-run measures wall-clock median, OS Peak RSS, and diagnostic parity on your repository after a warmup round; Browser Arena alternates five WASM and JS checks in your tab.
Keep the context with the result
CLI --share uploads salted file hashes and error codes to tsrs.run/s/:id by default, while Browser Arena exports receipt links, Markdown, and PNG cards with the fixed scope line.
Method & limits →