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
Browser service on Linux: a wheel scroll on a hidden tab still waits for the tab's frames (about 1.7 s a scroll) #630
What happens.#620 stopped Linux input from waiting for a hidden tab's next frame (Overlay.enable): a click's move went from about 755 ms to 2 ms, a drag from 4 s to under 30 ms. A wheel scroll is only partly helped. The whole scroll went from 2.9 s to 1.7 s, and its wheel event from 1.0 s to about 0.6 s, because the wheel's answer and the service's read-back of its effect still need the throttled tab, which draws about once a second, to draw (#628's evidence).
The candidate.#610 measured a 16x16 screencast kept running while the tab is driven: it restores the tab's full frame rate (a move took 9.5 ms, two animation frames 33 ms). Its cost is that the tab draws every frame while it's driven. Started per action and stopped after it, it might cost only the action's time.
To find out.
Whether a screencast held only during a scroll brings the scroll near the click's time.
What it costs in CPU on the person's machine.
Whether anything lighter does it, for example Page.startScreencast for the scroll's read-back alone, or reading the scroll position without waiting for a frame.
Relates #620. Registered by the coordinator from linux171's body (ruling 1317).
Activity