Lokyr
Documentation

The window's motion, its resize and the cursor's fades, against Ghostty's

On this page

Measured on 2026-11-05, between 09:07 and 09:44, of the session's script, its analysis and their figures in motion-F3-152, run.sh, analyze.py, figures.csv and the probe's reports: whether a window's drag, its resize, the translucency, the blur and the cursor's fades cost Lokyr frames that Ghostty does not lose, as a drag had looked less fluid than Ghostty's and a powerline prompt had flickered through a resize.

Method

Results

The means of the two rounds; 9.4 s of motion a run.

A drag

ConfigurationFrames a secondMissedDelay p50p95Window server's CPUApp's CPU
Lokyr, opaque, a switch57.520.513.4 ms27.2 ms24 %3 %
Lokyr, opaque, fades58.610.013.1 ms20.6 ms32 %3 %
Lokyr, translucent, a switch57.619.013.1 ms14.0 ms31 %4 %
Lokyr, translucent, fades57.223.013.3 ms21.0 ms28 %3 %
Lokyr, blur, a switch58.213.513.1 ms21.8 ms29 %3 %
Lokyr, blur, fades57.917.512.8 ms27.1 ms34 %3 %
Ghostty, opaque58.313.012.5 ms13.5 ms36 %4 %
Ghostty, translucent57.916.512.7 ms21.5 ms33 %5 %
Ghostty, blur57.321.012.4 ms21.0 ms35 %5 %

A resize

ConfigurationFrames a secondMissedDelay p50p95Window server's CPUApp's CPU
Lokyr, opaque, a switch56.628.512.0 ms19.4 ms39 %17 %
Lokyr, opaque, fades56.827.011.9 ms13.3 ms40 %17 %
Lokyr, translucent, a switch56.628.512.1 ms27.8 ms40 %16 %
Lokyr, translucent, fades56.628.012.0 ms20.5 ms39 %16 %
Lokyr, blur, a switch56.826.012.1 ms28.2 ms37 %15 %
Lokyr, blur, fades56.827.011.8 ms20.4 ms40 %16 %
Ghostty, opaque57.025.011.3 ms27.7 ms43 %35 %
Ghostty, translucent56.628.511.9 ms20.3 ms40 %32 %
Ghostty, blur57.717.511.2 ms27.5 ms44 %34 %

The prompt's flicker

A slow-motion recording, 240 frames a second, showed the powerline prompt's line gone for about 190 ms at a time through a resize in Lokyr, and never in Ghostty. zsh draws the prompt again in one write within a millisecond of each signal, 40 of 40 sizes told in a second. A log of the pane's steps through a resize of that shell found the cause: the screen waited for output from the first size that the program had not answered, so that the program's answer to one size, which no frame had copied yet, ended the wait of the next, whose step had cleared the prompt; 30 of 71 copies of the screen showed it cleared. Each size now waits for output after its own signal, 4d12d0b; of the next resize, no copy showed it cleared, 45 of 45, and the flicker was gone.

After the live resize at the display's rate, and at 120 Hz

A later change had a step of a live resize draw in its own transaction past a frame within half a refresh. Of a resize of 10 s on the Dell P2721Q at 60 Hz, the window of the session's: Lokyr's frames 53.9 a second while Instruments recorded and 56.7 without it, the window server's 59.2, 3 missed, where 29.8, 56.6 and 28.5 before.

Measured on 2026-11-05, between 11:09 and 11:16, of promotion/run.sh and its reports: the built-in display the main one, in ProMotion at 120 Hz, every window on it; of 9.4 s of motion a run, and of each display's swaps apart, as the table names both displays alike.

RunThe app's frames a secondThe window server's frames a secondMissed
Lokyr, a resize, opaque106.7113.942
Ghostty, a resize, opaque192.1119.91
Lokyr, a drag, blurred, of the fades0119.64
Ghostty, a drag, blurred2.6118.416