agent-orchestrator/ui-gpui
Hibryda f797a676f4 perf(ui-gpui): isolate StatusDotView entity, document 3% CPU floor
Root cause analysis:
- 0% baseline: calloop 60Hz polling has zero measurable CPU cost
- 3% is entirely from ProjectBox::render() rebuilding ~30 header divs
  × 2 boxes × 2/sec = 120 div constructions/sec
- AgentPane + TerminalView cached (into_cached_flex) = 0% contribution
- mark_view_dirty() walks ancestors unconditionally in GPUI 0.2.2
  → StatusDotView isolation doesn't prevent parent re-render
- Fragment shaders not exposed (paint_quad accepts static color only)
- GPUI AnimationElement uses request_animation_frame = 79% CPU (vsync)

StatusDotView pattern is architecturally correct for future GPUI versions
that may implement per-view dirty isolation.
2026-03-19 23:09:56 +01:00
..
src perf(ui-gpui): isolate StatusDotView entity, document 3% CPU floor 2026-03-19 23:09:56 +01:00
Cargo.lock feat: add Dioxus and GPUI UI prototypes for framework comparison 2026-03-19 06:05:58 +01:00
Cargo.toml feat: add Dioxus and GPUI UI prototypes for framework comparison 2026-03-19 06:05:58 +01:00