MCPcopy Create free account
hub / github.com/apple/foundationdb / run_get_range_basic

Method run_get_range_basic

tests/python_tests/ryw_benchmark.py:134–138  ·  view source on GitHub ↗
(self, tr, count=100)

Source from the content-addressed store, hash-verified

132 return count / (time.time() - start)
133
134 def run_get_range_basic(self, tr, count=100):
135 start = time.time()
136 for i in range(count):
137 list(tr.get_range(self.key(0), self.key(self.key_count)))
138 return self.key_count * count / (time.time() - start)
139
140 def run_single_clear_get_range(self, tr, count=100):
141 for i in range(0, self.key_count, 2):

Callers

nothing calls this directly

Calls 4

keyMethod · 0.95
rangeFunction · 0.85
timeMethod · 0.65
get_rangeMethod · 0.45

Tested by

no test coverage detected