4 ms·
The secret to Node's success? The V8 engine. ;)
The secret to Node's success? The V8 engine. ;)
Node hooks into it quite neatly.
But would anyone really notice if Node used WebKit's JavaScriptCore (a.k.a. "Nitro") instead?
There isn't a huge performance gap between the two engines these days... But V8 is easier to embed in C++, I think.
All of the native extensions that would break would notice.
The js team at mozilla mentioned that they had a jagermonkey version running internally as part of a test for the embedding api updates they're working on.