Skip to content

perf(studio): no findings stall every few seconds - #69

Merged
sp00ktober merged 3 commits into
mainfrom
studio/stalls
Oct 13, 2026
Merged

sp00ktober merged 3 commits into
mainfrom
studio/stalls

Conversation

@sp00ktober

Copy link
Copy Markdown
Contributor

The findings re-check parsed the built PAC's 103 clips twice on the GUI thread every ~3.7 s: a 250–480 ms stall in every tab, seen as skipped frames in clip playback and hitches while panning (since #31).

The clip table is now parsed once per PAC (read-only), and a timed re-check that costs over 50 ms waits a minute before the next; an edit still re-checks at once.

Measured with a 10 ms stall probe:

  • offscreen, idle 60 s: 16 stalls (~5.7 s frozen) → 0;
  • panning the Behaviour canvas 45 s: 14 stalls → 1 (the first draw);
  • GL clip playback under Xvfb 60 s: 14 frame gaps over 50 ms → 0, 41 → 57 paints/s.

🤖 Generated with Claude Code

sp00ktober and others added 3 commits October 13, 2026 20:22
…sked every few seconds

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…f to a minute; a change still re-checks at once

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@sp00ktober
sp00ktober merged commit bac9955 into main Oct 13, 2026
5 checks passed
@sp00ktober
sp00ktober deleted the studio/stalls branch October 13, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant