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
Landing mid-way down a long listing takes no long task in Firefox #6482
backlogAn item on Leaf's prioritised backlog (TODO.md says how to query it)etcBacklog priority: waits for the trigger it statesuxTheme: what the user reads and does on a page
Landing in the middle of a long listing, by End, a search hit or travel, costs Firefox about 100 ms of main thread over the next two frames, including one 53 ms task. Measured on leaf-dev bench document --sizes 512 --browser firefox (about 32k lines) at e2db751, where halfway makes such a landing before the wheel steps (#6480).
About 256 runs report their content-visibility state for the first time, and lf-text-document's unpaint rebuilds every colour's highlight each time it recolours a run. Highlight.add takes 59 of the 100 ms. Rebuilding each highlight once a batch, or skipping a recolouring whose tokens match the first paint, would cut the pause inside the widget, with no new mechanism. Later wheel steps spend nothing on colour.
It is a one-time pause on a path readers take rarely. Trigger: a reader notices the pause, or leaf-dev bench times a landing and shows it.
This was written by Claude Code on behalf of max-sixty
backlogAn item on Leaf's prioritised backlog (TODO.md says how to query it)etcBacklog priority: waits for the trigger it statesuxTheme: what the user reads and does on a page
Activity