Closed
Bug 1214860
Opened 10 years ago
Closed 10 years ago
We fetch a lot of unnecessary data in perfherder compare
Categories
(Tree Management :: Perfherder, defect)
Tree Management
Perfherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: wlach, Assigned: wlach)
Details
Attachments
(1 file)
We fetch the full range of data incorporating the revisions we care about in perfherder compare, even though we only care about the data corresponding to the two result sets we're worried about. With the database refactoring, we can quickly look up just this subset of data. Let's take advantage of that, and hopefully clean things up a bit at the same time.
This will ease implementation of bug 1187000, I hope.
| Assignee | ||
Comment 1•10 years ago
|
||
This change improves the load times from about 6.5s -> 4s on a week old comparison (https://treeherder.mozilla.org/perf.html#/compare?originalProject=mozilla-inbound&originalRevision=906f76d5adcf&newProject=mozilla-inbound&newRevision=3012b7a2c97c). The savings would be even greater on an older comparison.
Further improvements are possible, but probably not worth the effort at this juncture.
Assignee: nobody → wlachance
Attachment #8675128 -
Flags: review?(jmaher)
Attachment #8675128 -
Flags: feedback?(mdoglio)
Comment on attachment 8675128 [details] [review]
PR
this was pretty simple
Attachment #8675128 -
Flags: review?(jmaher) → review+
Comment 3•10 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/9e6e70cd773ab99335c6cd3c8f7257de4f674854
Bug 1214860 - Reduce amount of data loaded in perfherder compare view
We only need the data associated with the result sets we are comparing,
instead of a large time interval covering it.
| Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Attachment #8675128 -
Flags: feedback?(mdoglio) → feedback+
You need to log in
before you can comment on or make changes to this bug.
Description
•