Python‎ > ‎time‎ > ‎

time.perf_counter

http://www.adilwaseem.com/

Return
Performance counter for benchmarking.

Syntax
perf_counter() -> float

Parameters
N/A

Import module
Importing module is required in the Shell window and the Editor window.

Example
Return with benchmarking the time in floating point.
 >>> import time
>>> time.perf_counter()
5.401717638174587e-07
>>>

Comments