Closed Bug 597160 Opened 14 years ago Closed 14 years ago

Slow Javascript interpreter in 64bit Linux

Categories

(Firefox :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 489146

People

(Reporter: jaystannard, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.10) Gecko/20100916 Ubuntu/10.10 (maverick) Firefox/3.6.10
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.10) Gecko/20100916 Ubuntu/10.10 (maverick) Firefox/3.6.10

I've run several benchmarks (Dromaeo, V8, and sunspider) for javascript on my 64bit Linux box (in 10.04 right before I upgraded as well as 10.10).

The output I'm getting leads me to believe that Spidermonkey is not enabled. For instance v8 comes in at about 230 whereas on the same computer in Windows Vista I get about 2300 as a score. Sunspider .9 has a score of 2798.2ms +/- 0.8% whereas in Windows Vista, on the same computer, I usually get around 700-800ms. 

I have gone into about:config to make sure javascript.options.jit.content was enabled. It was. I restarted Firefox in safe mode and reset all the options to original settings. I upgraded my version of Ubuntu, to see if it came with something newer. No dice. 

Reproducible: Always

Steps to Reproduce:
1.Steer Firefox to any javascript benchmark site
2.Run the tests
3.
Actual Results:  
The tests were in line with Firefox 3.0, which was about as fast as IE.

Expected Results:  
I expected it to be faster
You can use instructions at:
http://kb.mozillazine.org/Installing_Firefox#Linux

to run benchmark tests of mozilla builds not done by repackagers at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-tracemonkey/firefox-4.0b6pre.en-US.linux-x86_64.tar.bz2

Also, a new benchmark for testing is at http://krakenbenchmark.mozilla.com/index.html
So are you saying that Ubuntu incorrectly packaged Firefox, or intentionally chose to leave some features out? 

Do you think I should post something on an Ubuntu development message board?
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.