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 xiang.zhang
Recipients mark.dickinson, meador.inge, serhiy.storchaka, xiang.zhang
Date 2017-05-02.14:56:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493736991.98.0.214312377084.issue30224@psf.upfronthosting.co.za>
In-reply-to
Content
The test on my box is reverse and stable, python3 is unpatched and python is patched. Anyway, it can't be called significant.

 ./python3 -m perf timeit --compare-to /home/angwer/repos/cpython/python -s 'import struct; u = struct.Struct("100000Q").unpack; b=b"abcd\x00\x00\x00\x00"*100000' 'u(b)'
python: ..................... 2.96 ms +- 0.05 ms
python3: ..................... 3.13 ms +- 0.03 ms

Median +- std dev: [python] 2.96 ms +- 0.05 ms -> [python3] 3.13 ms +- 0.03 ms: 1.06x slower

./python3 -m perf timeit --compare-to /home/angwer/repos/cpython/python -s 'import struct; u = struct.Struct("<100000Q").unpack; b=b"abcd\x00\x00\x00\x00"*100000' 'u(b)'
python: ..................... 2.96 ms +- 0.05 ms
python3: ..................... 3.13 ms +- 0.14 ms

Median +- std dev: [python] 2.96 ms +- 0.05 ms -> [python3] 3.13 ms +- 0.14 ms: 1.06x slower

./python3 -m perf timeit --compare-to /home/angwer/repos/cpython/python -s 'import struct; u = struct.Struct(">100000Q").unpack; b=b"\x00\x00\x00\x00dcba"*100000' 'u(b)'
python: ..................... 3.51 ms +- 0.09 ms
python3: ..................... 3.67 ms +- 0.06 ms

Median +- std dev: [python] 3.51 ms +- 0.09 ms -> [python3] 3.67 ms +- 0.06 ms: 1.05x slower
History
Date User Action Args
2017-05-02 14:56:32xiang.zhangsetrecipients: + xiang.zhang, mark.dickinson, meador.inge, serhiy.storchaka
2017-05-02 14:56:31xiang.zhangsetmessageid: <1493736991.98.0.214312377084.issue30224@psf.upfronthosting.co.za>
2017-05-02 14:56:31xiang.zhanglinkissue30224 messages
2017-05-02 14:56:31xiang.zhangcreate