Closed Bug 380251 Opened 17 years ago Closed 16 years ago

For some sites CPU uses reach 99% (http://news.softpedia.com/)

Categories

(Core :: JavaScript Engine, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 142994

People

(Reporter: rajputrajat, Unassigned)

References

()

Details

(Keywords: hang, regression, Whiteboard: DUPEME?)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

For some web pages firefox uses 99% of CPU.
for example 
http://news.softpedia.com/
I tried this site with IE7 & Opera, the result was normal, they are working with zero CPU.

Reproducible: Always

Steps to Reproduce:
1.Open the firefox.
2.type the site- http://news.softpedia.com/
3.Check the CPU uses.
Actual Results:  
CPU uses more than 80%, sometime 99%.

Expected Results:  
CPU uses must be zero percent after opening the webpage.
Version: unspecified → 2.0 Branch
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a5pre) Gecko/20070509 Minefield/3.0a5pre
This is even more a problem on trunk. In trunk it even hangs (can't close Firefox when I want). Regression range for trunk is http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=2006-08-18+15%3A00&maxdate=2006-08-19+04%3A00
but it is a slight difference. The second time you load the page it sometimes doesn't hang.
Assignee: nobody → general
Component: General → JavaScript Engine
Keywords: hang
Product: Firefox → Core
QA Contact: general → general
Version: 2.0 Branch → unspecified
Keywords: regression
Summary: For some sites CPU uses reach 99%. → For some sites CPU uses reach 99% (http://news.softpedia.com/)
Confirmed on
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a5pre) Gecko/20070509 Minefield/3.0a5pre
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070509 Firefox/2.0.0.4
OS: Windows XP → All
Whiteboard: DUPEME?
Attached file News Ticker Script
confirmed using:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a6pre) Gecko/20070626 Firefox/2.0.0.1 ID:2007062604

It is caused by the News Ticker (http://news.softpedia.com/js/scroller.js). Preventing loading this Script (e.g. with an Adblocker) circumvents the high CPU-Usage.
Since the Script claims to be "Use Freely as long as following disclaimer is intact" i've attached it.

Perhaps a Dev wants to have a quick look at it :-)
Same problem is present in:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5pre) Gecko/2008030405 Minefield/3.0b5pre
CPU usage goes to 50% on my hyper-threaded cpu.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: