MCPcopy Create free account
hub / github.com/enviodev/hypersync-client-python / test_get_height

Function test_get_height

test.py:194–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

192
193
194async def test_get_height():
195 client = make_client()
196 total_time = 0
197 for _ in range(NUM_BENCHMARK_RUNS):
198 start_time = time.time()
199 await client.get_height()
200 execution_time = (time.time() - start_time) * 1000
201 total_time += execution_time
202 print(f"get_height time: {format(execution_time, '.9f')}ms")
203
204
205async def test_decode_logs():

Callers 1

mainFunction · 0.85

Calls 2

make_clientFunction · 0.85
get_heightMethod · 0.45

Tested by

no test coverage detected