Skip to content

Commit c1be7cc

Browse files
committed
rename compare_with_previous to maybe_compare_with_previous
1 parent bf6901d commit c1be7cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

benchmarks/src/tpch/run.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ impl RunOpt {
172172
}
173173
}
174174
}
175-
benchmark_run.compare_with_previous(self.output_path.as_ref())?;
175+
benchmark_run.maybe_compare_with_previous(self.output_path.as_ref())?;
176176
benchmark_run.maybe_write_json(self.output_path.as_ref())?;
177177
benchmark_run.maybe_print_failures();
178178
Ok(())

benchmarks/src/util/run.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ impl BenchmarkRun {
209209
Ok(())
210210
}
211211

212-
pub fn compare_with_previous(&self, maybe_path: Option<impl AsRef<Path>>) -> Result<()> {
212+
pub fn maybe_compare_with_previous(&self, maybe_path: Option<impl AsRef<Path>>) -> Result<()> {
213213
let Some(path) = maybe_path else {
214214
return Ok(());
215215
};

0 commit comments

Comments
 (0)