summaryrefslogtreecommitdiff
path: root/src/bin/obnam-benchmark.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/obnam-benchmark.rs')
-rw-r--r--src/bin/obnam-benchmark.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/obnam-benchmark.rs b/src/bin/obnam-benchmark.rs
index b0ff016..5df2aeb 100644
--- a/src/bin/obnam-benchmark.rs
+++ b/src/bin/obnam-benchmark.rs
@@ -71,7 +71,8 @@ impl Run {
info!("running benchmarks from {}", self.spec.display());
let spec = Specification::from_file(&self.spec)?;
let mut suite = Suite::new()?;
- let mut result = SuiteMeasurements::default();
+ let obnam_version = obnam_benchmark::client::ObnamClient::version()?;
+ let mut result = SuiteMeasurements::new(obnam_version)?;
for step in spec.steps().iter() {
result.push(suite.execute(step)?);
}