[issue13481] Use an accurate clock in timeit

Antoine Pitrou report at bugs.python.org
Sat Nov 26 13:34:36 CET 2011

Antoine Pitrou <pitrou at free.fr> added the comment:

> > But does it include kernel CPU time for the given process?
> Yes. But it won't be reliable, for example, to measure the performance
> of a new readinto() implentation, since time spent by the process in
> 'S' or 'D' state won't be accounted for.

Then I'm not sure this is a good idea anymore.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list