()
| 242 | console.print(summary_table) |
| 243 | |
| 244 | def 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 |
no test coverage detected
searching dependent graphs…