tsrs

experimental port

An experimental port of the TypeScript 7.1 compiler to Rust (oxc-project/tsrs). It states (typescriptCommit in its package.json) that it tracks the revision of the 7.1.0-beta release, so tsc 7.1 (beta) is its like-for-like counterpart.

  • Language Rust
  • Runtimenative (Rust), started by a Node.js launcher that replaces itself with the binary (execve)
  • CategoryTool
Experimental domain Reference Methodology 2

Experimental domain. Its workloads and methodology may still change.

Headline results

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.

All results

Every scenario and metric measured for this implementation. Primary metrics first; the rest are one click away. Ranks count all 5 implementations of the run.

Overall

Derived

Metric Median 95 % CI n Rank
Check speed index 100.0 — — 1 / 5
Peak memory, any scenario 754 MiB — — 1 / 5

TypeORM · check

Compile

  • 4 cores
Metric Median 95 % CI n Rank
Wall time 580 ms 95 % CI 573–592 573–592 5 1 / 5
CPU time 1,683 ms 95 % CI 1,664–1,709 1,664–1,709 5 1 / 5
Peak memory 229 MiB 95 % CI 228–231 228–231 5 1 / 5
4 more metrics
Metric Median 95 % CI n Rank
CPU
Parallelism 2.89 cores 95 % CI 2.87–2.91 2.87–2.91 5 —
Measurement quality
Hypervisor steal 0.0 % — 5 1–5 / 5 . Not separated from tsc 6.0 · stable, tsc 7.0 · stable, tsc 7.1 (beta) · pre-release and tsc-rs · experimental port: the 95 % intervals overlap, so this run does not establish their order.
Host load 2.35 runnable tasks 95 % CI 2.21–2.45 2.21–2.45 5 1–5 / 5 . Not separated from tsc 6.0 · stable, tsc 7.0 · stable, tsc 7.1 (beta) · pre-release and tsc-rs · experimental port: the 95 % intervals overlap, so this run does not establish their order.
CPU clock 2,662 MHz 95 % CI 2,593–3,241 2,593–3,241 5 —

TypeORM · check on one core

Compile

  • one core
Metric Median 95 % CI n Rank
Wall time 1,315 ms 95 % CI 1,313–1,317 1,313–1,317 5 1 / 5
CPU time 1,315 ms 95 % CI 1,313–1,317 1,313–1,317 5 1 / 5
Peak memory 196 MiB 95 % CI 196–196 196–196 5 1 / 5
4 more metrics
Metric Median 95 % CI n Rank
CPU
Parallelism 1.00 cores 95 % CI 1.00–1.00 1.00–1.00 5 —
Measurement quality
Hypervisor steal 0.0 % — 5 1–5 / 5 . Not separated from tsc 6.0 · stable, tsc 7.0 · stable, tsc 7.1 (beta) · pre-release and tsc-rs · experimental port: the 95 % intervals overlap, so this run does not establish their order.
Host load 2.36 runnable tasks 95 % CI 2.28–2.49 2.28–2.49 5 1–5 / 5 . Not separated from tsc 6.0 · stable, tsc 7.0 · stable, tsc 7.1 (beta) · pre-release and tsc-rs · experimental port: the 95 % intervals overlap, so this run does not establish their order.
CPU clock 3,619 MHz 95 % CI 3,587–3,692 3,587–3,692 5 —

Excalidraw · check

Compile

  • 4 cores
Metric Median 95 % CI n Rank
Wall time 922 ms 95 % CI 914–934 914–934 5 1 / 5
CPU time 3,159 ms 95 % CI 3,128–3,173 3,128–3,173 5 1 / 5
Peak memory 754 MiB 95 % CI 754–762 754–762 5 2 / 5
4 more metrics
Metric Median 95 % CI n Rank
CPU
Parallelism 3.41 cores 95 % CI 3.38–3.42 3.38–3.42 5 —
Measurement quality
Hypervisor steal 0.0 % — 5 1–5 / 5 . Not separated from tsc 6.0 · stable, tsc 7.0 · stable, tsc 7.1 (beta) · pre-release and tsc-rs · experimental port: the 95 % intervals overlap, so this run does not establish their order.
Host load 2.16 runnable tasks 95 % CI 2.14–2.37 2.14–2.37 5 2–5 / 5 . Not separated from tsc 6.0 · stable, tsc 7.1 (beta) · pre-release and tsc-rs · experimental port: the 95 % intervals overlap, so this run does not establish their order.
CPU clock 2,799 MHz 95 % CI 2,629–2,860 2,629–2,860 5 —

