Open Bug 1175904 Opened 5 years ago Updated 2 years ago

Poor scrolling performance on SVG heavy New York Times pages due to unnecessary invalidation

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

Tracking Status
firefox39 --- affected
firefox40 --- affected
firefox41 --- affected

People

(Reporter: FlorinMezei, Unassigned)

References

()

Details

(Whiteboard: gfx-noted [platform-rel-NYTimes][invalidation])

Attachments

(1 file)

Attached file scratchpad1.js
This is a followup on bug 1077842. The fix there brought an improvement of ~1 second on Windows (though still ~1 second slower than before), and almost no improvement for Mac OS X or Ubuntu, which are still pretty bad.

Measurements below were taken using Firefox 39 Beta 6, and the following steps:
1. Open http://www.nytimes.com/interactive/2013/01/29/us/where-50000-guns-in-chicago-came-from.html?ref=us&_r=2
2. Run attached script in ScratchPad with chrome privileged

- Windows 7 x64 - improvement of ~1 sec compared to 34.0.5; ~0.9 sec slower than 32.0.3
   * 39.0b6 = 2145.46 ms
   * 35.0b5 = 2448.84 ms
   * 34.0.5 = 3107.64 ms
   * 32.0.3 = 1272.68 ms
- Mac OS X 10.9.5 - regression of ~0.2 sec compared to 34.0.5; ~2.0 sec slower than 32.0.3
   * 39.0b6 = 3161.73 ms 
   * 35.0b5 = 3421.48 ms
   * 34.0.5 = 2978.48 ms
   * 32.0.3 = 1163.52 ms
- Ubuntu 14.04 x64 - improvement of ~0.3 sec compared to 34.0.5; ~4.3 sec slower than 32.0.3
   * 39.0b6 = 6021.93 ms
   * 35.0b5 = 6158.28 ms
   * 34.0.5 = 6341.24 ms
   * 32.0.3 = 1743.12 ms

Measurements for Aurora 40 and Nightly 41 on Windows showed very similar numbers to 39 Beta.
platform-rel: --- → ?
Whiteboard: gfx-noted → gfx-noted [platform-rel-NYTimes]
platform-rel: ? → ---
Summary: Scrolling performance on SVG heavy New York Times page still bad after fix for bug 1077842 → Poor scrolling performance on SVG heavy New York Times pages due to unnecessary invalidation
Whiteboard: gfx-noted [platform-rel-NYTimes] → gfx-noted [platform-rel-NYTimes][invalidation]
Using page down/page up doesn't work either. The New York times has a little jump before each big jump.
You need to log in before you can comment on or make changes to this bug.