MozillaZine

Scroll performance

Discussion about official Mozilla Firefox builds
njuzovi
 
Posts: 10
Joined: May 6th, 2008, 5:07 am

Post Posted May 6th, 2008, 5:25 am

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

From Firefox 3 betas I noticed poor scroll performance on some sites.

For example, on site www.fm-zagorje.org scrolling isn't fluid as it used to be in 2.0.x. When scrollling CPU usage jumps to 90%-100%. Similar poor scroll performance can be noticed on other sites and all them scrolled fine in Firefox 2.0.
Another example on this site is when user clicks red boxes under "IZ DRUGIH MEDIJA" and resizing occurs. In Firefox 3 animation is pretty slow compared to Firefox 2.0. CPU usage is 100%.

If I disable images, scrolling and animation is fluid.

I tried to search bugzilla, but i couldn't find anything relevant.

I'm testing this on laptop with centrino 1.5GHz processor so I assume that this is related to relatively slow computer speed.

maxmcn
 
Posts: 1
Joined: April 24th, 2008, 3:46 pm

Post Posted May 6th, 2008, 5:35 am

this one http://sga.gatech.edu/ even worse.

cdev
 
Posts: 88
Joined: January 29th, 2008, 12:05 pm

Post Posted May 6th, 2008, 5:42 am

That's not bad. This page even hangs my browser after a bit of slowscrolling:
http://icanhascheezburger.com/

njuzovi
 
Posts: 10
Joined: May 6th, 2008, 5:07 am

Post Posted May 6th, 2008, 5:48 am

maxmcn wrote:this one http://sga.gatech.edu/ even worse.

Yes, terrible...

If you remove 'fixed' from HTML code:
Code: Select all
body style="background: url(images/backgrid.gif) fixed repeat-x" onLoad="menuInit()"

It helps a lot...

Or, if you remove this background image completely scrolling gets normal again.

EDIT: https://bugzilla.mozilla.org/show_bug.cgi?id=90198
Last edited by njuzovi on May 6th, 2008, 6:03 am, edited 1 time in total.

njuzovi
 
Posts: 10
Joined: May 6th, 2008, 5:07 am

Post Posted May 6th, 2008, 5:53 am

cdrev wrote:That's not bad. This page even hangs my browser after a bit of slowscrolling:
http://icanhascheezburger.com/

Uh, Firefox went from 200MB to 600 in just couple of minutes...

MonztA51
 
Posts: 55
Joined: August 22nd, 2006, 9:33 am

Post Posted May 6th, 2008, 6:59 am

maxmcn wrote:this one http://sga.gatech.edu/ even worse.


this one http://www.gameswelt.de/ too

ShadowFusion
 
Posts: 1
Joined: May 6th, 2008, 8:32 am
Location: Sydney, Australia

Post Posted May 6th, 2008, 8:34 am

Same...

Try this table from W3.org CSS ref

http://www.w3.org/TR/CSS21/propidx.html

bomfog
 
Posts: 454
Joined: November 7th, 2002, 3:22 pm
Location: the palouse, SE. WA, USA

Post Posted May 6th, 2008, 9:34 am

cdrev wrote:That's not bad. This page even hangs my browser after a bit of slowscrolling:
http://icanhascheezburger.com/

Bug 430573 – lolcats website makes firefox use 1GB+ of RAM

Omega X

User avatar
 
Posts: 7765
Joined: October 18th, 2007, 2:38 pm
Location: A Parallel Dimension...

Post Posted May 6th, 2008, 10:58 am

www.fm-zagorje.org scrolls pretty fine for me.

That other sites with the fixed backgrounds is pretty bad. Though, Firefox and other browsers has always had a problem with fixed backgrounds.
Latest: Firefox/52.0.2 *ESR/52.0.2 - Mobile/52.0.2 - Thunderbird/52.0.1 - SeaMonkey/2.46
Nightly: Nightly/55.0a1 - Mobile/55.0a1 - Daily/52.0a1 - SeaMonkey/2.49a1

Faruk
 
Posts: 94
Joined: May 6th, 2008, 11:00 am
Location: Turkey

Post Posted May 6th, 2008, 11:03 am

Omega X wrote:www.fm-zagorje.org scrolls pretty fine for me.


This site not pretty fine for me...and my problem is @njuzovi's problem same too...What are we doing ?!

This is bug or not ?!

cody01
 
Posts: 22
Joined: March 13th, 2008, 11:57 am

Post Posted May 6th, 2008, 11:55 am

@Omega X
"Though, Firefox and other browsers has always had a problem with fixed backgrounds."

Which other browsers? IE, Maxthon and Opera don't have any problems at all with fixed backgrounds.

Omega X

User avatar
 
Posts: 7765
Joined: October 18th, 2007, 2:38 pm
Location: A Parallel Dimension...

Post Posted May 6th, 2008, 12:14 pm

cody01 wrote:@Omega X
"Though, Firefox and other browsers has always had a problem with fixed backgrounds."

Which other browsers? IE, Maxthon and Opera don't have any problems at all with fixed backgrounds.


Yes, IE's and Opera's scrolling does take a hit on my PC with sites that have fixed backgrounds. ITs not as bad as Firefox but its still there. The scrolling goes from smooth to choppy and is even worse when Flash is on the same page.
Latest: Firefox/52.0.2 *ESR/52.0.2 - Mobile/52.0.2 - Thunderbird/52.0.1 - SeaMonkey/2.46
Nightly: Nightly/55.0a1 - Mobile/55.0a1 - Daily/52.0a1 - SeaMonkey/2.49a1

njuzovi
 
Posts: 10
Joined: May 6th, 2008, 5:07 am

Post Posted May 7th, 2008, 2:46 am

Faruk wrote:
Omega X wrote:www.fm-zagorje.org scrolls pretty fine for me.


This site not pretty fine for me...and my problem is @njuzovi's problem same too...What are we doing ?!

This is bug or not ?!

Yes, I would really like to know.

It has something to do with image backgrounds (if I turn images off, everything seems to work fine). In bugzilla there is an entry mentioning scrolling performance in relation with transparent images, but on www.fm-zagorje.org there are no transparent image backgrounds.

I would also like to know if there is some kind of workaround that doesn't include turning off images ;)

|CK|
 
Posts: 239
Joined: January 10th, 2008, 8:13 am

Post Posted May 7th, 2008, 5:30 am

Is Firefox hardware accelerated?

Does it make use of proper acceleration, or is there no change in that department?

kindofabuzz

User avatar
 
Posts: 3859
Joined: July 20th, 2003, 1:13 am
Location: Memphis, TN

Post Posted May 7th, 2008, 6:46 am

Disable smooth srolling and your problem is pretty much solved. pretty ironic huh?
Collapse unwanted MozillaZine forum sections ** Give a man a fish and he will eat for a day; teach a man to fish and he will eat for a lifetime; give a man religion and he will die praying for a fish.

Return to Firefox Builds


Who is online

Users browsing this forum: No registered users and 2 guests