PyDocs

Nav

Generic Operating System Services

perf_counter

time

function · Added in 3.3
  • perf_counter() -> float
perf_counter() -> float

Performance counter for benchmarking.

The official docs include a CPython implementation detail for this entry.

Changed in 3.10, 3.13
  • 3.10: On Windows, the clock is now the same for all processes.
  • 3.13: Use the same clock as time.monotonic().
0 Examples
No examples for time/perf_counter.
See Also
No see-alsos for time/perf_counter
0 Notes
No notes for perf_counter