[Bug 185469] Re: high cpu load because of JavaScript

Kari Aliranta kpaliran at cc.jyu.fi
Sun Jun 15 21:41:27 UTC 2008


>Which cairo package version are you using? Are you using XAA or EXA
>accelmethod in X? Maybe attach your Xorg.0.log and xorg.conf

Alexander: Ok, I checked my notes, and here's some pretty detailed and a
bit corrected information (sorry for two posts, there are two
attachments and I only use the web interface for Launchpad):

The attachments are my current (testcase #2 and #3 below) Xorg.o.log and
xorg.conf on Xubuntu HARDY, with Cairo version 1.6.0. The accelmethod in
all cases is XAA, of course.

*** #1 *** 
The abovementioned benchmark and Gtkperf results with FF 2.0.0.14 on GUTSY, with Pango disabled (to avoid https://launchpad.net/bugs/32561 ). The computer was a (now sold) 1.1Ghz Athlon with Nvidia Geforce 2 MX 400 and using the nv driver, with an unmodified xorg.conf - except for the custom modeline that I also use on my never computer below (removing it and using the standard modes doesn't help). The results:   

Javascript interpreter benchmark: not tested, I hunted for another bug back then.
Scrolling benchmark w/ text: about 2.5 seconds
Scrolling benchmark w/ divs: < 2.5 seconds 
Scrolling benchmark w/ nothing: < 2.5 seconds

Gtkperf result with 100 test rounds: about 26 seconds.
General feel when scrolling long pages with lots of text and pictures: very snappy.


*** #2 ***
The abovementioned benchmark and Gtkperf results with FF3 rc1 on HARDY, with Pango disabled (enabling it doesn't seem to have significant effect on FF3) and without any extensions. The computer is a 2.4Ghz P4 with Nvidia Geforce 2 MX 400, using the nv driver:

Javascript interpreter benchmark: about 5 seconds
Scrolling benchmark w/ text: about 14 seconds
Scrolling benchmark w/ divs: about 7 seconds 
Scrolling benchmark w/ nothing: about 5 seconds

Gtkperf result with 100 test rounds: about 19 seconds.
General feel when scrolling long pages with lots of text and pictures: slightly jerky.


*** #3 ***
The abovementioned benchmark with FF 2.0.0.14 on HARDY, with Pango disabled and without any extensions. The computer is the same as in the previous test case, a 2.4Ghz P4 with Nvidia Geforce 2 MX 400, using the nv driver:

Javascript interpreter benchmark: about 12 seconds
Scrolling benchmark w/ text: about 12 seconds (16 seconds with Pango enabled)
Scrolling benchmark w/ divs: about 6 seconds 
Scrolling benchmark w/ nothing: about 4 seconds

General feel when scrolling long pages with lots of text and pictures:
slightly jerky.

*** #4 ***

I also have less complete notes on making the benchmark with FF3 beta 5
on HARDY, without any extensions and Pango disabled. The computer was a
(now also sold) 1.0Ghz Athlon with Nvidia Riva TNT2 64 with nv driver
and an unmodified xorg.conf:

Scrolling benchmark w/ text:  25 seconds

General feel when scrolling long pages with lots of text and pictures:
annoyingly jerky.


*** Other notes: ***

- All tests are made with Human-theme. Changing the theme to something
simple, Mist for example,  doesn't affect the results of FF2 or FF3
benchmarks - it, however, significantly lowers the time needed for
Gtkperf test.

- Gtkperf result (100 test rounds) with testcases #2 and #3 computer was
about 16 seconds on GUTSY and is about 19 seconds on HARDY. The text
scrolling part of the Gtkperf test only takes 1.33 seconds on HARDY,
however, so the increase is not only because of that part (I don't know
whether it is because of that part at all, because I only saved the
total time of the test when I was still using GUTSY on this computer).

Kari

** Attachment added: "Xorg.0.log"
   http://launchpadlibrarian.net/15338426/Xorg.0.log

-- 
high cpu load because of JavaScript
https://bugs.launchpad.net/bugs/185469
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list