TypeScript compilers
The same TypeScript projects, type-checked and compiled by tsc 6, tsc 7 and two experimental Rust ports.
About this domain
Five compilers check four open-source projects (TypeORM, Excalidraw, the t3code client runtime and XState) at pinned commits: tsc 6.0 (TypeScript on Node.js), tsc 7.0 and the 7.1 beta (Go), and the Rust ports tsrs and tsc-rs, which port TypeScript 7.1 builds. Each tool runs as a user would run it, through the command its npm package installs, in a fresh container without network access, on four cores with default settings and on one core with its single-threaded flag where it has one. A tool is only measured after it reported exactly the diagnostics expected for its TypeScript line on every project, and the expected diagnostics plus every one of seven or eight errors seeded into different files of a copy of each, in every mode. The tools implement different TypeScript revisions: tsc 7.1 (beta) and tsrs are two packaged implementations with the same declared upstream revision, so they are the like-for-like pair; tsc-rs tracks an earlier 7.1 build, and tsc 6.0 and 7.0 are older lines.
For AI agents: these results as ts-compilers.md, and how to read them in llms.txt.
Experimental domain. Its workloads and methodology may still change.
Showing Check speed index in Overall, index, higher is better
Derived from several scenarios
Overall
Summary metrics computed from the scenario medians of this run.
Check speed index
higher is better · 100 = best in all 8 scenarios
How it is computed
In each of the declared scenarios (TypeORM · check, TypeORM · check on one core, Excalidraw · check, Excalidraw · check on one core, t3code · check, t3code · check on one core, XState · check, XState · check on one core): the best (lowest) “Wall time” divided by this implementation's, the best being taken among the implementations that have an index. The index is the geometric mean of those ratios times 100, so 100 means best in every one of them. Only implementations with a usable result in every one of them get an index, and only they are compared with each other, so another set of implementations can change it. A scenario in which the best value is zero is left out for everybody; the scale above the values counts the scenarios this run's index was computed over.
Per check scenario, the fastest median wall time among the tools that have an index divided by this tool's; the geometric mean of those ratios over the eight check scenarios, times 100 (100 = fastest in all eight, 50 = twice the fastest time on geometric average). Relative to the tools of the run, from the per-scenario medians, so another set of tools can change it. Spans different compiler revisions: the like-for-like pair is tsc 7.1 (beta) and tsrs, two packaged implementations with the same declared upstream revision.
Mixed TypeScript revisions: tsc 7.1 (beta) and tsrs declare the same upstream revision, tsc-rs is pinned to an earlier 7.1 build, tsc 6.0 and 7.0 are older lines.
Derived values are computed from scenario medians and carry no interval. Ranks count all 5 implementations.
Read it by comparison
- Same declared revision: Go and Rust tsc 7.1 (beta) and tsrs are two packaged implementations with the same declared upstream revision (the one of 7.1.0-beta), one written in Go and one in Rust: the like-for-like pair of this domain. Launcher, runtime and threading differ as well, and the correctness gate does not show that both do the same amount of work, so a difference is not the language alone. Compare side by side
- The tsc lines: 6.0, 7.0 and 7.1 (beta) The TypeScript team's compiler across three lines: 6.0 is written in TypeScript and runs on Node.js, 7.0 and the 7.1 beta are written in Go. 6.0 against 7.0 mixes compiler revision and implementation language; 7.0 against 7.1 compares two releases of the same Go compiler. Compare side by side
- The Rust ports and tsc 7.1 (beta) All three target TypeScript 7.1, but tsc-rs is pinned to an earlier 7.1 development build than the other two, so a comparison with tsc-rs mixes revision and implementation. Compare side by side
Implementations in this run
5 implementations · 9 scenarios measured. Every page lists all scenarios and metrics of one implementation.