Closed Bug 328367 Opened 14 years ago Closed 13 years ago

Laggy scrolling on most of the sites

Categories

(Core :: Graphics, defect)

x86
Windows XP
defect
Not set

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ria.klaassen, Unassigned)

References

()

Details

(Keywords: perf, testcase, Whiteboard: cairo [blocking1.9a1+])

Attachments

(1 file)

Steps to reproduce:

1. Install Smoothwheel https://addons.mozilla.org/extensions/moreinfo.php?id=357
2. Set in Extensions -> Options the scrolling speed to 1/2 or 1/3 page
3. Go to Gmail, read a mail and try scrolling down.

Result: it scrolls laggy and with irregular leaps like sticky thick syrup or shivering like a jelly pudding. It is very tiring to visit and read sites that way, like I'm using a very old computer with inadequate specs.
Whiteboard: cairo
Attached file testcase
with this testcase, I can clearly see the difference between non-cairo and cairo builds.
Btw, the initial painting of the text is also a lot slower in cairo builds, which results in a much longer time where the browser freezes when it is trying to render the text.

These are my results with the horizontal and vertical scrolling tests:
Cairo build (2006-02-23) Non-Cairo build (2006-02-22)
14290ms vertical         5298ms vertical
19489ms horizontal       53337ms horizontal
Keywords: perf, testcase
Blocks: 328380, 328388
Flags: blocking1.9a1?
Blocks: 328374
Blocks: 203448
Can you re-test?  I see much closer numbers than you are seeing.
            Cairo    Non-Cairo
vertical    23904ms  6419ms
horizontal  45525ms  6630ms

Using 2006-04-05 builds of cairo and non-cairo.
As you can see, no real improvement here. Cairo builds are also at 100% cpu when scrolling (and very laggy).
I'm using a 800MHz Duron with a NVidia GeForce2MX 100/200 32MB.
Maybe the comments in bug 277762 (a similar issue I filed some time ago) might be useful somehow. See bug 277762, comment 13 and further.       
It scrolls really horrible with my AMD Athlon processor. 
Depends on: cairoperf
Blocks: cairoperf
No longer depends on: cairoperf
Blocks: 334719
No longer blocks: cairoperf
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060419 Firefox/3.0a1 ID:2006041913 Cairo and non-Cairo

            Cairo    Non-Cairo
vertical    25547ms  11287ms
horizontal  44374ms  10195ms

I'm using a 850MHz Athlon with a Matrox Milennium G200AGP/8Mb.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060601 Minefield/3.0a1 

I'm experiencing the same problem with a Pentium 4.
Same behaviour in safe mode.
Me too. I'm using:

AMD 64 X2 3800+
1 GB RAMwi
ATI Radeon 1800 XT with 512 MB
Windows XP

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060805
Minefield/3.0a1
Flags: blocking1.9a1? → blocking1.9+
(In reply to comment #1)
> Created an attachment (id=212989) [edit]
> testcase
> 
> with this testcase, I can clearly see the difference between non-cairo and
> cairo builds.
> Btw, the initial painting of the text is also a lot slower in cairo builds,
> which results in a much longer time where the browser freezes when it is trying
> to render the text.
> 
> These are my results with the horizontal and vertical scrolling tests:
> Cairo build (2006-02-23) Non-Cairo build (2006-02-22)
> 14290ms vertical         5298ms vertical
> 19489ms horizontal       53337ms horizontal
> 

I have no problem with that testcase (A64 3500+).

4594ms vertical
4562ms horizontal

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061004 Minefield/3.0a1 ID:2006100407 [cairo]

But this URL gives me very slow vertical scrolling.
http://www.konami.jp/kojima_pro/japanese/event/tgs_2006_event_01.html
(In reply to comment #8)
> I have no problem with that testcase (A64 3500+).
> 
> 4594ms vertical
> 4562ms horizontal
> 
> Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061004
> Minefield/3.0a1 ID:2006100407 [cairo]
> 
> But this URL gives me very slow vertical scrolling.
> http://www.konami.jp/kojima_pro/japanese/event/tgs_2006_event_01.html

Yeah,it's a lot better now :
I got :
4562 ms vertical.
4453 ms horizontal.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9a1) Gecko/20061003 Minefield/3.0a1 (bangbang023)

Your url is also very slow for me.
Maybe it is related to bug #328380 ?
(In reply to comment #9) 
> Your url is also very slow for me.
> Maybe it is related to bug #328380 ?

Thanks, very likely.
Found other test URLs for slow scrolling

http://ps3.ign.com/
http://forum.teamxbox.com/forumdisplay.php?f=128

They have no large fixed positioned background-image.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061005 Minefield/3.0a1 ID:2006100520 [cairo]
Whiteboard: cairo → cairo [blocking1.9a1+]
Is this still a problem?  The testcase performs identically or faster than bon echo for me, on the slowest machine I have (a 1.2ghz Low-Voltage Pentium M with 512mb ram with intel 815 graphics).
I don't see the scrolling problem in Gmail anymore. Don't know what fixed it and when.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.