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 skrah
Recipients dmalcolm, eric.snow, sbrunthaler, skrah
Date 2012-05-08.20:18:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1336508322.79.0.759981731607.issue14757@psf.upfronthosting.co.za>
In-reply-to
Content
This looks quite impressive, so sorry for immediately jumping in with
criticism. -- I've benchmarked the things I worked on, and I can't see
any speedups but some significant slowdowns. This is on 64-bit Linux
with a Core 2 Duo, both versions compiled with just `./configure && make`:


Modules/_decimal/tests/bench.py:
--------------------------------

Not much change for floats and decimal.py, 8-10% slowdown for _decimal!


Telco benchmark [1]:
--------------------

4% slowdown.


Memoryview:
-----------

./python -m timeit -n 10000000 -s "x = memoryview(bytearray(b'x'*10000))" "x[:100]"

17% (!) slowdown.


Did I perhaps miss some option to turn on the optimizations?



[1] http://www.bytereef.org/mpdecimal/quickstart.html#telco-benchmark
History
Date User Action Args
2012-05-08 20:18:42skrahsetrecipients: + skrah, dmalcolm, eric.snow, sbrunthaler
2012-05-08 20:18:42skrahsetmessageid: <1336508322.79.0.759981731607.issue14757@psf.upfronthosting.co.za>
2012-05-08 20:18:42skrahlinkissue14757 messages
2012-05-08 20:18:42skrahcreate