(script_path: str, extra_args: list)
| 603 | |
| 604 | |
| 605 | def run_profiling_session(script_path: str, extra_args: list) -> bool: |
| 606 | cmd = [script_path, "--n-concurrent-trials", "10"] + extra_args |
| 607 | try: |
| 608 | subprocess.run(cmd, check=True) |
| 609 | return True |
| 610 | except subprocess.CalledProcessError: |
| 611 | return False |
| 612 | |
| 613 | |
| 614 | def get_latest_summary_folder(summaries_dir: Path) -> Optional[Path]: |
no test coverage detected