Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
18
def
timeit(f, n=10000):
19
return
min(repeat(f, repeat=3, number=n)) / float(n)
20
21
22
def
test_basic():
Callers
2
test_basic
Function · 0.85
test_big_doc
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected