You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Establish a paint-only frame budget for thinking spinners and future effects #64
Thinking/activity animation must remain smooth while typing, switching tabs, resizing, and changing transcript filters. Establish a paint-only animation path suitable for future visual effects, rather than adding effects on top of long UI-thread stalls.
Budget and invariants
Target a 16.7 ms steady-state frame-work budget for 60 Hz. The current throbber cadence is 30 Hz; a paint budget measurement is not proof of delivered terminal FPS.
Spinner ticks must not trigger transcript layout, CSS recascade, registry/file reads, or new worker/service construction.
Reuse prepared color/segment data; bound per-frame allocation and invalidated regions.
Hidden/inactive spinners should not spend the current view's frame budget.
Slow filtering/loading may show a spinner, but must not block input or animation.
Paint-only one-cell activity labels, cached throbber color tables, and native-segment parity pilots already exist. The current performance branch is fixing retention and broad filter invalidation. The full animation budget under captured real-use load remains unverified.
Measured 2026-10-17 in the real app (isolated Xvfb, copied root, Toad main after P281): 10 s of a thinking spinner with no input gave 200 animation-clock ticks, 0 layout passes (no Screen._layout_steps, no Widget.refresh(layout=True) callers), 214 paint refreshes, tick median 0.30 ms, max 1.92 ms. The spinner does not trigger transcript layout. Still not measured: animation smoothness under typing, tab switches and resize load.
Activity
trissim commentedon Sep 26, 2026
Draft PR #65 includes tools/performance/benchmark_spinner.py and existing spinner cache/parity coverage. A minimal 306x80 headless probe requested 60 Hz: 180 updates/3 s, compositor p95 1.14 ms/max 2.23 ms, zero layout/CSS-apply calls. This establishes small-scene component cost only; delivered terminal FPS and the loaded-app budget remain open.
Record footer signal and compositor measurements (#61, #64)
Record current-main footer acceptance (#64)
Merge pull request #809 from OpenHCSDev/fix/p189-hidden-effects
Merge pull request #811 from OpenHCSDev/fix/p189-visible-effect-owner
Merge pull request #812 from OpenHCSDev/fix/p193-direct-shell-barriers
trissim commentedon Oct 17, 2026
Measured 2026-10-17 in the real app (isolated Xvfb, copied root, Toad main after P281): 10 s of a thinking spinner with no input gave 200 animation-clock ticks, 0 layout passes (no Screen._layout_steps, no Widget.refresh(layout=True) callers), 214 paint refreshes, tick median 0.30 ms, max 1.92 ms. The spinner does not trigger transcript layout. Still not measured: animation smoothness under typing, tab switches and resize load.
build(P553): pin merged fixed-paint Textual (#64)
Merge pull request #989 from OpenHCSDev/fix/p553-throbber-paint