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 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%.
History
Date User Action Args
2012-03-23 07:52:56serhiy.storchakasetrecipients: + serhiy.storchaka, mark.dickinson, pitrou, kristjan.jonsson, michael.foord
2012-03-23 07:52:56serhiy.storchakasetmessageid: <1332489176.12.0.469631672697.issue14381@psf.upfronthosting.co.za>
2012-03-23 07:52:55serhiy.storchakalinkissue14381 messages
2012-03-23 07:52:55serhiy.storchakacreate