Lokyr
Documentation

Drawables at 60 Hz

Measured on 2026-10-30 by hand, with the performance overlay, on two bundles of the same code but the drawables' count: two and three per window. The overlay's display wait is how long a frame waited in nextDrawable, and its CPU the rest of the frame.

Machine

At 120 Hz, from the log

On 2026-10-30, the MacBook's own display, ProMotion, at 120 Hz: each bundle started with the overlay on, which logs its numbers each second, and 30 s of yes written into its pane's terminal. The logs are in drawables-F2-57/.

Under output, over 30 sTwo drawablesThree drawables
Frames a second, the median120120
Display wait, the median of the seconds' medians0.34 ms, from 0.33 to 0.350.34 ms, from 0.32 to 0.36
The longest wait, the median of the seconds'0.52 ms0.53 ms
The longest wait0.64 ms3.88 ms, once
Output108 MB/s107 MB/s

At 120 Hz, two drawables never keep a frame waiting: the third changes nothing.

At 60 Hz, as read on the overlay

Two drawablesThree drawables
Output, yes, at 60 Hz60 frames a second; CPU 0.14 ms; display wait 1.50 ms60 frames a second; CPU 0.13 ms; display wait 1.25 ms
A live resize, during the outputdisplay wait 15 msdisplay wait 15 ms