[LNT] r263926 - [profile] Add profile links to the run comparison report

James Molloy via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 21 03:46:19 PDT 2016


Author: jamesm
Date: Mon Mar 21 05:46:19 2016
New Revision: 263926

URL: http://llvm.org/viewvc/llvm-project?rev=263926&view=rev
Log:
[profile] Add profile links to the run comparison report

This is the final step in hooking up profiling.

Modified:
    lnt/trunk/lnt/server/ui/templates/reporting/runs.html

Modified: lnt/trunk/lnt/server/ui/templates/reporting/runs.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/reporting/runs.html?rev=263926&r1=263925&r2=263926&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/reporting/runs.html (original)
+++ lnt/trunk/lnt/server/ui/templates/reporting/runs.html Mon Mar 21 05:46:19 2016
@@ -43,6 +43,12 @@
          <tr>
            <td class="benchmark-name" style="{{ styles['td'] }}">
              <a href="{{ run_url }}/graph?{{ [('test.%d' % test_id, field_index)] | urlencode }}">{{ name }}</a>
+             {% if compare_to %}
+             {% set compare_to_id = compare_to.id %}
+             {% else %}
+             {% set compare_to_id = None %}
+             {% endif %}
+             {{ utils.render_profile_link(cr.profile, cr.prev_profile, run.id, compare_to_id, test_id) }}
            </td>
            {{ cr.pct_delta|aspctcell(style=styles['td'],reverse=cr.bigger_is_better)|safe }}
            <td style="{{ styles['td'] }}">{{ "%.4f" | format(cr.previous) }}</td>




More information about the llvm-commits mailing list