Message285147
$ ./python -m perf timeit -s "from bench_recursion import test_python_call as test" -- "test(1000)"
Python 2.7: 5.10 ms +- 0.37 ms
Python 3.4: 4.38 ms +- 0.28 ms
Python 3.5: 4.19 ms +- 0.26 ms
Python 3.6: 3.93 ms +- 0.32 ms
Python 3.7: 3.26 ms +- 0.27 ms
$ ./python -m perf timeit -s "from bench_recursion import test_python_getitem as test" -- "test(1000)"
Python 2.7: 4.09 ms +- 0.26 ms
Python 3.4: 4.60 ms +- 0.23 ms
Python 3.5: 4.35 ms +- 0.28 ms
Python 3.6: 4.05 ms +- 0.34 ms
Python 3.7: 3.23 ms +- 0.23 ms
$ ./python -m perf timeit -s "from bench_recursion import test_python_iterator as test" -- "test(1000)"
Python 2.7: 7.85 ms +- 0.66 ms
Python 3.4: 9.31 ms +- 0.55 ms
Python 3.5: 9.83 ms +- 0.71 ms
Python 3.6: 8.99 ms +- 0.66 ms
Python 3.7: 8.58 ms +- 0.73 ms |
|
Date |
User |
Action |
Args |
2017-01-10 19:25:41 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner |
2017-01-10 19:25:41 | serhiy.storchaka | set | messageid: <1484076341.82.0.829679269954.issue29227@psf.upfronthosting.co.za> |
2017-01-10 19:25:41 | serhiy.storchaka | link | issue29227 messages |
2017-01-10 19:25:41 | serhiy.storchaka | create | |
|