TraceMonkey vs. V8

Discussion about official Mozilla Firefox builds
Post Reply
ziru
Posts: 54
Joined: September 3rd, 2008, 11:57 am

TraceMonkey vs. V8

Post by ziru »

I usually think that TM is slower than V8 but not too much, according to SunSpider benchmarks. But JSNES, a Javascript NES emulator, clearly shows that TM is much slower.

http://benfirshman.com/projects/jsnes/

Hope FF+TraceMonkey can catch up on the speed game in the future.
Josa
Posts: 7402
Joined: July 28th, 2009, 4:52 pm

Re: TraceMonkey vs. V8

Post by Josa »

There is a bug about this.. you can vote it.
https://bugzilla.mozilla.org/show_bug.cgi?id=509986
User avatar
enthdegree
Posts: 14
Joined: September 24th, 2009, 6:12 am

Re: TraceMonkey vs. V8

Post by enthdegree »

Acc. to some other thing that I read, FF 4's goal was to be no less than 20% slower than V8 at time of release. Of course, both engines will be much faster a year from now, but it's still sad to think that Firefox is boxing itself into a goal that is behind competition.

Please correct me if I'm misinformed ( Which I hope I am. :P )
Last edited by enthdegree on September 24th, 2009, 9:02 am, edited 1 time in total.
~enthdegree
_________________________________
Firefox Hourlies Automatic Update script for Linux:http://forums.mozillazine.org/viewtopic.php?f=7&t=1501465
User avatar
enthdegree
Posts: 14
Joined: September 24th, 2009, 6:12 am

Re: TraceMonkey vs. V8

Post by enthdegree »

enthdegree wrote:Acc. to some other thing that I read, FF 4's goal was to be no less than 20% slower than V8 at time of release. Of course, both engines will be much faster a year from now, but it's still sad to think that Firefox is boxing itself into a goal that is behind competition.

Please correct me if I'm misinformed ( Which I hope I am. :P )
~enthdegree
_________________________________
Firefox Hourlies Automatic Update script for Linux:http://forums.mozillazine.org/viewtopic.php?f=7&t=1501465
User avatar
enthdegree
Posts: 14
Joined: September 24th, 2009, 6:12 am

Re: TraceMonkey vs. V8

Post by enthdegree »

*truncated*
Please delete this post. :P I didn't mean to click 'reply' instead of 'edit'.
schapel
Posts: 3483
Joined: November 4th, 2002, 10:47 pm
Location: Ann Arbor, Michigan
Contact:

Re: TraceMonkey vs. V8

Post by schapel »

enthdegree wrote:Acc. to some other thing that I read, FF 4's goal was to be no less than 20% slower than V8 at time of release. Of course, both engines will be much faster a year from now, but it's still sad to think that Firefox is boxing itself into a goal that is behind competition.

If that is Mozilla's goal, it isn't to be behind the competition, but only to be only so far behind the competition at worst. They could outperform the competition. As long as they're no slower than 20% slower, they're meeting the goal.

Anyway, if they only barely achieve that goal, it's still impressive. Mozilla has far fewer resources than Google (or Apple for that matter), so performing only 20% slower than the fastest competing engines is still quite a feat. Besides, most users will not notice that difference in performance most of the time.
teoli2003
Posts: 5091
Joined: November 10th, 2005, 2:54 am
Contact:

Re: TraceMonkey vs. V8

Post by teoli2003 »

Also a goal must be reachable. A goal is there to motivate to find solutions. Settings unreachable goals will lead to less bettering than to set lower but reachable ones.

Note that basic recursion-tracing has landed on test build (trunk) today. I expect a 5-10% win on Sunspider thanks to it, but I wasn't able to test it yet.
User avatar
Omega X
Posts: 8225
Joined: October 18th, 2007, 2:38 pm
Location: A Parallel Dimension...

Re: TraceMonkey vs. V8

Post by Omega X »

They also have to divide their time with implementing ECMA 3.5 and other sub systems. So its not all developing the fastest JS engine ever.
Post Reply