Lokyr
Documentation

Lokyr against the other terminals, of 1.4.0's code

On this page

Measured on 21 and 22 November 2026, from 23:08 to 01:17, on 1.4.0's bundle of commit 313f5a5a, against Ghostty, Alacritty, kitty and iTerm2, each of its version of that day, in one session, by the comparison's tool, compare.py, of the first comparison's conditions and configs. WezTerm is left out, and Terminal.app too, whose profile compare.py setup writes by AppleScript, which timed out twice in the session; the comparison of 13 November tells both. The raw results are in compare-F5a-78/, the session's script in run.sh and its log in session.log; python3 tools/bench/compare_tables.py compare-F5a-78 makes the tables of the raw results, and python3 tools/bench/report_charts.py compare draws the charts, which the README shows.

The figures of this report compare within it alone. Every terminal's latency came 3 to 5 ms later at the median than on 13 November, and Lokyr's and Ghostty's cat some 7 % slower, of the same versions for Ghostty and Alacritty: the session's own, as 1.4.0's A/B found its output slower than the sessions before for both versions that it measured.

In short

MeasureLokyrIts place of 5The best of the others
Startup to the first window, median253.2 ms1stAlacritty, 270.8 ms
Memory at rest, without the GPU's28.6 MB1stAlacritty, 31.3 MB
Interrupt wakeups at rest0.35 a second2ndAlacritty, 0.33
cat of 1 GiB on screen293.5 MiB/s2ndGhostty, 305.5 MiB/s
The CPU's energy to show that GiB16.8 J1stkitty, 42.2 J
kitty's benchmark, its six testsThe fastest, or within 1 %, in each1stGhostty, within 1 % in Unicode
A key to its echo at 60 Hz, median22.4 ms1stAlacritty, 23.6 ms
A key to its echo at 60 Hz, p9929.5 ms1stkitty, 33.1 ms
A key to its echo at 60 Hz, next to a flood, median18.7 ms2nd of 4Alacritty, 17.6 ms

Startup to the first window, median of 10 runs: Lokyr 253 ms, Alacritty 271, Ghostty 304, iTerm2 598, kitty 644

Memory at rest without the GPU's: Lokyr 28.6 MB, Alacritty 31.3, Ghostty 39.6, kitty 99.6, iTerm2 144.0

Interrupt wakeups a second at rest: Alacritty 0.33, Lokyr 0.35, iTerm2 7.48, Ghostty 15.22, kitty 20.07

Throughput of cat of 1 GiB on screen, median of 5 runs: Ghostty 306 MiB/s, Lokyr 294, Alacritty 170, kitty 140, iTerm2 100

The CPU's energy to show cat of 1 GiB: Lokyr 16.8 J, kitty 42.2, Ghostty 43.5, Alacritty 43.7, iTerm2 201.6

Latency at 60 Hz, a key to its echo on screen with Typometer, median and 99th percentile: Lokyr 22.4 and 29.5 ms, kitty 23.9 and 33.1, Alacritty 23.6 and 40.3, Ghostty 24.2 and 44.0, iTerm2 25.3 and 50.8

The latency at 120 Hz was not measured again: its chart is the first comparison's, of 1 November 2026 and of the versions of then.

Conditions

TerminalVersion
Lokyr1.4.0's bundle of 313f5a5a, build 202611212117
Ghostty1.4.0
Alacritty0.17.0 (94e7c88), built of its tag, as Homebrew's cask is disabled
kitty0.51.0
iTerm23.7.8

The startup, idle, memory and energy of Lokyr, kitty and iTerm2 came first, from 23:11 to 23:17, their throughputs again from 00:43 to 01:10 as the first try's were wrong: a window of Terminal.app, which setup had left open as its AppleScript timed out, came in front of kitty's and iTerm2's halfway through their runs, which then showed cat 3.4 times slower and vtebench's later scenarios 3 to 5 times, where every one of Lokyr's matched 13 November's; kitty and iTerm2 draw their output at the pace of their frames, which macOS slows in a covered window. setup now writes Terminal.app's profile only when it measures Terminal.app.

Startup

lokyr-bench startup, which launches each terminal through LaunchServices and times its first window on screen from the process's start, a run to warm up and five, twice, the terminals' order turned between the rounds; and Lokyr's own first frame, as its presented handler tells it, in runs of its own. The spread is the range from the 10th to the 90th percentile, as a fraction of the median.

TerminalMedianp90SpreadFastestSlowest
Lokyr253.2 ms266.00.21211.6268.2
Alacritty270.8 ms284.90.09248.8297.5
Ghostty304.2 ms314.90.13264.7320.8
iTerm2598.1 ms608.20.06566.8621.5
kitty644.2 ms656.30.04629.0658.0

