Javascript Performance Thread

Discussion about official Mozilla Firefox builds
Post Reply
schapel
Posts: 3483
Joined: November 4th, 2002, 10:47 pm
Location: Ann Arbor, Michigan
Contact:

Re: Firefox 4.0 TM and JM Performance Thread

Post by schapel »

Check out the HTML5 vs. Flash challenge. It involves more than just pure JavaScript performance, but shows what can be done with a fast JS engine (and how it might be abused to make dancing, singing ad banners!). Those disks don't look too tasty.
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 »

t0y wrote:Another nice canvas/js game: http://www.phoboslab.org/biolab/.

That is still too slow to be playable.
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
t0y
Posts: 144
Joined: May 1st, 2006, 5:54 pm

Re: Firefox 4.0 TM and JM Performance Thread

Post by t0y »

It was a bit slow at certain places, yes, but I played it all the way through without major issues.
Fergy
Posts: 28
Joined: September 13th, 2007, 10:40 pm

Re: Firefox 4.0 TM and JM Performance Thread

Post by Fergy »

[quote="t0y"]Another nice canvas/js game: [url]http://www.phoboslab.org/biolab/[/url].[/quote]
That's a great game. Though it doesn't run fast enough yet in Firefox 4 nightlies it does about 14% cpu on Gchrome.
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 »

That biolab game is not working for me at all in Fx4. The progress bar freezes at some point.

Now it works. Very-very slow, unplayable. It quite smooth in Opera 10.62.
Dorus
Posts: 238
Joined: September 6th, 2004, 2:18 pm

Re: Firefox 4.0 TM and JM Performance Thread

Post by Dorus »

WonderCsabo wrote:
Dorus wrote:That is 1% a day. A speed they have been holding for over a month now btw. If they hold onto that for another month they will be up and around v8 speed by the time 4.0 is released (Assuming they keep speeding up for at least one more month, and things slow down from there are release comes in sight).

Tbh i half expected things to slow down weeks ago already, but AWFY stills surprises me twice a week.


They wont merge any developments until the release date, just until the code freeze.

Does that makes any different for 4.0? Does that make any difference for AWFY?

@biolab: Works better on 3.6 then a few day old nightly here. Of course I should still try a recent nightly, but even for a few day old nightly it's weird to be slowed then 3.6. Didn't hear any obvious sound problems either.
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 sure what you are asking.
User avatar
bzbarsky
Posts: 478
Joined: November 5th, 2002, 1:36 pm

Re: Firefox 4.0 TM and JM Performance Thread

Post by bzbarsky »

Dorus wrote:on 3.6 then a few day old nightly here. Of course I should still try a recent nightly, but even for a few day old nightly it's weird to be slowed then 3.6.

Does it work faster for you if you turn off hardware acceleration, perchance? If so, can you please file a bug with your graphics card info from about:support?
myzar74
Posts: 694
Joined: June 25th, 2004, 2:22 am

Re: Firefox 4.0 TM and JM Performance Thread

Post by myzar74 »

Sand trap doesn't work for me with latest nightly , the game doesn't start and i get this error

18:19:12.977: Exception: aBox is not a constructor Source File: http://gopherwoodstudios.com/sandtrap/sand-trap.htm Line: 7, Column: 0 Category: content javascript
User avatar
ioiokzkz
Posts: 243
Joined: December 17th, 2008, 9:38 pm

Re: Firefox 4.0 TM and JM Performance Thread

Post by ioiokzkz »

Apart from the lack of hardware acceleration (slowww FishIE Tank). Javascript seems to be slower on Mac too...

Here my SS result on the same machine,
Win: 380ms v. Mac: 460ms

The heck? :?
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 »

Other browsers has the same JS speed on your Mac?
Dorus
Posts: 238
Joined: September 6th, 2004, 2:18 pm

Re: Firefox 4.0 TM and JM Performance Thread

Post by Dorus »

WonderCsabo wrote:I'm not sure what you are asking.

I didn't understand what you tried to say either ;)

@bzbarsky i'll try that.
User avatar
ioiokzkz
Posts: 243
Joined: December 17th, 2008, 9:38 pm

Re: Firefox 4.0 TM and JM Performance Thread

Post by ioiokzkz »

WonderCsabo wrote:Other browsers has the same JS speed on your Mac?

Chromium(59370) SS result,
Win: 285ms v. Mac: 260ms
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 »

Dorus wrote:
WonderCsabo wrote:I'm not sure what you are asking.

I didn't understand what you tried to say either ;)

@bzbarsky i'll try that.


Okay. I just told that JM developments will come into the trunk build until the feature freeze.
Dorus
Posts: 238
Joined: September 6th, 2004, 2:18 pm

Re: Firefox 4.0 TM and JM Performance Thread

Post by Dorus »

WonderCsabo wrote:Okay. I just told that JM developments will come into the trunk build until the feature freeze.
Ah, you mean like in, they will NOT come in the trunk build any more after code freeze, so the speed-ups will soon halt. Yeah, that made more sense (not sure what i tried to make of it the first time).

Wont they change it into branch builds around that time?
Post Reply