Closed Bug 1224238 Opened 11 years ago Closed 11 years ago

Green background showing on numbers that have regressed

Categories

(Tree Management :: Perfherder, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: chutten, Assigned: wlach)

Details

Attachments

(1 external file)

On compare https://treeherder.mozilla.org/perf.html#/compare?originalProject=mozilla-central&originalRevision=84a7cf29f4f1&newProject=try&newRevision=ceaaed5dbb2a I notice that the number backgrounds are green, but the numbers have gone up. Near as I can tell, this is the opposite of what we want.
(In reply to Chris H-C :chutten from comment #0) > On compare > https://treeherder.mozilla.org/perf.html#/compare?originalProject=mozilla- > central&originalRevision=84a7cf29f4f1&newProject=try&newRevision=ceaaed5dbb2a > I notice that the number backgrounds are green, but the numbers have gone > up. Near as I can tell, this is the opposite of what we want. Oops, in bug 1158233 I modified perfherder to use some server-side metadata to determine lower is better. Unfortunately I was so busy making sure this metadata was read correctly by the client, I accidentally broke the most common case: where lower really is better.
Assignee: nobody → wlachance
Attached file PR —
This fixes the logic and hopefully cleans up the code sufficiently such that it's easier to reason about, so we won't make similar mistakes in the future.
Attachment #8686712 - Flags: review?(jmaher)
Comment on attachment 8686712 [details] [review] PR this looks great, thanks!
Attachment #8686712 - Flags: review?(jmaher) → review+
Commit pushed to master at https://github.com/mozilla/treeherder https://github.com/mozilla/treeherder/commit/c27b3e865b9793fff656ee8e940a3c78206fc0cb Bug 1224238 - Fix display of regressions/improvements in perfherder compare
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Things are showing green, orange, and red as I expect, now.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: