Created
February 12, 2015 23:15
-
-
Save mattip/2d38368b15841a32004a to your computer and use it in GitHub Desktop.
results of running inverse.py - pypy is 3 times slower than cpython
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ../pypy-virt/bin/pypy inverse.py 5 10 20 50 100 1000 | |
../pypy-virt/site-packages/numpy/linalg/_umath_linalg.py:79: UserWarning: npy_clear_floatstatus, npy_set_floatstatus_invalid not found | |
warn('npy_clear_floatstatus, npy_set_floatstatus_invalid not found') | |
after 3999999, for n= 5, time=47.15, 11.79 msec/1000 loops | |
after 999999, for n= 10, time=19.93, 19.93 msec/1000 loops | |
after 249999, for n= 20, time=11.85, 47.38 msec/1000 loops | |
after 39999, for n= 50, time=9.89, 247.18 msec/1000 loops | |
after 9999, for n=100, time=11.05, 1105.08 msec/1000 loops | |
after 99, for n=1000, time=29.17, 294613.17 msec/1000 loops | |
$ ../cpython_virt/bin/python inverse.py 5 10 20 50 100 1000 | |
after 3999999, for n= 5, time=25.49, 6.37 msec/1000 loops | |
after 999999, for n= 10, time=8.93, 8.93 msec/1000 loops | |
after 249999, for n= 20, time=4.00, 16.01 msec/1000 loops | |
after 39999, for n= 50, time=3.44, 86.12 msec/1000 loops | |
after 9999, for n=100, time=4.91, 490.82 msec/1000 loops | |
after 99, for n=1000, time=24.97, 252251.00 msec/1000 loops |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment