MCPcopy Index your code
hub / github.com/grantjenks/python-sortedcontainers / measure

Function measure

tests/benchmark.py:22–26  ·  view source on GitHub ↗
(test, func, size)

Source from the content-addressed store, hash-verified

20 print(*values, **kwargs)
21
22def measure(test, func, size):
23 start = time.clock()
24 test(func, size)
25 end = time.clock()
26 return (end - start)
27
28def benchmark(test, name, ctor, setup, func_name, limit):
29 if args.load > 0:

Callers 1

benchmarkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected