mirror of
https://github.com/kuhyx/todo-app.git
synced 2026-11-10 20:27:01 +01:00
Keeps the diagnostic used to produce docs/desktop-performance-findings.md, so the web proof-of-concept can be measured against the same numbers rather than a freshly-written and differently-behaving probe. Armed only by TODO_FRAME_STATS=1, so it is inert in normal use. It reports: - individual slow frames, not per-second percentiles -- a user-visible hitch is one long frame, which averaging over a 61-frame window hides completely; - event-loop blocking via a periodic timer, which is unambiguous where frame gaps are not (a static UI produces no frames, so an idle user and a stalled isolate look identical); - every frame when TODO_FRAME_STATS_ALL=1, for raster-cost-vs-window-size sweeps. The capture screen gets a spinner under the same flag because cadence can only be sampled while something animates continuously. Its branch is unreachable under the test runner, hence coverage:ignore -- the suite stays at 100%. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| capture_screen.dart | ||
| markdown_view.dart | ||
| note_detail_screen.dart | ||
| note_editor.dart | ||
| notes_list_screen.dart | ||
| settings_screen.dart | ||