pystone benchmark
PythonJS using the dart backend is 6x faster than CPython.
nbody benchmark
PythonJS using the fast javascript backend is faster than CPython and even 2x faster than PyPy.
richard's benchmark
PythonJS using the dart backend is 7x faster than CPython.
float benchmark
PythonJS using the dart backend is 3x faster than CPython.
Micro-Benchmarks
recursive fibonacci micro-benchmark
PythonJS using the dart backend is 27x faster than CPython and 7x faster than PyPy.
simple add loop micro-benchmark
PythonJS using any backend, is about 30x faster than CPython.
The benchmarks were run with node.js 0.10.22, pypy 1.9, and dart-sdk 1.0. To run them yourself: get the latest PythonJS source from github, and download and extract the dart-sdk to ~/dart-sdk-1.0. The benchmark eps graphs are written to "/tmp"
cd PythonJS/regtests ./run.py
No comments:
Post a Comment