100% cpu load in FF

msn - March 24, 2007 - 00:11
Project:Taxonomy Ticker
Version:5.x-1.1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

When te page with the ticker is on the monitor, I have a 100% cpu load in Firefox, not in IE.
I tested version 5.x-1.1 and 5.x-1.dev with the same result

Server:
Apache 1.3.37 Unix
PHP 5.1.6
Drupal 5.1

PC:
Windows XP
IE7 (newest)
FF (newest)

Martin

#1

mathieu - May 5, 2007 - 15:02

Sun sent a patch (http://drupal.org/node/141486) that should fix this. I'll commit it to -5.x-1.2 soon. Can you apply the patch and see if it solves this problem?

#2

msn - May 9, 2007 - 08:34

I tested TT with the patch, sorry, no good results. FF stil generates a 100% cpu load

#3

Helmut Debes - May 9, 2007 - 23:50

I am afraid I have to confirm that the ticker has always created a performance problem starting back with the 4.7 versions. It may show more in FF rather than IE or other browsers. The browser running the ticker seems to consume far too much CPU for what it is doing. When e.g. an average desktop computer is sitting there doing nothing but showing a page with the ticker running, you can see CPU utilization of more than 20%. When having more than one browser page open with a ticker running, it can easily get up to 100% CPU.

#4

mathieu - May 10, 2007 - 02:00

I've been having a look at different jQuery plugins, to find out if there would be a better way to do it... but none of the plugins I saw are really "scrolling" (it's always a fade-out/fade-in effect between elements) and most of them are cpu-intensive (though not as constantly as the current taxonomy_ticker code) the moment they change the displayed item. I'm starting to think a javascript ticker will always be cpu-intensive.

 
 

Drupal is a registered trademark of Dries Buytaert.