| 59 | |
| 60 | |
| 61 | class BenchmarkResult: |
| 62 | def __init__(self, name): |
| 63 | self.name = name |
| 64 | self.runs: List[float] = [] |
| 65 | |
| 66 | def add(self, duration: float): |
| 67 | self.runs.append(duration) |
| 68 | |
| 69 | def write(self): |
| 70 | for i, run in enumerate(self.runs): |
| 71 | write_result(self.name, i, run) |
| 72 | |
| 73 | |
| 74 | class TPCHData: |