MCPcopy Create free account
hub / github.com/dbt-labs/ade-bench / run_profiling_session

Function run_profiling_session

scripts_python/profiling_statistics.py:605–611  ·  view source on GitHub ↗
(script_path: str, extra_args: list)

Source from the content-addressed store, hash-verified

603
604
605def 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
614def get_latest_summary_folder(summaries_dir: Path) -> Optional[Path]:

Callers 1

run_profiling_and_importFunction · 0.85

Calls 1

runMethod · 0.80

Tested by

no test coverage detected