Bug 1142680 - perfherder compare subtest view #485
Conversation
@@ -6,6 +6,19 @@ | |||
|
|||
var perf = angular.module("perf", ['ui.router', 'ui.bootstrap', 'treeherder']); | |||
|
|||
perf.factory('isReverseTest', [ function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should really be picking this up in the signature. Filed https://bugzilla.mozilla.org/show_bug.cgi?id=1158233 for this
var options = [ optionCollectionMap[signatureProps.option_collection_hash] ]; | ||
if (e10s) { | ||
options.push("e10s"); | ||
perf.factory('phSeries', ['$http', 'thServiceDomain', function($http, thServiceDomain) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For whatever reason, the convention seems to be to capitalize factories. I.e. phSeries should be PhSeries.
thanks for the awesome feedback, I have updated the commit with --amend and all items should be addressed. This feels a lot cleaner now- not perfect, but many workable! |
}]); | ||
|
||
|
||
perf.factory('getResultsMap', [ '$q', '$http', 'thServiceDomain', 'phSeries', 'math', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's fold getCounterMap, getResultsMap into a factory called PhCompare -- they're only really useful in that context.
updated PR with --amend, this should be rad! |
Merged manually. |
initial work with some refactoring to get subtests viewed from the compare view on perfherder.