Excalidraw · check on one core

Compile

  • one core
Metric Median 95 % CI n Rank
Wall time 1,682 ms 95 % CI 1,679–1,685 1,679–1,685 5 1 / 5
CPU time 1,681 ms 95 % CI 1,678–1,684 1,678–1,684 5 1 / 5
Peak memory 344 MiB 95 % CI 344–344 344–344 5 1 / 5
4 more metrics
Metric Median 95 % CI n Rank
CPU
Parallelism 1.00 cores 95 % CI 1.00–1.00 1.00–1.00 5 —
Measurement quality
Hypervisor steal 0.0 % — 5 1–5 / 5 . Not separated from tsc 6.0 · stable, tsc 7.0 · stable, tsc 7.1 (beta) · pre-release and tsc-rs · experimental port: the 95 % intervals overlap, so this run does not establish their order.
Host load 2.29 runnable tasks 95 % CI 2.06–2.62 2.06–2.62 5 1–5 / 5 . Not separated from tsc 6.0 · stable, tsc 7.0 · stable, tsc 7.1 (beta) · pre-release and tsc-rs · experimental port: the 95 % intervals overlap, so this run does not establish their order.
CPU clock 3,673 MHz 95 % CI 3,622–3,752 3,622–3,752 5 —

t3code · check

Compile

  • 4 cores
Metric Median 95 % CI n Rank
Wall time 1,068 ms 95 % CI 1,048–1,077 1,048–1,077 5 1 / 5
CPU time 3,610 ms 95 % CI 3,596–3,623 3,596–3,623 5 1 / 5
Peak memory 484 MiB 95 % CI 483–485 483–485 5 1 / 5
4 more metrics
Metric Median 95 % CI n Rank
CPU
Parallelism 3.40 cores 95 % CI 3.38–3.43 3.38–3.43 5 —
Measurement quality
Hypervisor steal 0.0 % — 5 1–5 / 5 . Not separated from tsc 6.0 · stable, tsc 7.0 · stable, tsc 7.1 (beta) · pre-release and tsc-rs · experimental port: the 95 % intervals overlap, so this run does not establish their order.
Host load 2.09 runnable tasks 95 % CI 1.89–2.37 1.89–2.37 5 1–5 / 5 . Not separated from tsc 6.0 · stable, tsc 7.0 · stable, tsc 7.1 (beta) · pre-release and tsc-rs · experimental port: the 95 % intervals overlap, so this run does not establish their order.
CPU clock 3,479 MHz 95 % CI 3,429–3,544 3,429–3,544 5 —

t3code · check on one core

Compile

  • one core
Metric Median 95 % CI n Rank
Wall time 1,551 ms 95 % CI 1,544–1,554 1,544–1,554 5 1 / 5
CPU time 1,550 ms 95 % CI 1,544–1,553 1,544–1,553 5 1 / 5
Peak memory 254 MiB 95 % CI 254–254 254–254 5 1 / 5
4 more metrics
Metric Median 95 % CI n Rank
CPU
Parallelism 1.00 cores 95 % CI 1.00–1.00 1.00–1.00 5 —
Measurement quality
Hypervisor steal 0.0 % — 5 1–5 / 5 . Not separated from tsc 6.0 · stable, tsc 7.0 · stable, tsc 7.1 (beta) · pre-release and tsc-rs · experimental port: the 95 % intervals overlap, so this run does not establish their order.
Host load 2.32 runnable tasks 95 % CI 1.98–2.53 1.98–2.53 5 1–5 / 5 . Not separated from tsc 6.0 · stable, tsc 7.0 · stable, tsc 7.1 (beta) · pre-release and tsc-rs · experimental port: the 95 % intervals overlap, so this run does not establish their order.
CPU clock 3,609 MHz 95 % CI 3,608–3,836 3,608–3,836 5 —

