Skip to content

Canvas pans at 40–50fps with 200 items — needs viewport culling to hit the PR-021 60fps floor #8

Description

@dremnik

PR-021 sets a 60fps floor for a 200-item canvas (mixed images / video posters) on Apple Silicon, with viewport culling for off-screen items.

Measured on the dev Mac: panning hovers around 50fps, worst dips to 40. Accepted as fine for now — deferring culling rather than blocking M3/M4.

Scope when picked up:

  • Re-measure with thumbnail-backed cards (the original measurement predates real thumbnails).
  • If still under 60: cull off-screen item shapes (tldraw canUnmount/culling hooks or manual visibility toggling), and check whether <img> decode churn during pan is the actual cost before writing code.
  • Re-run the 200-item acceptance test from v0 §7.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions