diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-01-05 10:55:38 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-01-05 10:55:38 +0200 |
commit | c3f951dfc552d52e568864913f0e0e632827c24a (patch) | |
tree | a00a0f469bfa18dbb8ace6de866474e224abf4a5 /src/bin/obnam-benchmark.rs | |
parent | 5fbd5a2ee98badc71867d2e7fce4d1429189267a (diff) | |
download | obnam-benchmark-c3f951dfc552d52e568864913f0e0e632827c24a.tar.gz |
refactor: rename Result to SuiteMeasurements
Sponsored-by: author
Diffstat (limited to 'src/bin/obnam-benchmark.rs')
-rw-r--r-- | src/bin/obnam-benchmark.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/obnam-benchmark.rs b/src/bin/obnam-benchmark.rs index f079d75..b0ff016 100644 --- a/src/bin/obnam-benchmark.rs +++ b/src/bin/obnam-benchmark.rs @@ -1,6 +1,6 @@ use log::{debug, error, info}; use obnam_benchmark::junk::junk; -use obnam_benchmark::result::Result; +use obnam_benchmark::result::SuiteMeasurements; use obnam_benchmark::specification::Specification; use obnam_benchmark::suite::Suite; use std::fs::File; @@ -71,7 +71,7 @@ impl Run { info!("running benchmarks from {}", self.spec.display()); let spec = Specification::from_file(&self.spec)?; let mut suite = Suite::new()?; - let mut result = Result::default(); + let mut result = SuiteMeasurements::default(); for step in spec.steps().iter() { result.push(suite.execute(step)?); } |