scrolltest

command
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2026 License: MIT Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL