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

Method timeit

Lib/timeit.py:178–199  ·  view source on GitHub ↗

Time 'number' executions of the main statement. To be precise, this executes the setup statement once, and then returns the time it takes to execute the main statement a number of times, as a float measured in seconds. The argument is the number of times through the

(self, number=default_number)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

repeatMethod · 0.95
mainFunction · 0.95
timeitFunction · 0.80

Calls 4

repeatMethod · 0.80
disableMethod · 0.45
innerMethod · 0.45
enableMethod · 0.45

Tested by

no test coverage detected