Open
Bug 752630
Opened 12 years ago
Updated 2 years ago
Something(refresh driver?) causing a reduction in ctrl+tab drawing rate
Categories
(Core :: Layout, defect)
Tracking
()
NEW
People
(Reporter: taras.mozilla, Unassigned)
Details
(Whiteboard: [Snappy:P1])
On fast hardware when one holds down ctrl+tab, every tab is drawn in sequence. On slower hardware we seem to be skipping frames and the frame skipping logic causes us to paint over every couple of seconds vs x-frames/second. This gets into a funny situation where if one switches one tab at a time at a certain rate one can see tabs switch faster than when holding down ctrl+tab when the frame-skipping path is hit.
![]() |
||
Comment 1•12 years ago
|
||
Does reducing the refresh interval help? Does turning of the delay line stuff in timerimpl help?
Reporter | ||
Comment 2•12 years ago
|
||
(In reply to Boris Zbarsky (:bz) from comment #1) > Does reducing the refresh interval help? Does turning of the delay line > stuff in timerimpl help? layout.frame_rate makes no differences. I don't know what that other thing is
Reporter | ||
Comment 3•12 years ago
|
||
bz, were you referring to nsITimer->SetDelay() ?
![]() |
||
Comment 4•12 years ago
|
||
> I don't know what that other thing is The thing that guesses when to "really" fire timers. To turn it off, change the 1.5 at http://hg.mozilla.org/mozilla-central/file/e4f9e2eab6b1/xpcom/threads/TimerThread.cpp#l241 to a 0.
Comment 5•12 years ago
|
||
When I saw this I checked my Firefox 11 build on that machine as well, and it didn't seem to happen there. Does anyone see the same behaviour?
Reporter | ||
Comment 6•12 years ago
|
||
http://people.mozilla.com/~bgirard/cleopatra/#report=6ce1d4aa3c24a3ae9b91abfe4d6687f65d0f314b recent profile
Reporter | ||
Comment 7•12 years ago
|
||
http://people.mozilla.com/~bgirard/cleopatra/#report=dc7f03ef6a3d92b7427d2099fb031257be7a7fd2 has symbols
Try adding some logging to nsWindow::DispatchPendingEvents to determine -- If it's being called regularly -- If it's calling nsWindow::DispatchStarvedPaints regularly (and if not, why not!)
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•