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 methane
Recipients methane, python-dev, vstinner, yselivanov
Date 2017-02-02.05:20:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486012842.04.0.962048455342.issue29263@psf.upfronthosting.co.za>
In-reply-to
Content
microbench:
$ ./python.patched -m perf timeit --compare-to `pwd`/python.default -s "d = b''" -- "d.decode('ascii')"
python.default: ..................... 109 ns +- 1 ns
python.patched: ..................... 102 ns +- 1 ns

Median +- std dev: [python.default] 109 ns +- 1 ns -> [python.patched] 102 ns +- 1 ns: 1.08x faster (-7%)

$ ./python.patched -m perf timeit --compare-to `pwd`/python.default -s "l = [42]" -- "l.count(42)"                            
python.default: ..................... 66.0 ns +- 0.9 ns
python.patched: ..................... 60.0 ns +- 0.3 ns

Median +- std dev: [python.default] 66.0 ns +- 0.9 ns -> [python.patched] 60.0 ns +- 0.3 ns: 1.10x faster (-9%)
History
Date User Action Args
2017-02-02 05:20:42methanesetrecipients: + methane, vstinner, python-dev, yselivanov
2017-02-02 05:20:42methanesetmessageid: <1486012842.04.0.962048455342.issue29263@psf.upfronthosting.co.za>
2017-02-02 05:20:42methanelinkissue29263 messages
2017-02-02 05:20:41methanecreate