[LNT] r256234 - Fix missing order and metric in regression graph
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 21 23:08:56 PST 2015
Author: cmatthews
Date: Tue Dec 22 01:08:56 2015
New Revision: 256234
URL: http://llvm.org/viewvc/llvm-project?rev=256234&view=rev
Log:
Fix missing order and metric in regression graph
Modified:
lnt/trunk/lnt/server/ui/static/lnt_graph.js
lnt/trunk/lnt/server/ui/templates/v4_regression_detail.html
Modified: lnt/trunk/lnt/server/ui/static/lnt_graph.js
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/static/lnt_graph.js?rev=256234&r1=256233&r2=256234&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/static/lnt_graph.js (original)
+++ lnt/trunk/lnt/server/ui/static/lnt_graph.js Tue Dec 22 01:08:56 2015
@@ -347,16 +347,15 @@ function init_graph () {
update_graph();
});
- $('#xaxis').css('position', 'relative');
+ $('#xaxis').css('position', 'absolute');
$('#xaxis').css('left', '50%');
- $('#xaxis').css('bottom', '100px');
+ $('#xaxis').css('bottom', '-15px');
$('#xaxis').css('width', '100px');
$('#xaxis').css('margin-left', '-50px');
- $('#yaxis').css('position', 'relative');
- $('#yaxis').css('left', '-60px');
- $('#yaxis').css('float', 'left');
- $('#yaxis').css('top', '-250px');
+ $('#yaxis').css('position', 'absolute');
+ $('#yaxis').css('left', '-55px');
+ $('#yaxis').css('top', '50%');
$('#yaxis').css('-webkit-transform', 'rotate(-90deg)');
$('#yaxis').css('-moz-transform', 'rotate(-90deg)');
Modified: lnt/trunk/lnt/server/ui/templates/v4_regression_detail.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/v4_regression_detail.html?rev=256234&r1=256233&r2=256234&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/v4_regression_detail.html (original)
+++ lnt/trunk/lnt/server/ui/templates/v4_regression_detail.html Tue Dec 22 01:08:56 2015
@@ -13,9 +13,9 @@
<script language="javascript" type="text/javascript"
src="{{ url_for('.static',
filename='flot/jquery.flot.min.js') }}"> </script>
- <script language="javascript" type="text/javascript"
- src="{{ url_for('.static',
- filename='flot/jquery.flot.symbol.min.js') }}"> </script>
+ <script language="javascript" type="text/javascript"
+ src="{{ url_for('.static',
+ filename='flot/jquery.flot.symbol.min.js') }}"> </script>
<script language="javascript" type="text/javascript"
src="{{ url_for('.static',
filename='flot/jquery.flot.errorbars.min.js') }}"> </script>
@@ -63,9 +63,10 @@ var changes = [
<br>
<button id="normalize" type="button" class="btn btn-default" style="width:100%; text-align:center;">%</button>
</div>
+ <div id="yaxis">Metric</div>
+ <div id="xaxis">Order</div>
</div>
-<div id="yaxis">Metric</div>
-<div id="xaxis">Order</div>
+
<a href="{{regression.bug}}">{{regression.bug}}</a>
@@ -107,7 +108,7 @@ var changes = [
</tr>
</table>
<td>{{utils.render_machine(fc.ri.machine)}}</td>
- <td> {{ fc.ri.field.name }} </td>
+ <td class="metric"> {{ fc.ri.field.name }} </td>
{% set graph_base=v4_url_for('v4_graph', highlight_run=fc.run.id) %}
<td><a href="{{graph_base}}&plot.{{fc.ri.test.id}}={{ fc.ri.machine.id}}.{{fc.ri.test.id}}.{{fc.ri.field.index}}">{{ fc.ri.test.name }}</a></td>
<td>{{local.prefix}}{{ fc.ri.start_order.llvm_project_revision }}, {{local.render_order_link(fc.ri.end_order)}}</td>
More information about the llvm-commits
mailing list