Skip to content

Benchmarks

Full tables, hardware metadata, raw JSON datasets, and offline verification scripts live in docs/benchmarks.md. This page summarizes the methodology, headline results, and the exact workloads where other terminals still beat ghostty-webgpu.

Measured 2026-11-24 with ghostty-webgpu 0.3.34 against xterm.js 6.0.0 (WebGL addon 0.19.0), ghostty-web 0.4.0, Wraith (wraithterm) 0.6.1, and Restty 0.3.0 in headed Chromium 153 on two machines: a Linux desktop (Wayland, RTX 3060 Ti, DPR 1) and an Apple M1 MacBook (AC power, ANGLE Metal, DPR 2).

Every terminal received identical bytes, a 100x30 grid, and JetBrains Mono 14 px, with final screen text verified across 17 workloads at both 1 and 16 simultaneous terminals (34 cells per machine).

MetricLinux PCApple M1 Mac
Whole-browser CPU vs. best competitor26 wins, 5 even, 3 losses (median 0.71x)24 wins, 9 even, 1 loss (median 0.77x)
Mac kernel CPU energy (RUSAGE_INFO_V6)n/a20 wins, 4 even, 10 losses
Write acknowledgement p95 (>10% & >0.5 ms loss)4 losses (all heavy 16-terminal parsing)0 losses
Cold download (main entry, auto backend)269.2 KiB brotli269.2 KiB brotli
Cold load to first paint (unthrottled / Fast 4G)80 ms / 823 ms101 ms / 861 ms

The largest CPU leads show up on dense 16-terminal streams (rolling-unicode-logs 0.47x PC / 0.50x Mac), sparse-edits at 16 terminals (0.45x PC / 0.60x Mac), repeated-ascii (0.20x PC / 0.35x Mac), and write-queue-overload (0.40x PC / 0.51x Mac, where ghostty-web 0.4.0 crashes).

The interactive bar charts on the landing page come from the earlier paired Mac M1 run (ghostty-webgpu 0.3.21 vs. xterm.js 6.0.0, matching renderer classes, ABBA pairing). Recompute and verify those numbers locally without launching a browser:

Terminal window
node docs/benchmarks/mac-m1-2026-10-10/verify.mjs

See Renderers & fallbacks for how these findings directly shape automatic platform backend selection.