MCPcopy Create free account
hub / github.com/apache/datafusion / main

Function main

benchmarks/compare.py:244–272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

242 console.print(summary_table)
243
244def main() -> None:
245 parser = ArgumentParser()
246 compare_parser = parser
247 compare_parser.add_argument(
248 "baseline_path",
249 type=Path,
250 help="Path to the baseline summary file.",
251 )
252 compare_parser.add_argument(
253 "comparison_path",
254 type=Path,
255 help="Path to the comparison summary file.",
256 )
257 compare_parser.add_argument(
258 "--noise-threshold",
259 type=float,
260 default=0.05,
261 help="The threshold for statistically insignificant results (+/- %5).",
262 )
263 compare_parser.add_argument(
264 "--detailed",
265 action=argparse.BooleanOptionalAction,
266 default=False,
267 help="Show detailed result comparison instead of minimum runtime.",
268 )
269
270 options = parser.parse_args()
271
272 compare(options.baseline_path, options.comparison_path, options.noise_threshold, options.detailed)
273
274
275

Callers 1

compare.pyFile · 0.70

Calls 1

compareFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…