[issue20475] pystone.py in 3.4 still uses time.clock(), even though it's marked as deprecated since 3.3

Paul Sokolovsky report at bugs.python.org
Sun Feb 2 23:28:06 CET 2014


Paul Sokolovsky added the comment:

> The problem with pystone is that such tool is used to compare performances between different versions of Python.

That's why I just propose to switch it to time.time(), which surely is available on each and every Python version and implementation. If there's a concern that some implementation may have only 1-second precision, then: 1) well, pystone has limits to its "scientificity", it's more like quick-run-anywhere, there's pybench for "real" testing (it's maintained and supported I hope); 2) number of iteratations can be bumped from 50K to 200K-500K.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20475>
_______________________________________


More information about the Python-bugs-list mailing list