Closed Bug 1054216 Opened 11 years ago Closed 11 years ago

Slow Mouse Scrolling

Categories

(Core :: General, defect)

x86_64
All
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: mp3geek, Unassigned)

Details

(Keywords: perf)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0 (Beta/Release) Build ID: 20140813133002 Steps to reproduce: Open http://multimedia.scmp.com/typhoons/ and use the scroll wheel. Actual results: Very slow mouse scrolling, unusable. Expected results: Normal mouse scrolling, smooth page movement. Chrome performs well on the site.
OS: Windows 7 → Windows 8.1
Version: 29 Branch → Trunk
Setting to NEW, confirmed 'jank', slow scrolling on site. win7 x64 running latest hourly m-c build based on cset: https://hg.mozilla.org/mozilla-central/rev/c9f8cc9ce89c Site has a lot of images, and I suspect the slowness/jank are due to decoding of images when scrolling into the viewport.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 8.1 → All
WORKAROUND general.smoothScroll.mouseWheel = false
(In reply to Jim Jeffery not reading bug-mail 1/2/11 from comment #1) > Setting to NEW, confirmed 'jank', slow scrolling on site. > > win7 x64 running latest hourly m-c build based on cset: > https://hg.mozilla.org/mozilla-central/rev/c9f8cc9ce89c > > Site has a lot of images, and I suspect the slowness/jank are due to > decoding of images when scrolling into the viewport. Maybe, but it also has scroll and resize handlers... on my mbp, I don't see much jank, but I can reproduce the CPU being hit hard nevertheless. Could you try profiling this using the gecko profiler add-on? (see https://developer.mozilla.org/en-US/docs/Performance/Profiling_with_the_Built-in_Profiler )
Flags: needinfo?(jmjeffery)
Keywords: perf
Product: Firefox → Core
Attached file profile run
Here is requested profile run, hope I did it right, never done this before.
Flags: needinfo?(jmjeffery)
Attached file 2nd try -
Not sure first profile attachment is correct, another try using app/octetstream
(In reply to Jim Jeffery not reading bug-mail 1/2/11 from comment #5) > Created attachment 8475937 [details] > 2nd try - > > Not sure first profile attachment is correct, another try using > app/octetstream You can just copy/paste the cleopatra URL. :-)
The URL is just giving the Cleopatra interface, no info if displayed until I browse to the local file. http://people.mozilla.org/~bgirard/cleopatra/# If I use the 2nd try and paste it into the interface I get profile.. Hope this helps.
Flags: needinfo?(gijskruitbosch+bugs)
AFAICT this is caused by the skrollr.min.js library and how it's invoked from a scroll handler (s.refresh call in checkScrollChapter). At the moment it's not clear to me why this is, but I would bet on our scroll events being different from Chrome's and that causing "issues" with the aforementioned library. Basically, the code manually sets scrollTop when it gets scroll events. Without more details pointing to how we pass "wrong" values (which I doubt, but hey, theoretically possible) that cause this, I don't really know what we can do here without spending a full day trying to unminimize the script and how the page invokes it, and why it breaks in Firefox but not webkit/blink.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(gijskruitbosch+bugs)
Resolution: --- → INCOMPLETE
Moving from Core::Untriaged to Core::General https://bugzilla.mozilla.org/show_bug.cgi?id=1407598
Component: Untriaged → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: