Message156637
| Author |
serhiy.storchaka |
| Recipients |
kristjan.jonsson, mark.dickinson, michael.foord, pitrou, serhiy.storchaka |
| Date |
2012年03月23日.07:52:55 |
| SpamBayes Score |
0.00015382217 |
| Marked as misclassified |
No |
| Message-id |
<1332489176.12.0.469631672697.issue14381@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
PyBench contains a lot of different tests and executes them not too long. Random fluctuations of a few percent are possible. We need a more stable realistic test working with floats.
$ ./python -m timeit 'x,y,d=1,0,0.01
for i in range(628):
x,y=x-d*y,y+d*x'
Without patch: 1000 loops, best of 3: 220 usec per loop
With patch: 1000 loops, best of 3: 232 usec per loop
Difference is 5%. |
|