Lokyr
Documentation

Throughput, the VT core against alacritty_terminal

On this page

Measured on 2026-10-19 with just bench, after the memory and allocation tests, on the machine of the F0 baseline: an Apple M5 Pro, macOS 27.0.1, on AC power, idle but for the run. Rust 1.99.0, release builds, alacritty_terminal 0.26.0.

Method

Both cores

ScenarioBytes timedVT corealacritty_terminalRatio
cursor_motion8.5 MiB315.4 MiB/s378.4 MiB/s0.83
dense_cells25.7 MiB379.7 MiB/s404.6 MiB/s0.94
light_cells8.6 MiB1052.6 MiB/s323.1 MiB/s3.26
medium_cells8.2 MiB198.7 MiB/s269.8 MiB/s0.74
scrolling12.0 MiB85.8 MiB/s90.6 MiB/s0.95
scrolling_bottom_region12.0 MiB9.1 MiB/s230.2 MiB/s0.04
scrolling_bottom_small_region12.0 MiB12.9 MiB/s74.1 MiB/s0.17
scrolling_fullscreen8.1 MiB945.1 MiB/s267.6 MiB/s3.53
scrolling_top_region12.0 MiB9.1 MiB/s42.6 MiB/s0.21
scrolling_top_small_region12.0 MiB12.6 MiB/s76.0 MiB/s0.17
sync_medium_cells8.5 MiB202.1 MiB/s277.3 MiB/s0.73
unicode8.4 MiB146.8 MiB/s379.0 MiB/s0.39
cat of 1 GiB1024 MiB526.1 MiB/s157.9 MiB/s3.33

bolt-replay --bench replays the same file at 489.5 MiB/s, the median of 5 runs: it copies the file into chunks first, and makes the terminal at the replay's size from its default.

The VT core alone

BenchmarkThroughput
parser, plain ASCII12.6 GiB/s
parser, colored output887 MiB/s
parser, Japanese text with emoji738 MiB/s
parser, the cursor moved for every character542 MiB/s
terminal, plain ASCII1.00 GiB/s
terminal, colored output313 MiB/s
terminal, Japanese text with emoji138 MiB/s
terminal, the cursor moved for every character305 MiB/s
grid, scrolling at the scrollback's limit72.2 M rows/s
grid, writing a row of 120 columns and scrolling10.6 M rows/s
reflow, 120 to 80 columns, 1 000 to 50 000 lines828 000 to 850 000 rows/s

Plain ASCII passes the parser at memory speed, as its runs of text go to print_ascii whole. Reflow takes about 1.2 µs a row, some 11% more than criterion's earlier measure of 2026-10-16.

Against the budget

The budget is at least alacritty_terminal's throughput. The VT core passes it in three of the thirteen: cat of plain text, three times as fast, full rows that scroll, and screens full of one letter, which take the fast path of printable ASCII. It falls short in the ten others, which the performance fixes take: