Skip to content

Commit 47e0b92

Browse files
committed
rename compare_with_previous to maybe_compare_with_previous
1 parent 1fe4715 commit 47e0b92

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
@@ -187,7 +187,7 @@ impl RunOpt {
187187
}
188188
}
189189
}
190-
benchmark_run.compare_with_previous(self.output_path.as_ref())?;
190+
benchmark_run.maybe_compare_with_previous(self.output_path.as_ref())?;
191191
benchmark_run.maybe_write_json(self.output_path.as_ref())?;
192192
benchmark_run.maybe_print_failures();
193193
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)