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

Method print_db_sizes

bench/lookup_bench.py:70–72  ·  view source on GitHub ↗
(self, init, filled)

Source from the content-addressed store, hash-verified

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
72 print(f"Array size (MB): {array_size:.3f}")
73
74 def open_db(self, remove=0):
75 if remove and Path(self.filename).is_file():

Callers 1

create_dbMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected