Message160222
| 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:42 | skrah | set | recipients:
+ skrah, dmalcolm, eric.snow, sbrunthaler |
| 2012年05月08日 20:18:42 | skrah | set | messageid: <1336508322.79.0.759981731607.issue14757@psf.upfronthosting.co.za> |
| 2012年05月08日 20:18:42 | skrah | link | issue14757 messages |
| 2012年05月08日 20:18:42 | skrah | create |
|