Skip to content

Commit

Permalink
Goal::None
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai committed Dec 1, 2023
1 parent 77e53f5 commit 400b14b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions shotover-proxy/benches/windsock/profilers/shotover_metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ impl ShotoverMetrics {
let Value::Gauge(x) = x else {
panic!("metric type changed during bench run")
};
(*x, x.to_string(), Goal::SmallerIsBetter) // TODO: Goal::None
(*x, x.to_string(), Goal::None)
})
.collect(),
});
Expand All @@ -90,8 +90,7 @@ impl ShotoverMetrics {
};
let diff = x - prev;
prev = *x;
(diff, diff.to_string(), Goal::SmallerIsBetter)
// TODO: Goal::None
(diff, diff.to_string(), Goal::None)
})
.collect(),
});
Expand Down
1 change: 1 addition & 0 deletions windsock/src/tables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,7 @@ struct Measurement {
pub enum Goal {
BiggerIsBetter,
SmallerIsBetter,
None,
}

enum Color {
Expand Down

0 comments on commit 400b14b

Please sign in to comment.