Skip to content

v0.9.4 — leaner hot paths, hardened input pairing

Choose a tag to compare

@MinhQuang28 MinhQuang28 released this 13 Aug 08:04
· 14 commits to main since this release

No behaviour changes to scrolling feel and no new settings — this release hardens input handling and shaves overhead off the real-time paths. It also includes everything from the unreleased 0.9.3.

Performance (0.9.4)

  • Cheaper locks on the hot paths. The event-tap engine, scroll animator and pinch synthesizer now use os_unfair_lock instead of NSLock on paths that run per mouse event (up to 1000 Hz on high-polling mice) and per display frame, with priority donation to whichever thread holds the lock.
  • No more per-event allocation on Cmd+scroll. The Chromium browser list used by the pinch-zoom boost was rebuilt (and substring-searched) on every zoom event; it is now a static prefix list.
  • Fewer WindowServer lookups while scrolling. The window-under-cursor cache now invalidates on the events that actually change it (Space switch, app activation, wake) instead of expiring 5×/s, removing a periodic ~0.2 ms lookup from the event-tap thread during long scrolls.

From the unreleased 0.9.3

  • Input pairing hardened. A button-up whose button-down was swallowed is now always swallowed too, no matter how the mapping/capture/enabled state changed mid-press — no more stuck buttons or stray unpaired ups. Gesture stream open/close ordering fixed across Space switches, and config decoding degrades per-field instead of discarding the whole file.
  • SMAppService and disk writes off the SwiftUI update path. Settings no longer performs an XPC round-trip inside every SwiftUI graph update, and config saves are debounced off slider drags.

Checksum

Mousse.zip sha256: 61b1b356067b60a06c07df4a882c440418a5289e84cfda8d6103816c1c68b2b2