Skip to content

Pacer 0.4.14

Latest

Choose a tag to compare

@github-actions github-actions released this 11 Aug 15:20
v0.4.14
f4b6151

More CPU work, this time aimed at keeping the Dashboard window open.

Optimised for the window being open

0.4.12 and 0.4.13 cut Pacer's CPU use a long way, but both were verified
with the Dashboard closed. If you keep the window open — on a second
monitor, say — that's the state that matters, and it had its own set of
problems.

Four pieces of work were repeating constantly for no benefit:

  • The burn-rate warning re-fitted a statistical model every time rate-limit
    data arrived, even though its inputs only change when the forecast is
    refit.
  • The toolbar's activity pill re-read the database on every write, to show
    a label that changes about once a minute.
  • The "Now" and "Today" tiles did the same, six times over.
  • The rate-limit charts reloaded eight days of history — about 25,700
    records — every time a poll added three new ones. They now load just
    the new ones.

No single part of Pacer now dominates its own CPU profile.

Also fixed

The "Now" tiles captured today's date and the current hour when the window
opened and kept them, so after an hour rolled over they read from the wrong
hour bucket until the window was reopened.


Requires macOS 15 or later. Update via Pacer's built-in updater, or download
below.