Lokyr
Documentation

Lokyr against the other terminals, again

On this page

Measured on 13 November 2026, from 07:53 to 10:01, on main's build of commit b5eab8e2, Lokyr 0.9.0 of 1.0.0's code, against Ghostty, Alacritty, kitty, WezTerm, iTerm2 and Terminal.app, each of its version of that day, in one session: every terminal of the first comparison measured again, by its tool, compare.py, of its conditions and its configs. The machine's measures ran by themselves from 07:53 to 09:14; Typometer's latency, at 60 Hz, came by hand from 09:20 to 10:01. The raw results are in compare-F3-268/, the session's script in run.sh and its log in session.log; python3 tools/bench/compare_tables.py 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: those of the first comparison came of other versions, another day's load and, for the latency, another display.

In short

MeasureLokyrIts place of 7The best of the others
Startup to the first window, median237.5 ms1stAlacritty, 274.1 ms
Memory at rest, without the GPU's27.8 MB1stAlacritty, 31.1 MB
Interrupt wakeups at rest0.35 a second1stAlacritty and Terminal.app, 0.37
cat of 1 GiB on screen317.5 MiB/s2ndGhostty, 327.7 MiB/s
The CPU's energy to show that GiB16.9 J1stAlacritty, 40.2 J
kitty's benchmark, its six testsThe fastest, or equal, in each1stGhostty, equal in long escape sequences
A key to its echo at 60 Hz, median18.5 ms2ndTerminal.app, 18.4 ms
A key to its echo at 60 Hz, p9024.4 ms1stAlacritty, 27.3 ms
A key to its echo at 60 Hz, next to a flood, median25.0 ms2nd of 6Alacritty, 16.6 ms

Startup to the first window, median of 10 runs: Lokyr 238 ms, Alacritty 274, Terminal.app 283, Ghostty 296, WezTerm 355, kitty 628, iTerm2 814

Memory at rest without the GPU's: Lokyr 27.8 MB, Alacritty 31.1, Terminal.app 34.2, WezTerm 36.6, Ghostty 40.3, kitty 99.3, iTerm2 147.9

Interrupt wakeups a second at rest: Lokyr 0.35, Alacritty 0.37, Terminal.app 0.37, WezTerm 1.38, iTerm2 7.62, Ghostty 14.72, kitty 21.05

Throughput of cat of 1 GiB on screen, median of 5 runs: Ghostty 328 MiB/s, Lokyr 318, Alacritty 174, kitty 145, iTerm2 60, Terminal.app 44, WezTerm 43

The CPU's energy to show cat of 1 GiB: Lokyr 16.9 J, Alacritty 40.2, Ghostty 40.8, kitty 42.5, Terminal.app 116.7, WezTerm 193.6, iTerm2 201.4

Latency at 60 Hz, a key to its echo on screen with Typometer, median and 99th percentile: Alacritty 20.3 and 46.0 ms, kitty 19.7 and 47.3, Lokyr 18.5 and 48.2, iTerm2 32.2 and 48.7, Terminal.app 18.4 and 48.9, Ghostty 19.8 and 49.5, WezTerm 63.3 and 75.7

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
Lokyr0.9.0-20261113, main's build of b5eab8e2
Ghostty1.4.0 (18457)
Alacritty0.17.0 (94e7c88), built of its tag, as Homebrew's cask is disabled
kitty0.50.0
WezTerm20240203-110809-5046fc22
iTerm23.7.7
Terminal.app2.15 (488.9)

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
Lokyr237.5 ms249.20.09221.2253.0
Alacritty274.1 ms288.20.09257.4298.5
Terminal.app282.5 ms293.20.08263.7308.8
Ghostty296.0 ms308.90.15264.4313.4
WezTerm355.4 ms360.40.06331.4362.7
kitty628.4 ms635.20.03613.8641.9
iTerm2814.0 ms826.00.02806.9826.5

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.3527.8 MB30.6 MB0.06 mW
Ghosttyghostty014.7240.3 MB132.9 MB0.43 mW
Alacrittyalacritty00.3731.1 MB52.1 MB0.06 mW
kittykitty, two kittens021.0599.3 MB42.7 MB0.15 mW
WezTermwezterm-gui01.3836.6 MB56.9 MB0.09 mW
iTerm2iTerm2, pidinfo and the session's server07.62147.9 MB186.1 MB5.35 mW
Terminal.appTerminal00.3734.2 MB15.2 MB0.06 mW

Lokyr is within its budgets: no package idle wakeup, 0.35 interrupt wakeups a second, of ≤ 0.5, and 27.8 MB, of ≤ 35.

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
Lokyr308313117234310311
Ghostty307308104229310308
Alacritty1041176694200221
kitty17817457115288271
WezTerm39749423280260
Terminal.app314224337051

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:

ScenarioLokyrGhosttyAlacrittykittyWezTermiTerm2Terminal.app
dense_cells44477125.522
medium_cells33673239338
scrolling81017626722136
scrolling_bottom_region81283664552.5113
scrolling_bottom_small_region81283663551.5113
scrolling_fullscreen91433149.57836139.5
scrolling_top_region12112726792 784112
scrolling_top_small_region812831.562550113
sync_medium_cells348124438140
unicode2267253434

cat of 1 GiB

TerminalMedianIts 5 runs
Ghostty327.7 MiB/s324.4 to 327.8
Lokyr317.5 MiB/s316.3 to 321.9
Alacritty173.5 MiB/s171.5 to 175.0
kitty144.5 MiB/s142.0 to 145.5
iTerm259.9 MiB/s59.6 to 60.1
Terminal.app43.9 MiB/s43.7 to 44.2
WezTerm42.7 MiB/s42.6 to 42.8

Lokyr is at 0.97 of Ghostty's rate, within the budget, as in the first comparison, 0.97 too; Ghostty 1.4.0 is 7% faster than the build of its tip that the first comparison measured.

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.9 J310.7 MiB/s
Alacritty40.2 J174.0 MiB/s
Ghostty40.8 J322.6 MiB/s
kitty42.5 J145.7 MiB/s
Terminal.app116.7 J43.4 MiB/s
WezTerm193.6 J46.2 MiB/s
iTerm2201.4 J59.1 MiB/s

Latency

Typometer 1.1.0, built from its maintained fork, typed 200 keys into each terminal, which ran cat > /dev/null, 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 asynchronous mode off. compare.py open opened each terminal in turn at its prompt, of the comparison's conditions, Lokyr as it starts rather than of its benches, the next once the one before quit. At 60 Hz on the main display alone; Typometer could not finish its run in iTerm2 next to a flood, 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
Lokyr18.5 ms24.448.2
Ghostty19.8 ms41.549.5
Alacritty20.3 ms27.346.0
kitty19.7 ms34.047.3
WezTerm63.3 ms67.775.7
iTerm232.2 ms36.648.7
Terminal.app18.4 ms34.348.9
Terminal, next to a flood60 Hz, medianp90p99
Lokyr25.0 ms38.647.2
Ghostty32.7 ms40.043.2
Alacritty16.6 ms27.038.7
kitty108.5 ms133.6275.8
WezTerm32.6 ms59.963.0
Terminal.app25.4 ms33.341.2

Since the first comparison

Each terminal against its own figures of 31 October and 1 November 2026, of other versions, another day's load and another display for the latency: a guide, not a measure of a change.