MemPressure v1.4.2
Energy efficiency improvements
Two changes that meaningfully reduce 12-hour energy cost for an always-on menu-bar app.
Pause when display sleeps
Polling and the cog animation now stop when the display turns off, and resume on wake. Hours spent with the laptop closed or display asleep no longer accumulate WindowServer recompositing or kernel wakeups against MemPressure.
Hash-based bitmap cache
The menu-bar bitmap is only redrawn when the visible pixels would actually change (quantized percents, sparkline history, formatted strings, colors, layout). Stable ticks skip the NSImage allocation and per-renderer draw work.
Also under the hood
DispatchSourceTimerwith 200 ms leeway replacesTimer.scheduledTimer, letting the kernel coalesce our polls with other system timers.
No visible behavior changes. Cog animation, popover, all UI exactly as before.