Lokyr
Documentation

The cursor's movement's cost

Measured on 2026-11-08 in one session, between 11:20 and 11:31, unattended: one build, of commit 883c868, the app of just bundle, of [cursor] movement = "instant" against "snappy". The reports are in movement-F3-72, with the session's script, run.sh, its configs, its analysis, analyze.py, and its tables, analysis.txt.

Method

As in 0.5.1's A/B, of the config of compare-F2-134, Menlo at 13 points, 120 × 40 cells, an opaque window: the latency of 200 keys, eight rounds of balanced orders, AB BA BA AB, after a warm-up of 20 keys of each setting, the same pause of 2 s before each run; idle over 60 s and memory over 10 s of the app started with open -n, 20 s after its start, two rounds. The latency's program, cat in raw mode, echoes each key, so that each moves the cursor a cell, which slides under "snappy".

Machine

Results

MeasureinstantsnappyBudget
Latency at 60 Hz, p50, the mean of 8 rounds19.54 ms22.16 ms≤ 2 frames
Latency at 60 Hz, p99, the mean of 8 rounds44.79 ms39.59 ms≤ 4.5 frames
Its samples in the first refresh, of 200 a round53 to 8723 to 36
Its samples in the fourth refresh or later6 of 15921 of 1591
Idle, package idle wakeups0 and 0/s0 and 0/s0/s
Idle, interrupt wakeups0.33 and 0.35/s0.35 and 0.35/s≤ 0.5/s
Footprint without the GPU's, at rest26.7 and 26.7 MB26.7 and 26.7 MB≤ 35 MB
GPU memory30.1 MB30.1 MB