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

Method print_mtime

bench/indexed_search.py:58–61  ·  view source on GitHub ↗
(self, t1, explain)

Source from the content-addressed store, hash-verified

56 return int(sout.split(maxsplit=1)[0])
57
58 def print_mtime(self, t1, explain):
59 mtime = clock() - t1
60 print(f"{explain}: {mtime:.6f}")
61 print(f"Krows/s: {self.nrows / 1000 / mtime:.6f}")
62
63 def print_qtime(self, colname, ltimes):
64 qtime1 = ltimes[0] # First measured time

Callers 2

create_dbMethod · 0.95
index_dbMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected