We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fe4715 commit 47e0b92Copy full SHA for 47e0b92
2 files changed
benchmarks/src/tpch/run.rs
@@ -187,7 +187,7 @@ impl RunOpt {
187
}
188
189
190
- benchmark_run.compare_with_previous(self.output_path.as_ref())?;
+ benchmark_run.maybe_compare_with_previous(self.output_path.as_ref())?;
191
benchmark_run.maybe_write_json(self.output_path.as_ref())?;
192
benchmark_run.maybe_print_failures();
193
Ok(())
benchmarks/src/util/run.rs
@@ -209,7 +209,7 @@ impl BenchmarkRun {
209
210
211
212
- pub fn compare_with_previous(&self, maybe_path: Option<impl AsRef<Path>>) -> Result<()> {
+ pub fn maybe_compare_with_previous(&self, maybe_path: Option<impl AsRef<Path>>) -> Result<()> {
213
let Some(path) = maybe_path else {
214
return Ok(());
215
};
0 commit comments