Skip to content

v2.23.2

Choose a tag to compare

@zoltanam zoltanam released this 17 Jul 02:02

Performance

Settings opens ~8× faster — roughly 4 seconds down to about half a second.

Opening Settings built and mounted all 24 panels (~1100 widgets) up front, then immediately hid 23 of them. Because each mount re-applies the stylesheet against a growing widget tree, the cost was closer to (number of mounts × tree size) than to 24 × one panel — so you paid for every panel to render just to look at one.

Panels are now built the first time you select them, and cached from then on:

before after
Open Settings ~3996 ms ~524 ms
First visit to a panel 335–647 ms
Revisit 98–242 ms

The cost is moved rather than erased: you pay for a panel the first time you open it, and never for the panels you don't. Every panel stays reachable and searchable before it's built, per-panel Save and the unsaved-changes guard are unaffected.

Upgrade: pipx upgrade servonaut (or pip install -U servonaut).