7 ms·
pypy test.py 305.4699897766113 ms node test.js 111.49054491519928 ms python3 test.py 3576.0366916656494 ms Node
by meetups323 6y ago
pypy test.py
305.4699897766113 ms
node test.js
111.49054491519928 ms
python3 test.py
3576.0366916656494 ms
Node still wins by a healthy margin.
- deleted 6y ago[deleted]
- meetups323 6y agoNumba (asked by a commenter that haas since deleted: 638.8082504272461 ms
- PartiallyTyped 6y agoI asked, run it twice. The first time is for compilation. The second time it reaches 90ms on my machine.
- meetups323 6y agoSecond run was 200ms for me, still 2x node.
- whimsicalism 6y agoI would expect numba to win, but I also do not think it is a fair comparison.
- PartiallyTyped 6y agoTo be fair, python itself isn't jitting anything, while node is.
- meetups323 6y agoNumba doesn't really qualify as JIT if what it's really doing is compiling it and caching the results to disk then reading from them in the future for faster execution... that's just a compiler.
- deleted 6y ago[deleted]