MCPcopy Create free account
hub / github.com/duckdb/duckdb / BenchmarkResult

Class BenchmarkResult

scripts/regression_test_python.py:61–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59
60
61class 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
74class TPCHData:

Callers 6

load_lineitemMethod · 0.70
run_tpchMethod · 0.70
benchmarkMethod · 0.70
benchmarkMethod · 0.70
benchmarkMethod · 0.70
benchmarkMethod · 0.70

Calls

no outgoing calls

Tested by 6

load_lineitemMethod · 0.56
run_tpchMethod · 0.56
benchmarkMethod · 0.56
benchmarkMethod · 0.56
benchmarkMethod · 0.56
benchmarkMethod · 0.56