MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / Timer

Class Timer

Lib/timeit.py:105–225  ·  view source on GitHub ↗

Class for timing execution speed of small code snippets. The constructor takes a statement to be timed, an additional statement used for setup, and a timer function. Both statements default to 'pass'; the timer function is platform-dependent (see module doc string). To measure

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

timeitFunction · 0.70
repeatFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected