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

Method print_mtime

bench/lookup_bench.py:65–68  ·  view source on GitHub ↗
(self, t1, explain)

Source from the content-addressed store, hash-verified

63 return int(line.split()[0])
64
65 def print_mtime(self, t1, explain):
66 mtime = clock() - t1
67 print(f"{explain}: {mtime:.6f}")
68 print(f"Krows/s: {self.nrows / 1000 / mtime:.6f}")
69
70 def print_db_sizes(self, init, filled):
71 array_size = (filled - init) / 1024

Callers 1

create_dbMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected