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 vstinner
Recipients serhiy.storchaka, vstinner
Date 2017-01-10.21:34:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484084095.89.0.815485258193.issue29227@psf.upfronthosting.co.za>
In-reply-to
Content
Oh wow! I'm impressed that Python 3 is better at each release! On 2 tests, Python 3.7 is faster than Python 2.7, but on test_python_iterator Python 3.7 is still slower. It seems like this specific test became much slower (+19%) on Python 3.4 compared to 2.7.

I guess that your benchmark is on unpatched Python.

I don't think that less_stack.patch has an impact on performances, but I guess because I'm curisous. It seems like it's a little bit faster. At least, it's not slower ;-)

test_python_call: Median +- std dev: [ref] 509 us +- 11 us -> [patch] 453 us +- 49 us: 1.12x faster (-11%)
test_python_getitem: Median +- std dev: [ref] 485 us +- 13 us -> [patch] 470 us +- 23 us: 1.03x faster (-3%)
test_python_iterator: Median +- std dev: [ref] 1.15 ms +- 0.05 ms -> [patch] 1.12 ms +- 0.07 ms: 1.03x faster (-3%)
History
Date User Action Args
2017-01-10 21:34:55vstinnersetrecipients: + vstinner, serhiy.storchaka
2017-01-10 21:34:55vstinnersetmessageid: <1484084095.89.0.815485258193.issue29227@psf.upfronthosting.co.za>
2017-01-10 21:34:55vstinnerlinkissue29227 messages
2017-01-10 21:34:55vstinnercreate