Files
magpie/internal
yetone 37c247d1fc gui: the heap grows by a quarter between reads, 16 MB at least
steadyGCStart let a window's heap grow by half of what it holds (32 MB at
least) between collections. On a real account's history, ~100 MB live,
that rested at a 171 MB footprint with a 200 MB peak. A quarter (16 MB at
least) costs the polls nothing measurable and gives the memory back.

Measured on mote (macOS 27, M5 Pro) with the owner's real account copy,
network blocked, the v0.1.3435 tree:
- idle 115s: footprint 171 -> 146 MB, peak 200 -> 166 MB, CPU 0.33s both
- 60 busy rounds of state/providers/drift/sessions/overview: CPU 5.12s
  -> 5.14s, footprint 157 -> 151 MB, peak 177 -> 169 MB

Run: go test -run 'Steady|GC|Tight' ./internal/gui on mote, ok; gofmt
clean. TestSteadyPercent's cases follow the new numbers.
2026-11-10 01:05:19 +08:00
..
…
…
…
…
…