Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ run_test
Function
run_test
example_code/item_099.py:91–93 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
89
import
timeit
90
91
def
run_test():
92
chunk = video_data[byte_offset : byte_offset + size]
93
# Call socket.send(chunk), but ignoring for benchmark
94
95
result = (
96
timeit.timeit(
Callers
nothing calls this directly
Calls
2
recv
Method · 0.80
recv_into
Method · 0.80
Tested by
no test coverage detected