L
Leo Jay
Hi all,
I'm using python 2.6 in a windows xp box, when I try pystone, I get:
C:\Python26\Lib\test>python pystone.py 500000
Pystone(1.1) time for 500000 passes = 5.93632
This machine benchmarks at 84227.3 pystones/second
C:\Python26\Lib\test>python -OO pystone.py 500000
Pystone(1.1) time for 500000 passes = 6.00515
This machine benchmarks at 83261.8 pystones/second
I tried many times, and get the same result.
Why optimization mode is slower than normal mode?
I'm using python 2.6 in a windows xp box, when I try pystone, I get:
C:\Python26\Lib\test>python pystone.py 500000
Pystone(1.1) time for 500000 passes = 5.93632
This machine benchmarks at 84227.3 pystones/second
C:\Python26\Lib\test>python -OO pystone.py 500000
Pystone(1.1) time for 500000 passes = 6.00515
This machine benchmarks at 83261.8 pystones/second
I tried many times, and get the same result.
Why optimization mode is slower than normal mode?