Hacker News new | past | comments | ask | show | jobs | submit login

  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.




Numba (asked by a commenter that haas since deleted:

638.8082504272461 ms


I asked, run it twice. The first time is for compilation. The second time it reaches 90ms on my machine.


Second run was 200ms for me, still 2x node.


I would expect numba to win, but I also do not think it is a fair comparison.


To be fair, python itself isn't jitting anything, while node is.


Numba 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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: