diff --git a/dpbench/infrastructure/benchmark_results.py b/dpbench/infrastructure/benchmark_results.py index d4b73239..e34746d1 100644 --- a/dpbench/infrastructure/benchmark_results.py +++ b/dpbench/infrastructure/benchmark_results.py @@ -132,6 +132,15 @@ def print(self, framework_name: str = "", framework_version: str = ""): "median execution times:", self._format_ns(self.median_exec_time), ) + warmup_ovhd_time = int(self.warmup_time) - int( + self.median_exec_time + ) + print( + "warmup overhead time (warmup time - median execution time):", + self._format_ns(warmup_ovhd_time) + if warmup_ovhd_time > 0 + else "N/A", + ) print("repeats:", self.repeats) print("preset:", self.preset) print("validated:", self.validation_state)