You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
StepTree.svelte's built.nodes.filter(matchesFilter) — O(N) per keystroke in the search box.
The tree sidebar renders every matching row; at 10k steps that's DOM-heavy. Probably wants windowed rendering (e.g. svelte-virtual-list) before we hit that scale.
Ask
Generate synthetic fixtures: 1k, 5k, 10k-step paths. Realistic-ish mix of text turns + Edit/Write/MultiEdit tool steps.
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
buildTree(preview.doc)— full O(N) walk on every preview mutation (see toolpath-desktop: buildTree re-normalizes on any preview mutation #39).renderMarkdown(t.text)per turn per render (see toolpath-desktop: memoize markdown rendering per chat turn #38).diff.raw.split("\n")per tool turn per render.StepTree.svelte'sbuilt.nodes.filter(matchesFilter)— O(N) per keystroke in the search box.svelte-virtual-list) before we hit that scale.Ask
1k,5k,10k-step paths. Realistic-ish mix of text turns + Edit/Write/MultiEdit tool steps.treeQuerykeystroke