On May 25, 2012, at 8:11 PM, Arnout Kazemier wrote:
> plain old jsc from OSX:
>
> jsc -e '(function() { var i=1e7; while(i--); })()'
> 0,03s user 0,00s system 90% cpu 0,034 total
>
> plain old v8, freshly build from unstable:
>
> ./shell -e '(function() { var i=1e7; while(i--); })()'
> 0,02s user 0,00s system 88% cpu 0,023 total
>
> So now we have fair tests, JS engine vs JS engine without any
> node.js boot up code on top of..
>
> But do we really care? Nope, because nobody writes code like this.
Yeah, right, but this is a bug of the (supposedly) speed champion:
$ time ./shell -e 'var i=1e7; while(i--);'
real 0m3.027s
user 0m2.949s
sys 0m0.027s
Or not?
--
Jorge.
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en