[llvm-commits] [LNT] r165449 - in /lnt/trunk/lnt/server/ui: templates/v4_graph.html views.py
Daniel Dunbar
daniel at zuster.org
Mon Oct 8 16:02:55 PDT 2012
Author: ddunbar
Date: Mon Oct 8 18:02:55 2012
New Revision: 165449
URL: http://llvm.org/viewvc/llvm-project?rev=165449&view=rev
Log:
v4_graph: Don't render the graph as a "run page".
- This was just confusing, as graphs don't really have much to do with any particular run.
Modified:
lnt/trunk/lnt/server/ui/templates/v4_graph.html
lnt/trunk/lnt/server/ui/views.py
Modified: lnt/trunk/lnt/server/ui/templates/v4_graph.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/v4_graph.html?rev=165449&r1=165448&r2=165449&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/v4_graph.html (original)
+++ lnt/trunk/lnt/server/ui/templates/v4_graph.html Mon Oct 8 18:02:55 2012
@@ -1,11 +1,7 @@
-{% import "v4_utils.html" as v4_utils %}
{% import "utils.html" as utils %}
-{% set machine = run.machine %}
-
{% extends "layout.html" %}
-{% set components = [(ts.name, v4_url_for("v4_overview")),
- ('machine', v4_url_for("v4_machine", id=machine.id))] %}
+{% set components = [(ts.name, v4_url_for("v4_overview"))] %}
{% block head %}
<script src="{{ url_for('.static', filename='popup.js') }}"></script>
<script src="{{ url_for('.static', filename='sorttable.js') }}"></script>
@@ -141,8 +137,6 @@
{% block body %}
-{% call v4_utils.v4_run_page(ts, machine, run, compare_to, neighboring_runs) %}
-
{{ utils.render_popup_begin('view_options', 'View Options', true) }}
<form action="" method="get">
<b>Hide Line Plot:</b>
@@ -232,9 +226,5 @@
</td></tr>
</table>
<p>
-<b>Plots</b>: {{ num_plots }}<br>
-<b>Num Points</b>: {{ num_points }}<br>
-
-{% endcall %}
{% endblock %}
Modified: lnt/trunk/lnt/server/ui/views.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/views.py?rev=165449&r1=165448&r2=165449&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/views.py (original)
+++ lnt/trunk/lnt/server/ui/views.py Mon Oct 8 18:02:55 2012
@@ -386,7 +386,6 @@
compare_to = prev_runs[0]
else:
compare_to = None
- neighboring_runs = next_runs[::-1] + [run] + prev_runs
# Parse the view options.
options = {}
@@ -445,7 +444,6 @@
graph_plots = []
overview_plots = []
revision_range = None
- num_points = 0
num_plots = len(graph_tests)
for i,(test,field) in enumerate(graph_tests):
# Determine the base plot color.
@@ -565,7 +563,6 @@
# Add the minimum line plot, if requested.
if show_lineplot:
- num_points += len(data)
graph_plots.append({
"data" : pts,
"color" : util.toColorString(col) })
@@ -645,10 +642,7 @@
"data" : moving_median_data,
"color" : util.toColorString(col) })
- return render_template("v4_graph.html", ts=ts, run=run,
- compare_to=compare_to, options=options,
- num_plots=num_plots, num_points=num_points,
- neighboring_runs=neighboring_runs,
+ return render_template("v4_graph.html", ts=ts, options=options,
revision_range=revision_range,
graph_plots=graph_plots,
overview_plots=overview_plots, legend=legend)
More information about the llvm-commits
mailing list