STINNER Victor <victor.stin...@gmail.com> added the comment:

perf_counter_process_time.patch: replace "time.clock if windows else time.time" 
with time.perf_counter, and getrusage/clock with time.process_time.

pybench and timeit now use time.perf_counter() by default. profile uses 
time.proces_time() by default.

pybench uses time.get_clock_info() to display the precision and the underlying 
C function (or the resolution if the precision is not available).

Tools/pybench/systimes.py and Tools/pybench/clockres.py may be removed: these 
features are now available directly in the time module.

----------
Added file: http://bugs.python.org/file25202/perf_counter_process_time.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14428>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to