We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4615309 commit 80f06b3Copy full SHA for 80f06b3
1 file changed
src/run/runner/wall_time/executor.rs
@@ -88,13 +88,13 @@ impl Executor for WallTimeExecutor {
88
89
async fn teardown(
90
&self,
91
- _config: &Config,
+ config: &Config,
92
_system_info: &SystemInfo,
93
run_data: &RunData,
94
) -> Result<()> {
95
debug!("Copying files to the profile folder");
96
97
- if let Some(perf) = &self.perf {
+ if let (Some(perf), true) = (&self.perf, config.enable_perf) {
98
perf.save_files_to(&run_data.profile_folder).await?;
99
}
100
0 commit comments