Skip to content

toolpath-desktop: benchmark Preview at N > 2k steps #41

@eliothedeman

Description

@eliothedeman

Follow-up from #34 review.

The Preview was exercised during #34 on a real 1737-step Claude session and felt fine. Several re-render hot paths were noted that won't matter until someone opens a longer session; worth a synthetic benchmark before they become a user complaint.

Known hot paths

Ask

  1. Generate synthetic fixtures: 1k, 5k, 10k-step paths. Realistic-ish mix of text turns + Edit/Write/MultiEdit tool steps.
  2. Measure:
    • Time to first paint after derive
    • Median render time on a treeQuery keystroke
    • Memory-resident size of the Document + parsed DOM
  3. Record the baseline; re-run after toolpath-desktop: memoize markdown rendering per chat turn #38 and toolpath-desktop: buildTree re-normalizes on any preview mutation #39 land to quantify the win.
  4. If any measurement exceeds a threshold (say 200 ms on a keystroke), open targeted follow-up issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions