3 ms·
> brings Python's speed to NodeJS level Does anyone have a benchmark? I hear this claim a lot, but I haven't seen NodeJS being that much faster.
by StavrosK 10y ago
> brings Python's speed to NodeJS level
Does anyone have a benchmark? I hear this claim a lot, but I haven't seen NodeJS being that much faster.
- eeZi 10y agoNodeJS/V8 is faster than CPython for obvious reasons - V8 is JIT compiled while CPython is not. PyPy closes the gap.
- john_reel 10y agoLuaJIT made the news for having an interpreter that beat V8’s JIT a while ago. There are a lot of traits about languages and their implementations that makes looking at their compiler features a poor way of determining speed.
- mutagen 10y agoThe Techempower benchmarks show them each having their strengths, with 3 'wins' apiece: https://www.techempower.com/benchmarks/#section=data-r12&hw=peak&test=plaintext&l=1s0 https://www.techempower.com/benchmarks/#section=data-r12&hw=... The usual Techempower caveats apply: I have no idea about the implementations or any possible constraints on these, YMMV.
- StavrosK 10y agoThank you, that seems useful. I must be reading it wrong, though, because I see wsgi completing three times more responses than node.js, which seems wrong. I also can't find the "three wins each" that you reference. EDIT: Ah, I just noticed the different benchmark tabs at the top, thanks.