Lokyr
Documentation

The first windows first

Measured on 25 November 2026, from 14:49 to 15:05, from a terminal with VS Code closed. Lokyr's start built the menu bar twice before its first window: once as the plugins' activation ended, and again after it. It also took its global keys twice, and set the Dock's icon, watched the config and started the updates' checks before that window. When the system started Lokyr to open a script, a folder or a link, that window opened only after all of this. The start now opens its first windows first, and sets the menu bar and the global keys once after them, together with the Dock's icon, the config's watch and the updates. This session measures that change against 1.5.0. Its script, run.sh, its analysis, analyze.py, the results and the tables are in startup-F5b-78.

Method

The copies were two bundles signed alike, neither notarized: 1.5.0's tag (A) and the change's (B). Both used the sessions' base config, which leaves the updates' checks on.

The Mac was an Apple M5 Pro on AC power, the display a Dell U3417W at 60 Hz. The load average was 2.9 at the start and 1.2 to 4.8 later, with other apps open in the background.

Results

MeasureA, 1.5.0BB − A, its 95 % interval
The window on screen, ttybench's median318.4 ms311.3 ms−7.1 ms, −16.9 to −0.9
The script running, ttybench's median657.3 ms645.5 ms−11.8 ms, −19.5 to −4.8
The first frame, lokyr-bench's mean of four rounds242.7 ms231.3 ms−11.3 ± 9.6 ms
The window after the floor app's, ttybench's median60.3 ms58.1 ms−2.2 ms, −18.4 to +10.8

What is left before the first window

Most of what remains before the first window is AppKit's own work. Creating the window takes some 25 ms. The window also comes later than the floor app's because of when it is made: the floor app shows its window before AppKit's launch runs, while Lokyr makes its window as that launch ends, once it knows whether the system started it to open files. The catalogs of the texts that Lokyr shows take 0.09 ms once their code is in memory, so reading them on another thread would gain little more than that code's first load.