MCPcopy 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

89import timeit
90
91def run_test():
92 chunk = video_data[byte_offset : byte_offset + size]
93 # Call socket.send(chunk), but ignoring for benchmark
94
95result = (
96 timeit.timeit(

Callers

nothing calls this directly

Calls 2

recvMethod · 0.80
recv_intoMethod · 0.80

Tested by

no test coverage detected