Skip to content

perf(studio): define timeline viewport budgets and fixtures#2696

Draft
miguel-heygen wants to merge 1 commit into
codex/review-baseline/studio-timeline-family-c-v2from
codex/studio-timeline-d-performance-contract-v2
Draft

perf(studio): define timeline viewport budgets and fixtures#2696
miguel-heygen wants to merge 1 commit into
codex/review-baseline/studio-timeline-family-c-v2from
codex/studio-timeline-d-performance-contract-v2

Conversation

@miguel-heygen

@miguel-heygen miguel-heygen commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

What

Define measurable timeline viewport budgets, diagnostics, and deterministic large-project fixtures before changing rendering behavior.

Why

Timeline performance needs an explicit, reproducible contract. Without fixed DOM, latency, memory, and fixture budgets, later virtualization work could appear faster while silently dropping content or moving work elsewhere.

How

  • Add one budget module for mounted rows, clips, descendants, interaction latency, frame cadence, long tasks, memory return, and run quorum.
  • Add diagnostics that expose mounted timeline work through the existing Studio test hook.
  • Add deterministic 1,000- and 50,000-element fixture generation with dense-short coverage.

This is D1 of the independent Family D draft Graphite stack. Its review base is the immutable, PR-less Family C baseline; Families A-C do not need to merge for this PR to be reviewed. It supersedes the owned behavior from legacy PRs #2631 and #2632, which remain open for audit until landing.

Test plan

  • Unit tests added/updated
  • Manual testing performed
  • Documentation updated (not applicable)

Validated on the exact Family D tip with 279 focused tests, the full Studio suite (2,939 passed; 18 todos), Studio Server files tests (67 passed), both package typechecks, oxfmt, oxlint, diff and file-size checks, Fallow with zero introduced findings, and two consecutive strict 50,000-element Chromium passes.

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