Friday, November 29, 2013

nbody - PythonJS vs PyPy

In the nbody benchmark PythonJS (javascript mode) is twice as fast as PyPy2.2. PythonJS (javascript mode) scores almost as fast as the hand optimized version of n-body running the Dart VM. Note that nbody.c is compiled with gcc -O3 -fomit-frame-pointer -march=native -mfpmath=sse -msse3 nbody.c -o nbody -lm.

No comments:

Post a Comment