diff --git a/tooling/perf/src/implementation.rs b/tooling/perf/src/implementation.rs index 5c050cf5b136f5dfa58c419057b28d53cf529465..535f25a2b312133d5ef446a668b50f2bcdef7489 100644 --- a/tooling/perf/src/implementation.rs +++ b/tooling/perf/src/implementation.rs @@ -420,13 +420,16 @@ impl std::fmt::Display for PerfReport { for (cat, delta) in sorted.into_iter().rev() { const SIGN_POS: &str = "↑"; const SIGN_NEG: &str = "↓"; - const SIGN_NEUTRAL: &str = "±"; + const SIGN_NEUTRAL_POS: &str = "±↑"; + const SIGN_NEUTRAL_NEG: &str = "±↓"; let prettify = |time: f64| { let sign = if time > 0.05 { SIGN_POS - } else if time < 0.05 && time > -0.05 { - SIGN_NEUTRAL + } else if time > 0. { + SIGN_NEUTRAL_POS + } else if time > -0.05 { + SIGN_NEUTRAL_NEG } else { SIGN_NEG }; diff --git a/tooling/perf/src/main.rs b/tooling/perf/src/main.rs index c5a251a3e3920248278813236509435dadb86525..1e6ddedf11e2c5f265d3d4dd93785afbf7f565d2 100644 --- a/tooling/perf/src/main.rs +++ b/tooling/perf/src/main.rs @@ -228,8 +228,8 @@ fn compare_profiles(args: &[String]) { a.strip_prefix("--save=") .expect("FATAL: save param formatted incorrectly"), ); + ident_idx = 1; } - ident_idx = 1; }); let ident_new = args .get(ident_idx)