GNU bug report logs -
#46350
28.0.50; touchpad-scrolling-eats-lots-of-cpu-samples
Previous Next
Full log
View this message in rfc822 format
> From: Andrey Orst <andreyorst <at> gmail.com>
> Date: Sat, 6 Feb 2021 20:33:56 +0300
>
> 1. Run emacs -q
> 2. Open some big file, in my case I've opened lisp-mode.el
> 3. Turn on fundamental-mode (optional)
> 4. Go to the end of the buffer.
> 5. Rapidly produce scroll up events from touchpad or mouse wheel
> (although it is much harder to achieve with mouse) with significant
> scroll amount. By significant scroll amount I mean continuous
> scrolling event from touchpad, which can be achieved by swiping over
> whole touchpad area very rapidly.
> 6. Observe that Emacs doesn't scroll almost at all and just waits until
> scroll events will stop. Then it scrolls correct amount.
>
> The delay I'm talking about is what bothers me.
I cannot reproduce this. Did you try "emacs -Q"?
Please load mwheel.el (NOT the .elc file!), and then profile the slow
scrolling again and show a fully-expanded profile. That might help us
understand what part of mwheel-scroll takes the lion's share of CPU
cycles.
This bug report was last modified 4 years and 132 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.