Skip to content

Caliper 0.1.1

Choose a tag to compare

@olegklimakov olegklimakov released this 25 Aug 16:52
· 15 commits to main since this release

A performance release. Caliper cost the most in the one state you were most
likely to be looking at it — a panel open, which is the only way to read its
own figure. That is fixed, and the claim it makes about itself is now specific
about which state it describes.

What changed

  • A panel only samples what it shows. Cadence used to be decided by how
    much
    of the app was open, so opening any panel pulled the temperature sweep
    from one reading every thirty seconds to one every two — including on the
    four panels that draw no temperature at all. That sweep is the most expensive
    reading Caliper takes, by an order of magnitude. Each surface now asks for
    the metrics it actually draws and nothing else.
  • The menu bar stopped repeating itself. The strip was handing the window
    server a new label, tooltip and width on every refresh whether or not any of
    them had changed, and a module with nothing to show — a Mac that reports no
    sensors — was being re-hidden twice a second for the life of the session.
  • The disk image is an installer now. It opens with Caliper and the
    Applications folder side by side, so the instruction to drag one onto the
    other is finally something you can follow — until now the image held the app
    and nothing else, and you had to go and find Applications yourself.
  • On this Mac, with the default strip: 0.68 % of one core with the menu bar
    alone, down from 0.78 %, and 2.1 % with the CPU panel open, down from 3.2 %.
    Closing a panel now returns to where it started instead of settling at twice
    it.

About that number

"Under 1 %" is the steady state — menu bar up, nothing open — and it was never
a claim about anything else. Since the only way to see Caliper's own reading is
to open a panel, the expensive state is the one everybody meets, so the figures
above name which is which. They are shares of one core, the unit Activity
Monitor's %CPU column uses, not of the whole machine.

Requirements

macOS 15 or later, Apple Silicon. Sensors are read on a best-effort basis: what
a particular Mac will not report is hidden rather than guessed at.