Skip to content

Commit befad25

Browse files
authored
fix(go-runner): do not delete the profile folder (#34)
This broke flamegraphs, because we removed the perf.pipedata file which is directly written to the profile folder.
1 parent 71ef596 commit befad25

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

go-runner/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ pub fn run_benchmarks<P: AsRef<Path>>(
2121
project_dir: &Path,
2222
cli: &crate::cli::Cli,
2323
) -> anyhow::Result<()> {
24-
std::fs::remove_dir_all(&profile_dir).ok();
25-
2624
// 1. Build phase - Benchmark and package discovery
2725
let packages = BenchmarkPackage::from_project(project_dir, &cli.packages)?;
2826
info!("Discovered {} packages", packages.len());

0 commit comments

Comments
 (0)