Documentation
¶
Overview ¶
Command scrolltest is a bench for wheel/touchpad scroll smoothness.
Two lists scroll side by side, and each draws a live graph of how far its content moved per frame. A skip shows as a red spike and counts in the lane header.
Left, the control: plain text rows, no components.
Right: a component on every row (buttons, switches, slider, tabs, spinner…). Press C to swap them for plain blocks of identical height. If skips follow C, they're component-linked. If they don't, the component link was a coincidence.
U toggles Gio's wheel scaling between giokit's patch and upstream (the ~17px-per-click skip on high-resolution wheels, docs/pitfalls.md #22), for an A/B test in one build.
R resets positions and counters.
go run ./examples/scrolltest GIOKIT_TRACE=1 go run ./examples/scrolltest 2>trace.log # plus the raw events