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
{{ message }}
Repository navigation
Timeline windowing starts only at 60 rows: a rich 59-row thread renders fully and lags #4445
bb 0.44.0 (desktop-v0.44.0), desktop viewport, local server.
A long, tool-heavy thread loads the latest 20 segments (not the whole history), but its initial top-level list had 59 items. ThreadTimelineRows.tsx enables top-level windowing at 60 (40 on compact screens). With 59 items the DOM had 6,616 nodes and no data-timeline-virtual-spacer; a two-row control thread had 1,054. After scrolling up loaded an older page, windowing switched on, 13 rows stayed mounted and the DOM dropped to 1,358 nodes.
Even when windowed, a scripted 30-step scroll recorded 49 long tasks of 54–146 ms (p95 215 ms per step) versus zero on the control (p95 17.5 ms). No iframes were mounted. One server timeline build logged 162.7 ms of synchronous work; the browser-side scroll is the main visible symptom.
Suggestions:
Enable windowing much earlier (for example from ~20 rows), always on, or based on estimated row cost rather than row count, since tool-heavy rows are large.
Make the threshold configurable.
A Chrome trace of the remaining scroll long tasks may show what else is heavy.
Possibly a follow-up to #1301, closed after windowing landed.
NOT REPRODUCED in the tested current-main rich-renderer fixture. Two clean optimized browser runs directly verified windowing at 20 and 59 rows after #4540; the 59-row fixture initially mounted 10 rows. Across 48 samples/1,440 scripted scroll steps, no scroll long tasks were recorded. The original private-thread/full-app latency remains unresolved; this is not a whole-issue fixed claim. Report includes all timings, scope limitations and genuine screenshots.
Activity
fix: enable timeline windowing from 20 items (#4540)
SawyerHood commentedon Sep 30, 2026
Report: https://get-bb.github.io/reports/issues/4445.html
NOT REPRODUCED in the tested current-main rich-renderer fixture. Two clean optimized browser runs directly verified windowing at 20 and 59 rows after #4540; the 59-row fixture initially mounted 10 rows. Across 48 samples/1,440 scripted scroll steps, no scroll long tasks were recorded. The original private-thread/full-app latency remains unresolved; this is not a whole-issue fixed claim. Report includes all timings, scope limitations and genuine screenshots.
ymichael commentedon Oct 2, 2026
closed by #4540