mirror of https://github.com/python/cpython
fe98e2fc83
* 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. |
||
---|---|---|
.. | ||
sqlite3 | ||
capsulethunk.h | ||
dbpickle.py | ||
email-alternative.py | ||
email-dir.py | ||
email-headers.py | ||
email-mime.py | ||
email-simple.py | ||
email-unpack.py | ||
minidom-example.py | ||
mp_benchmarks.py | ||
mp_newtype.py | ||
mp_pool.py | ||
mp_synchronize.py | ||
mp_webserver.py | ||
mp_workers.py | ||
noddy.c | ||
noddy2.c | ||
noddy3.c | ||
noddy4.c | ||
run-func.c | ||
setup.py | ||
shoddy.c | ||
test.py | ||
turtle-star.py | ||
typestruct.h | ||
tzinfo-examples.py |