Javascript Performance Thread

Discussion about official Mozilla Firefox builds
Post Reply
User avatar
sciguyryan
Folder@Home
Posts: 2181
Joined: November 10th, 2004, 1:33 pm
Location: Wales

Re: Firefox 4.0 TM and JM Performance Thread

Post by sciguyryan »

Dorus wrote:
WonderCsabo wrote:Of course, these things are written in JS.

Are you sure? I remember activating TM for chrome content was delayed quite a bit when it was new. Is this different for JM?


I think method JIT is intended on being enabled for everything from the offset.
Cheers!

Ryan Jones
User avatar
bzbarsky
Posts: 478
Joined: November 5th, 2002, 1:36 pm

Re: Firefox 4.0 TM and JM Performance Thread

Post by bzbarsky »

Cru_N_cher wrote:is JM/TM speeding up any part of Tab Candy (Firefox Panorama) or the Extensions (Chrome) themselves yet ?

Tab Candy is mostly graphics-intensive, not JS-intensive. So JM wouldn't help it much anyway, whereas the GPU work will.

At the moment JM is not on for chrome by default yet, but the plan is to flip the switch in the next few days.
WonderCsabo
Posts: 2230
Joined: June 25th, 2010, 9:29 am
Location: Budapest, Hungary

Re: Firefox 4.0 TM and JM Performance Thread

Post by WonderCsabo »

bzbarsky wrote:Tab Candy is mostly graphics-intensive, not JS-intensive. So JM wouldn't help it much anyway, whereas the GPU work will.


Interesting. I use GPU acceleration (D2D, layers), and TabCandy animations are still very sluggish. :( I hoped JM will help...
User avatar
sabret00the
Posts: 1396
Joined: June 29th, 2004, 8:24 am
Location: London (UK)
Contact:

Re: Firefox 4.0 TM and JM Performance Thread

Post by sabret00the »

Why is the JM/TM merge happening prior to beating Apple/Google's speed on arewefastyet.com
WonderCsabo
Posts: 2230
Joined: June 25th, 2010, 9:29 am
Location: Budapest, Hungary

Re: Firefox 4.0 TM and JM Performance Thread

Post by WonderCsabo »

They have to merge it to m-c now, so they have enough time to explore and fix potential bugs. I think they will further optimize the engine after the merge, too.
User avatar
sciguyryan
Folder@Home
Posts: 2181
Joined: November 10th, 2004, 1:33 pm
Location: Wales

Re: Firefox 4.0 TM and JM Performance Thread

Post by sciguyryan »

sabret00the wrote:Why is the JM/TM merge happening prior to beating Apple/Google's speed on arewefastyet.com


For testing reasons. There will probably be several more merges before the final version to pick up further improvements but it needs to go on soon to allow for testing.
Cheers!

Ryan Jones
Dorus
Posts: 238
Joined: September 6th, 2004, 2:18 pm

Re: Firefox 4.0 TM and JM Performance Thread

Post by Dorus »

sabret00the wrote:Why is the JM/TM merge happening prior to beating Apple/Google's speed on arewefastyet.com

Beside, i doubt they will be delaying 4.0 because the javascript engine isn't as fast as opera/chrome yet. At best they will push JM updates with minor updates, trough i dind't see any concrete wording about that yet other then that they will be shipping non-user experience breaking changes to minor releases more and more.
Cru_N_cher
Posts: 377
Joined: January 31st, 2010, 11:15 am

Re: Firefox 4.0 TM and JM Performance Thread

Post by Cru_N_cher »

RyanJ wrote:
sabret00the wrote:Why is the JM/TM merge happening prior to beating Apple/Google's speed on arewefastyet.com


For testing reasons. There will probably be several more merges before the final version to pick up further improvements but it needs to go on soon to allow for testing.


another thing is they trying to be more sane and don't put every effort into synthetic benchmarks anymore but more into real life performance, currently working very closely with MSR on this topic ;)
mikeclackler
Posts: 9
Joined: July 18th, 2004, 10:04 am

Re: Firefox 4.0 TM and JM Performance Thread

Post by mikeclackler »

FYI JaegerMonkey has landed on the trunk
WonderCsabo
Posts: 2230
Joined: June 25th, 2010, 9:29 am
Location: Budapest, Hungary

Re: Firefox 4.0 TM and JM Performance Thread

Post by WonderCsabo »

I'm not seeing it in the hourlies, yet. (Or am is doing something wrong?)
User avatar
_Alexander
Posts: 1197
Joined: April 1st, 2010, 2:24 pm
Location: Your augmented reality

Re: Firefox 4.0 TM and JM Performance Thread

Post by _Alexander »

WonderCsabo wrote:I'm not seeing it in the hourlies, yet. (Or am is doing something wrong?)

You are not patient. :)
http://magneticpudding.com/ <- My Blog
i5 3570k @ 4.5 Ghz / NV 660 / 32GB DDR3 / 1080p LCD / SSD (120 + 180) / W8 ||| Atom N270 / NV ION / 3GB DDR3 / SSD / 1366x768 / W8
mikeclackler
Posts: 9
Joined: July 18th, 2004, 10:04 am

Re: Firefox 4.0 TM and JM Performance Thread

Post by mikeclackler »

WonderCsabo wrote:I'm not seeing it in the hourlies, yet. (Or am is doing something wrong?)


hourly builds are not finished, watch for a green "B" for your operating system for the large JM merge:
http://tests.themasta.com/tinderboxpushlog/
panocmp
Posts: 63
Joined: September 7th, 2010, 8:28 am
Location: Greece

Re: Firefox 4.0 TM and JM Performance Thread

Post by panocmp »

about performance sunspider gives me better results by disabling trarcemonkey for content

pre JM
RESULTS (means and 95% confidence intervals)
--------------------------------------------
Total: 737.4ms +/- 4.4%
--------------------------------------------

with JM+TM
ESULTS (means and 95% confidence intervals)
--------------------------------------------
Total: 611.6ms +/- 4.0%
--------------------------------------------

JM only[
RESULTS (means and 95% confidence intervals)
--------------------------------------------
Total: 569.8ms +/- 3.7%
--------------------------------------------

CPU T5500, Intel X3100, D3D+D2D enabled
Gusar
Posts: 205
Joined: March 17th, 2006, 1:52 pm

Re: Firefox 4.0 TM and JM Performance Thread

Post by Gusar »

@panocmp: Yep, that's consistent with the arewefastyet.com graphs. It's a matter of tuning the heuristics.
wellofsouls
Posts: 168
Joined: March 22nd, 2008, 10:12 pm

Re: Firefox 4.0 TM and JM Performance Thread

Post by wellofsouls »

sabret00the wrote:Why is the JM/TM merge happening prior to beating Apple/Google's speed on arewefastyet.com

because it's already a lot faster than TM alone? I don't think they said anything about landing JM+TM only after it's faster than Apple/Google's speed, but that there's no regression from TM.
Unbiased (as much as possible at least :p ) Opera Fan
Opera snapshot / Konqueror trunk / Firefox Nightly / Chrome Canary / IE10
Windows 7 / Windows 8 / Arch Linux / Mac OS X
Post Reply