3 ms·
V8 actually compiles JS to native code.
by philf 18y ago
V8 actually compiles JS to native code.
- jules 18y agoAnd it's still orders of magnitude slower than native applications.
- qwph 18y agoCan you publish the results that this assertion is based on please?
- orib 18y agoGoogle is failing me now and I've got class in the morning, but you can find benchmarks comparing Lua-JIT and V8, and Lua-JIT beats V8. Lua-JIT is quite a bit slower than native code. Depending on what you're doing/benchmarking it seems to generally be between 5 to 10 times slower.
- jules 18y agohttp://ejohn.org/blog/javascript-performance-rundown/ http://ejohn.org/blog/javascript-performance-rundown/ Chrome isn't much faster than the others.