(self)
| 23 | class 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 | |
| 41 | if __name__ == "__main__": |
nothing calls this directly
no test coverage detected