3 ms·
I have a small, CPU-intensive benchmark which shows the performance of QuickJS to be comparable to other interpreters written in C. It's on par with MicroPython
by bakery2k 7y ago
I have a small, CPU-intensive benchmark which shows the performance of QuickJS to be comparable to other interpreters written in C. It's on par with MicroPython and recent versions of Ruby, and a little faster than CPython and Lua.
However, it's still 2-3x slower than the optimized, CPU-specific interpreters used in LuaJIT and V8 (with their JITs disabled), and 20-100x slower than the LuaJIT, V8 and PyPy JIT compilers.
- penagwin 7y agoThanks, those were the numbers I was really interested in. I figured there's no way it would be as fast as say V8 who has Google+others working for years to make it as fast as possible. Not that it's a bad thing! They just have different purposes.