This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients serhiy.storchaka, vstinner
Date 2017-01-10.19:25:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484076341.82.0.829679269954.issue29227@psf.upfronthosting.co.za>
In-reply-to
Content
$ ./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
History
Date User Action Args
2017-01-10 19:25:41serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner
2017-01-10 19:25:41serhiy.storchakasetmessageid: <1484076341.82.0.829679269954.issue29227@psf.upfronthosting.co.za>
2017-01-10 19:25:41serhiy.storchakalinkissue29227 messages
2017-01-10 19:25:41serhiy.storchakacreate