Lokyr
Documentation

Where 1.5.0's startup went

Measured on 25 November 2026, from 09:33 to 09:49, from a terminal with VS Code closed, 51 minutes after a restart. On 25 November, 1.5.0's DMG and 1.4.0's both started some 18 ms later than 1.4.0's DMG had on 22 November, and their gap to the minimal app was past its budget, at 55 ms of 35. This session looks for where that time went: in the launch's phases, in Launch Services' registrations of Lokyr's other copies, or in the measure itself. The session's script, run.sh, its analysis, analyze.py, the reports and the tables are in startup-F5b-45.

Method

The copies were 1.4.0's and 1.5.0's apps of their releases' DMGs, both notarized and stapled, copied again after the restart and started 40 times each. The config was the releases' config, with smooth scrolling and Blocks off. The session had three states:

  1. Few: Lokyr's registrations in Launch Services as they were, five copies. Two of Instruments' App Launch traces of each copy, then five rounds of both startups.
  2. Many: 20 more bundles of Lokyr's identifier and claims registered, 25 in all. Two traces of each copy again, then five rounds.
  3. Again: those bundles unregistered and deleted, then four rounds.

Each round was ten warm runs after two, to the first frame on the display, with the minimal AppKit app as its floor, in the orders AB BA BA AB BA, and the same pause of 2 s before each run. The Mac was an Apple M5 Pro on AC power, the display a Dell U3417W at 60 Hz, and the load average was 2.3 to 4.5.

Results

State1.4.01.5.0The minimal appGaps, 1.4.0 and 1.5.0
Few226.4 ms225.6 ms197.3 ms29.1 and 28.3 ms
Many223.2 ms221.3 ms169.8 ms53.4 and 51.5 ms
Again207.5 ms205.3 ms154.6 ms52.9 and 50.7 ms

Each figure is the mean of the rounds' medians.

Why the gap moves

The two figures behind the gap are not taken alike:

So a few milliseconds more of Lokyr's start can cost a whole refresh, 16.7 ms, and the minimal app's own launch path moves with the Mac's state on its own. Over the last days the gap read 20.8, 34.6, 55 and now 28 to 53 ms, of code that did not change.

What follows