MCPcopy Create free account
hub / github.com/PyTables/PyTables / time_lru

Function time_lru

bench/LRUcache-node-bench.py:51–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49
50
51def time_lru():
52 # Next iterations
53 t1 = clock()
54 # for i in range(niter):
55 # iternodes()
56 iternodes()
57 print(f"time (from cache)--> {(clock() - t1) / niter:.3f}")
58
59
60def profile(verbose=False):

Callers 1

Calls 1

iternodesFunction · 0.85

Tested by

no test coverage detected