aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/crates/candelabra/src/cost/benchmark.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crates/candelabra/src/cost/benchmark.rs b/src/crates/candelabra/src/cost/benchmark.rs
index 885bc4a..9c5c382 100644
--- a/src/crates/candelabra/src/cost/benchmark.rs
+++ b/src/crates/candelabra/src/cost/benchmark.rs
@@ -155,6 +155,7 @@ fn parse_time_str(quantity: &str, suffix: &str) -> Option<Cost> {
Some(
f64::from_str(quantity).ok()?
* match suffix {
+ " s" => 1e9,
"ms" => 1e6,
"µs" => 1e3,
"ns" => 1.0,