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

Function cargo_clean

benchmarks/compile_profile.py:117–122  ·  view source on GitHub ↗
(profile: str)

Source from the content-addressed store, hash-verified

115
116
117def cargo_clean(profile: str) -> None:
118 command = ["cargo", "clean", "--profile", profile]
119 try:
120 subprocess.run(command, cwd=REPO_ROOT, check=True)
121 except subprocess.CalledProcessError as exc:
122 raise RuntimeError(f"failed to clean cargo artifacts for profile '{profile}'") from exc
123
124
125def run_benchmark(profile: str, data_path: Path) -> float:

Callers 1

mainFunction · 0.85

Calls 1

runMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…