High CPU usage on web page with Phoenix 0.4 (build 20021108)

Discussion of bugs in Mozilla Firefox
Post Reply
Jugalator
Posts: 282
Joined: November 9th, 2002, 11:10 am
Location: Sweden
Contact:

High CPU usage on web page with Phoenix 0.4 (build 20021108)

Post by Jugalator »

I happened to get to this swedish site (not that I watch the crap known as Fame Factory). What caught my attention more than the actual site, was that the CPU load (on a P4 1.6 GHz, mind you) immediately got noticeable and was shown to be at around 40% according to the Task Manager.

The site: http://www.aftonbladet.se/noje/famefactory/

This 30-50% CPU load is regardless of the tab open as well. I still have the high CPU load when typing this post, as I have the site open in another tab in the same instance of Phoenix.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20021108 Phoenix/0.4
User avatar
RAF
Moderator
Posts: 12609
Joined: November 5th, 2002, 2:19 pm
Location: .nl

Re: High CPU usage on web page with Phoenix 0.4 (build 20021

Post by RAF »

Jugalator wrote:I happened to get to this swedish site (not that I watch the crap known as Fame Factory). What caught my attention more than the actual site, was that the CPU load (on a P4 1.6 GHz, mind you) immediately got noticeable and was shown to be at around 40% according to the Task Manager.



After loading the page it drops back to 2%...
RAF
Jugalator
Posts: 282
Joined: November 9th, 2002, 11:10 am
Location: Sweden
Contact:

Post by Jugalator »

Weird, the page loads correctly and all that, but if I close it, I go to 0% load. I reopen and immediately get at least 30% again??

Update: Could it be because of the flash thing? Hover your mouse at the title image. Your mouse pointer will leave a trail after it. Perhaps that's very CPU intensive for some reason? But I get the slowdown even if not hovering the mouse there
User avatar
RAF
Moderator
Posts: 12609
Joined: November 5th, 2002, 2:19 pm
Location: .nl

Post by RAF »

Jugalator wrote:Weird, the page loads correctly and all that, but if I close it, I go to 0% load. I reopen and immediately get at least 30% again??

Update: Could it be because of the flash thing? Hover your mouse at the title image. Your mouse pointer will leave a trail after it. Perhaps that's very CPU intensive for some reason? But I get the slowdown even if not hovering the mouse there


I tried and the mouse cursor doesn't leave a trail :(

Not in the 0.4 Milestone and not in the november 12-build

Sorry, RAF
User avatar
Stefan
Posts: 2051
Joined: November 5th, 2002, 2:46 am

Post by Stefan »

Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3a) Gecko/20021108 Phoenix/0.4
On a 450MHz Celeron I have absolutely no problems on that page.
User avatar
Ploum
Posts: 245
Joined: November 11th, 2002, 3:14 am
Contact:

Post by Ploum »

I open the page in background without surfing on it :

it use 72% of CPU, then drop to 30-40% until I close the tab (2%)

I use 0.4 pn WinXP (duron800-256Mo)
Image
User avatar
Stefan
Posts: 2051
Joined: November 5th, 2002, 2:46 am

Post by Stefan »

Hmmm, XP/NT specific bug?
User avatar
michel v
Posts: 145
Joined: November 5th, 2002, 8:54 am
Location: Corsica
Contact:

Post by michel v »

Probably not platform-specific, I get a very high processor usage (50~60%) while loading and then 30% when it's done loading and idling.
That's on Linux Mandrake 9, running the 20021112 Phoenix nightly.
MediumDave
Posts: 21
Joined: November 5th, 2002, 9:11 am

Post by MediumDave »

Got this in .4, but if not gone, greaty reduced in lastest nightly
kmwade
Posts: 18
Joined: November 14th, 2002, 5:04 pm

Post by kmwade »

Try this one:
<a href="http://www.netformx.com/" target="_blank">http://www.netformx.com/</a>

Really bogs me down in .4. Haven't tried a recent nightly.
User avatar
Stefan
Posts: 2051
Joined: November 5th, 2002, 2:46 am

Post by Stefan »

kmwade wrote:Try this one:
<a href="http://www.netformx.com/" target="_blank">http://www.netformx.com/</a>

Really bogs me down in .4. Haven't tried a recent nightly.


Hmm, thatone keeps reloading data from the site for me
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3a) Gecko/20021108 Phoenix/0.4

It makes the page get small jerking, though I guess since I'm sitting at a 10Mbit connection and download is basicly instant it might be a lot worse for slower connections(?)

It's probably some badly coded JS in the externally linked JS file, becuse turing of JS makes it go away.
http://www.netformx.com/js/nav_top.js
User avatar
laszlo
Posts: 5225
Joined: November 4th, 2002, 6:13 pm
Location: .de
Contact:

Post by laszlo »

Stefan wrote:Hmm, thatone keeps reloading data from the site for me
[...]
It's probably some badly coded JS in the externally linked JS file, becuse turing of JS makes it go away.

Yes, they're doing something great: they attach a function to reload the page to the window.onerror event handler. Not really a good idea...
ssstraub
Posts: 109
Joined: November 6th, 2002, 4:44 pm
Location: Houston, TX
Contact:

Post by ssstraub »

Hahahahaa! :D

That http://www.netformx.com site is a hoot!! Great programming job! LOL

I'm sorry, but I just thought that was pretty hilarious to watch the site constant reload every 1 second.
Using Phoenix 0.4 on XP SP1.
kmwade
Posts: 18
Joined: November 14th, 2002, 5:04 pm

Surprise, surprise

Post by kmwade »

It works fine in Internet Exploder.
User avatar
Stefan
Posts: 2051
Joined: November 5th, 2002, 2:46 am

Re: Surprise, surprise

Post by Stefan »

kmwade wrote:It works fine in Internet Exploder.


Yeah, that is what happens when people don't know what they are doing and only test their stuff in one browser.
Post Reply