At rest

Each terminal alone, 10 s after its start, then 60 s of lokyr-bench idle and of its energy, then its memory, over the processes of its bundle, without the shell, iTerm2's session server among them.

TerminalProcessesPackage idle wakeupsInterrupt wakeupsFootprint without the GPU'sThe GPU'sEnergy
Lokyrlokyr0 a second0.3528.6 MB30.6 MB0.08 mW
Ghosttyghostty015.2239.6 MB132.9 MB0.59 mW
Alacrittyalacritty00.3331.3 MB53.4 MB0.08 mW
kittykitty, two kittens020.0799.6 MB42.7 MB0.19 mW
iTerm2iTerm2, pidinfo and the session's server07.48144.0 MB217.9 MB6.85 mW

Lokyr is within its budgets: no package idle wakeup, 0.35 interrupt wakeups a second, of ≤ 0.5, and 28.6 MB, of ≤ 35. Alacritty's 0.33 and Lokyr's 0.35 are 20 and 21 wakeups in a minute.

Throughput

In each terminal's window, one after the other: kitty's kitten __benchmark__, three times without its --render and three times with it; vtebench, at commit ead8003, five seconds a scenario; and cat of 1 GiB of lines of ASCII, ended with a query of the cursor, five times.

kitty's benchmark

Without --render, MB/s, the median of 3 runs; more is better:

TerminalASCIIUnicodeUnique clusters of several codepointsShort CSI sequencesLong escape sequencesImages
Lokyr305302118236307307
Ghostty303304104229306304
Alacritty1041186691208213
kitty17717256114270253

vtebench

The median time of a scenario's samples, in milliseconds; less is better. vtebench's time ends as the PTY takes the bytes, not as the terminal shows them, in whole milliseconds:

ScenarioLokyrGhosttyAlacrittykittyiTerm2
dense_cells4458126
medium_cells3467387
scrolling911176719
scrolling_bottom_region912832.5537.5
scrolling_bottom_small_region912837539.5
scrolling_fullscreen10143315534
scrolling_top_region121127242 754
scrolling_top_small_region912832.5535
sync_medium_cells34813363.5
unicode236734

cat of 1 GiB

TerminalMedianIts 5 runs
Ghostty305.5 MiB/s286.9 to 306.6
Lokyr293.5 MiB/s279.7 to 298.9
Alacritty169.8 MiB/s165.8 to 170.0
kitty139.8 MiB/s137.9 to 141.1
iTerm2100.0 MiB/s99.2 to 100.2

Energy

lokyr-bench energy, which reads the energy that the kernel bills each process, ri_energy_nj of proc_pid_rusage, over cat of 1 GiB in each terminal: the same bytes in each, whatever its rate. The kernel bills the CPU's energy alone, which leaves out each terminal's own drawing on the GPU and the window server's composition.

TerminalA GiBAt
Lokyr16.8 J308.8 MiB/s
kitty42.2 J139.2 MiB/s
Ghostty43.5 J292.4 MiB/s
Alacritty43.7 J161.7 MiB/s
iTerm2201.6 J58.1 MiB/s

Lokyr's CPU spends 0.39 of Ghostty's energy at about the same rate, as on 13 November, 0.41.

Latency

Typometer 1.1.0's own benchmark typed 200 keys into each terminal, which ran cat, so that the terminal's echo of each key was the line discipline's, and timed each from its key to the change of the window's pixels that it reads from the screen: alone, and with a second window of the same terminal beside it, flooded by yes. Its settings: 200 characters, a delay of 150 ms between them, no intermediate pauses, its native API off and its synchronous mode. Its benchmark ran of Typometer's own jar, driven without its window by a harness and a script, which put each terminal's window at the screen's top left and the flooded one at its right, compare.py open opening each terminal in turn at its prompt, of the comparison's conditions, Lokyr as it starts rather than of its benches. At 60 Hz on the main display alone; Typometer could not find its reference pattern in iTerm2 next to a flood, as on 13 November, which has no figures. The raw results are in latency/. The median, the 90th and the 99th percentiles, by the nearest rank, in milliseconds; less is better:

Terminal60 Hz, medianp90p99
Lokyr22.4 ms25.329.5
Ghostty24.2 ms29.544.0
Alacritty23.6 ms29.240.3
kitty23.9 ms29.533.1
iTerm225.3 ms39.550.8
Terminal, next to a flood60 Hz, medianp90p99
Lokyr18.7 ms24.940.8
Ghostty33.3 ms35.742.4
Alacritty17.6 ms30.435.9
kitty93.5 ms218.7411.2

Since 13 November

Each terminal against its own figures of the comparison of 13 November, of another session: a guide, not a measure of a change.