MCPcopy Create free account
hub / github.com/apache/cassandra-python-driver / run

Method run

benchmarks/future_full_throttle.py:25–38  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

23class Runner(BenchmarkThread):
24
25 def run(self):
26 futures = []
27
28 self.start_profile()
29
30 for i in range(self.num_queries):
31 key = "{0}-{1}".format(self.thread_num, i)
32 future = self.run_query(key)
33 futures.append(future)
34
35 for future in futures:
36 future.result()
37
38 self.finish_profile()
39
40
41if __name__ == "__main__":

Callers

nothing calls this directly

Calls 4

start_profileMethod · 0.80
run_queryMethod · 0.80
resultMethod · 0.80
finish_profileMethod · 0.80

Tested by

no test coverage detected