• Victor Stinner's avatar
    Issue #14428: Use the new time.perf_counter() and time.process_time() functions · fe98e2fc
    Victor Stinner yazdı
     * Replace "time.clock on windows, or time.time" with time.perf_counter()
     * profile module: only use time.process_time() instead of trying different
       functions providing the process time
     * timeit module: use time.perf_counter() by default, time.time() and
       time.clock() can still be used using --time and --clock options
     * pybench program: use time.perf_counter() by default, add support for
       the new time.process_time() and time.perf_counter() functions, but stay
       backward compatible. Use also time.get_clock_info() to display information
       of the timer.
    fe98e2fc
Adı
Son kayıt (commit)
Son güncelleme
..
sqlite3 Loading commit data...
capsulethunk.h Loading commit data...
dbpickle.py Loading commit data...
email-alternative.py Loading commit data...
email-dir.py Loading commit data...
email-headers.py Loading commit data...
email-mime.py Loading commit data...
email-simple.py Loading commit data...
email-unpack.py Loading commit data...
minidom-example.py Loading commit data...
mp_benchmarks.py Loading commit data...
mp_newtype.py Loading commit data...
mp_pool.py Loading commit data...
mp_synchronize.py Loading commit data...
mp_webserver.py Loading commit data...
mp_workers.py Loading commit data...
noddy.c Loading commit data...
noddy2.c Loading commit data...
noddy3.c Loading commit data...
noddy4.c Loading commit data...
run-func.c Loading commit data...
setup.py Loading commit data...
shoddy.c Loading commit data...
test.py Loading commit data...
turtle-star.py Loading commit data...
typestruct.h Loading commit data...
tzinfo-examples.py Loading commit data...