Updates

Aria 0.1.9.5

Lighter. Aria now uses about a fifth of the CPU it did while your agents work, and What's new opens where it should.

Arush PogulakondaDeveloper of Aria

Release, 1 min read

Since 0.1.9.1, Aria at rest has used more CPU than it should, and we couldn't say why. This release finds it.

When an agent is working, the small dot in the closed notch breathes. That breathing was a SwiftUI animation, and SwiftUI redrew the whole notch for every frame of it, about 140 times a second, for as long as any agent was busy. Aria's other pause rules didn't catch it, because the notch is never covered. The dot now breathes on a Core Animation layer. macOS animates it on its own, so it costs Aria nothing.

We measured it the same way each time: 0.1.9.4 and 0.1.9.5 on the same Mac with the same agents, one after the other, alternating. Over two pairs of 20-second windows, 0.1.9.5 used 1.3 s of CPU where 0.1.9.4 used 6.6 s, and 0.6 s where it used 3.0 s. That's about a fifth. The dot looks the same.

Aria also checks which agent logs are on your Mac less often. It used to look every 15 seconds on the main thread, on top of the look the capture loop already takes. It now reuses that look for up to a minute.

One fix. On the first launch after an update, What's new could open at the end of its notes. It used to hold itself at the top only for a moment after opening, and the first launch of a freshly installed copy can be slower than that. It now stays at its first item until you scroll it.

If you already have Aria, it updates itself.