Re: [Python-Dev] cpython: Issue #14428: Use the new time.perf_counter() and time.process_time() functions

2012-05-01 Thread Georg Brandl
On 01.05.2012 10:35, Victor Stinner wrote: >>> diff --git a/Lib/timeit.py b/Lib/timeit.py >>> --- a/Lib/timeit.py >>> +++ b/Lib/timeit.py >>> @@ -15,8 +15,8 @@ >>>-n/--number N: how many times to execute 'statement' (default: see below) >>>-r/--repeat N: how many times to repeat the timer (

Re: [Python-Dev] cpython: Issue #14428: Use the new time.perf_counter() and time.process_time() functions

2012-05-01 Thread Victor Stinner
>> diff --git a/Lib/timeit.py b/Lib/timeit.py >> --- a/Lib/timeit.py >> +++ b/Lib/timeit.py >> @@ -15,8 +15,8 @@ >>    -n/--number N: how many times to execute 'statement' (default: see below) >>    -r/--repeat N: how many times to repeat the timer (default 3) >>    -s/--setup S: statement to be ex

Re: [Python-Dev] cpython: Issue #14428: Use the new time.perf_counter() and time.process_time() functions

2012-04-30 Thread Georg Brandl
On 29.04.2012 03:04, victor.stinner wrote: > http://hg.python.org/cpython/rev/bd195749c0a2 > changeset: 76599:bd195749c0a2 > user:Victor Stinner > date:Sun Apr 29 03:01:20 2012 +0200 > summary: > Issue #14428: Use the new time.perf_counter() and time.process_time() > functions