MozillaZine

Javascript Performance Thread

Discussion about official Mozilla Firefox builds
Erunno

User avatar
 
Posts: 746
Joined: December 5th, 2008, 10:56 am

Post Posted July 15th, 2010, 11:07 pm

RyanJ wrote:You cannot only work from benchmarks. Benchmarks do not represent real world cases in most cases,


Unfortunately for FIrefox it also doesn't fare well on JavaScript-heavy real world cases. 280slides is noticeably faster on Mulproc and Opera in my experience destroys the competition on Google Maps (though this is probably in part due to their rendering library Vega). Or what about the SNES emulator written in JavaScript? It may not be your typical web application but it painfully shows the limitations of Firefox' current engine. TraceMonkey missed the market requirements in parts. The whole two JavaScript engines approach is also not without its wart like having two different assemblers now.
The previous signature has been removed again. Enjoy your month off, Erunno.

Bluefang

User avatar
 
Posts: 7857
Joined: August 10th, 2005, 2:55 pm
Location: Vermont

Post Posted July 16th, 2010, 12:42 am

In the Real World™ there's more to performance than just JS. There's page rendering, content re-flowing, DOM mutation, etc... It's not always clear where the performance bottleneck is.
There have always been ghosts in the machine... random segments of code that have grouped together to form unexpected protocols. Unanticipated, these free radicals engender questions of free will, creativity, and even the nature of what we might call the soul...

Erunno

User avatar
 
Posts: 746
Joined: December 5th, 2008, 10:56 am

Post Posted July 16th, 2010, 12:53 am

That's true. The IE developers wrote a great article how individual sites stress different parts of a browser. Anyway, isn't it too early to discuss Firefox 4.0 JS performance as long as JägerMonkey including tracing integration hasn't landed yet? We can still complain if the performance doesn't get noticeably close to the release. :-)
The previous signature has been removed again. Enjoy your month off, Erunno.

bogas04

User avatar
 
Posts: 977
Joined: May 18th, 2010, 1:14 am

Post Posted July 16th, 2010, 1:40 am

All is about to land
bogas04.github.io
MacBook Air Mid 2013 |@bogas04

Stifu

User avatar
 
Posts: 984
Joined: July 13th, 2007, 8:02 am

Post Posted July 16th, 2010, 2:55 am

Erunno wrote:Or what about the SNES emulator written in JavaScript?

It's a NES emu, and a Mozilla presentation video has recently been posted showing how Firefox (Minefield) plays it at 60 FPS...

bogas04

User avatar
 
Posts: 977
Joined: May 18th, 2010, 1:14 am

Post Posted July 16th, 2010, 10:05 am

it is JS-NES , and yeah they did show it playing @ nice frames (mario i guess , he even missed the power up :P)
But in large, they too got regressions ...

EDIT: its running @ 13~14 here :(
bogas04.github.io
MacBook Air Mid 2013 |@bogas04

Erunno

User avatar
 
Posts: 746
Joined: December 5th, 2008, 10:56 am

Post Posted July 16th, 2010, 10:14 am

Stifu wrote:showing how Firefox (Minefield) plays it at 60 FPS...


Yes, I know. That's why I said it demonstrates some current limitations of TraceMonkey. :D

its running @ 13~14 here


Are you running a JägerMonkey-enabled build?
The previous signature has been removed again. Enjoy your month off, Erunno.

Erunno

User avatar
 
Posts: 746
Joined: December 5th, 2008, 10:56 am

Post Posted July 16th, 2010, 10:15 am

bogas04 wrote:All is about to land


Latest blog post by one of the JS developers states that landing is planned for September the first.

Stifu wrote:showing how Firefox (Minefield) plays it at 60 FPS...


Yes, I know. That's why I said it demonstrates some current limitations of TraceMonkey. :D

its running @ 13~14 here


Are you running a JägerMonkey-enabled build?[/quote]
The previous signature has been removed again. Enjoy your month off, Erunno.

bogas04

User avatar
 
Posts: 977
Joined: May 18th, 2010, 1:14 am

Post Posted July 16th, 2010, 10:22 am

nope , was thinking it would run fine after TM landings

Yeah, it is supposed to land by Sept 1 , but after TM improvements , even Fatvals got r+s , so its not too long when we will be seeing bits of JM landing to trunk
bogas04.github.io
MacBook Air Mid 2013 |@bogas04

Solidstate89
 
Posts: 42
Joined: July 4th, 2010, 12:02 pm

Post Posted July 16th, 2010, 10:30 am

bogas04 wrote:EDIT: its running @ 13~14 here :(


I usually get around 20FPS with the box zoomed in. Around 25 zoomed out.

Harsh86
 
Posts: 94
Joined: August 23rd, 2004, 4:34 am

Post Posted July 16th, 2010, 1:18 pm

Stifu wrote:
Erunno wrote:Or what about the SNES emulator written in JavaScript?

It's a NES emu, and a Mozilla presentation video has recently been posted showing how Firefox (Minefield) plays it at 60 FPS...


Is there a link to this video?

Stifu

User avatar
 
Posts: 984
Joined: July 13th, 2007, 8:02 am

Post Posted July 16th, 2010, 1:48 pm

Harsh86 wrote:Is there a link to this video?

Sorry, I can't find it back. Others saw it too, so they may know.

watervole02
 
Posts: 198
Joined: August 11th, 2006, 12:50 pm

Post Posted July 16th, 2010, 1:53 pm

Harsh86 wrote:
Stifu wrote:
Erunno wrote:Or what about the SNES emulator written in JavaScript?

It's a NES emu, and a Mozilla presentation video has recently been posted showing how Firefox (Minefield) plays it at 60 FPS...


Is there a link to this video?


I think it's this one. The NES part is at 2:40.

http://www.youtube.com/watch?v=GnYs2Q2pg1M

bogas04

User avatar
 
Posts: 977
Joined: May 18th, 2010, 1:14 am

Post Posted July 16th, 2010, 10:19 pm

Erunno wrote:Are you running a JägerMonkey-enabled build?


Can't find it @ http://ftp.mozilla.org/pub/mozilla.org/ ... key-linux/
bogas04.github.io
MacBook Air Mid 2013 |@bogas04

smoohta
 
Posts: 22
Joined: April 15th, 2010, 12:21 pm

Post Posted July 17th, 2010, 2:05 am

Well... in the video you posted you can see dmandelin's directory: http://people.mozilla.org/~dmandelin/Summit2010/ from which he opened the ants benchmark.
If you snoop in it, you can see there's a browsers folder with moo1.zip (supposedly the win32 JM moo build he was using in the presentation) and a "regular" firefox-3.7a5pre.en-US.win32.zip...
There's also an ants folder containing the cool ants benchmark :)

I've tried the moo build with the ants benchmark and it seems to work just like in the presentation, though I couldn't get JSNES to load due to some javascript errors... :(

Return to Firefox Builds


Who is online

Users browsing this forum: No registered users and 2 guests