MCPcopy Index your code
hub / github.com/MongoEngine/mongoengine / timeit

Function timeit

benchmarks/test_basic_doc_ops.py:18–19  ·  view source on GitHub ↗
(f, n=10000)

Source from the content-addressed store, hash-verified

16
17
18def timeit(f, n=10000):
19 return min(repeat(f, repeat=3, number=n)) / float(n)
20
21
22def test_basic():

Callers 2

test_basicFunction · 0.85
test_big_docFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected