Allow null and ignored graphs.
This commit is contained in:
Родитель
a86d9d56be
Коммит
5319adb831
|
@ -101,6 +101,8 @@ AWFY.loadAggregateGraph = function (blobgraph) {
|
|||
|
||||
AWFY.displayNewGraph = function (name, graph) {
|
||||
var elt = $('#' + name + '-graph');
|
||||
if (!elt.length)
|
||||
return;
|
||||
var display = elt.data('awfy-display');
|
||||
if (!display) {
|
||||
display = new Display(this, name, elt);
|
||||
|
@ -162,6 +164,8 @@ AWFY.computeAggregate = function (received) {
|
|||
var graphs = { };
|
||||
for (var name in blob.graphs) {
|
||||
var blobgraph = blob.graphs[name];
|
||||
if (!blobgraph)
|
||||
continue;
|
||||
graphs[name] = this.loadAggregateGraph(blobgraph);
|
||||
}
|
||||
|
||||
|
|
|
@ -65,10 +65,11 @@
|
|||
<li>The x-axis is the date we ran tests, and the y-axis is the score of the benchmark.</li>
|
||||
<li>The front page displays a hybrid of historical data, as well as the most recent samples.</li>
|
||||
<li>You can click on a datapoint to see a tooltip with more information.</li>
|
||||
<li>Tooltips will either give you the revision range used to condense a point, or the changelog that occurred in between two points.</li>
|
||||
<li>Tooltips can be dragged around, for easier comparison.</li>
|
||||
<li>Some benchmarks use time (lower is better), and some use points (higher is better). We orient all graphs so lower is better, visually.</li>
|
||||
<li>Use the "machine" menu to see different computers' benchmark results.</li>
|
||||
<li>Use the "view" menu to drill down into individual benchmarks.</li>
|
||||
<li>Use the "Breakdown" menu to drill down into individual benchmarks.</li>
|
||||
<li>You can click and highlight any area of any graph to zoom in. It might pause to download data.</li>
|
||||
<li>You can unzoom by double-clicking inside a graph.</li>
|
||||
<li>A graph will refresh every 5 minutes if it is not zoomed in and has no attached tooltips.</li>
|
||||
|
|
Загрузка…
Ссылка в новой задаче