XState · check

Compile

  • 4 cores
Metric Median 95 % CI n Rank
Wall time 482 ms 95 % CI 479–490 479–490 5 1 / 5
CPU time 1,401 ms 95 % CI 1,398–1,406 1,398–1,406 5 1 / 5
Peak memory 251 MiB 95 % CI 250–251 250–251 5 1 / 5
4 more metrics
Metric Median 95 % CI n Rank
CPU
Parallelism 2.91 cores 95 % CI 2.89–2.92 2.89–2.92 5 —
Measurement quality
Hypervisor steal 0.0 % — 5 1–5 / 5 . Not separated from tsc 6.0 · stable, tsc 7.0 · stable, tsc 7.1 (beta) · pre-release and tsc-rs · experimental port: the 95 % intervals overlap, so this run does not establish their order.
Host load 2.11 runnable tasks 95 % CI 1.99–2.45 1.99–2.45 5 1–5 / 5 . Not separated from tsc 6.0 · stable, tsc 7.0 · stable, tsc 7.1 (beta) · pre-release and tsc-rs · experimental port: the 95 % intervals overlap, so this run does not establish their order.
CPU clock 2,499 MHz 95 % CI 2,450–2,794 2,450–2,794 5 —

XState · check on one core

Compile

  • one core
Metric Median 95 % CI n Rank
Wall time 1,057 ms 95 % CI 1,054–1,068 1,054–1,068 5 1 / 5
CPU time 1,057 ms 95 % CI 1,053–1,067 1,053–1,067 5 1 / 5
Peak memory 205 MiB 95 % CI 205–205 205–205 5 1 / 5
4 more metrics
Metric Median 95 % CI n Rank
CPU
Parallelism 1.00 cores 95 % CI 1.00–1.00 1.00–1.00 5 —
Measurement quality
Hypervisor steal 0.0 % — 5 1–5 / 5 . Not separated from tsc 6.0 · stable, tsc 7.0 · stable, tsc 7.1 (beta) · pre-release and tsc-rs · experimental port: the 95 % intervals overlap, so this run does not establish their order.
Host load 2.11 runnable tasks 95 % CI 1.99–2.45 1.99–2.45 5 1–5 / 5 . Not separated from tsc 6.0 · stable, tsc 7.0 · stable, tsc 7.1 (beta) · pre-release and tsc-rs · experimental port: the 95 % intervals overlap, so this run does not establish their order.
CPU clock 3,543 MHz 95 % CI 3,504–3,643 3,504–3,643 5 —

TypeORM · emit

Compile

  • 4 cores
Metric Median 95 % CI n Rank
Wall time 943 ms 95 % CI 930–954 930–954 5 1 / 5
CPU time 3,130 ms 95 % CI 3,124–3,143 3,124–3,143 5 1 / 5
Peak memory 326 MiB 95 % CI 324–333 324–333 5 1 / 5
4 more metrics
Metric Median 95 % CI n Rank
CPU
Parallelism 3.32 cores 95 % CI 3.30–3.36 3.30–3.36 5 —
Measurement quality
Hypervisor steal 0.0 % — 5 1–5 / 5 . Not separated from tsc 6.0 · stable, tsc 7.0 · stable, tsc 7.1 (beta) · pre-release and tsc-rs · experimental port: the 95 % intervals overlap, so this run does not establish their order.
Host load 2.10 runnable tasks 95 % CI 1.94–2.30 1.94–2.30 5 1–5 / 5 . Not separated from tsc 6.0 · stable, tsc 7.0 · stable, tsc 7.1 (beta) · pre-release and tsc-rs · experimental port: the 95 % intervals overlap, so this run does not establish their order.
CPU clock 3,393 MHz 95 % CI 3,332–3,490 3,332–3,490 5 —