[PATCH] D44008: [LNT] When comparing to a different machine, plot both graphs.

Martin Liška via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 9 03:07:45 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL327113: When comparing to a different machine, plot both graphs. (authored by marxin, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D44008?vs=136729&id=137716#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D44008

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


Index: lnt/trunk/lnt/server/ui/templates/reporting/runs.html
===================================================================
--- lnt/trunk/lnt/server/ui/templates/reporting/runs.html
+++ lnt/trunk/lnt/server/ui/templates/reporting/runs.html
@@ -41,7 +41,11 @@
          {% for name, cr, test_id in bucket %}
          <tr>
            <td class="benchmark-name" style="{{ styles['td'] }}">
-             <a href="{{ run_url }}/graph?{{ [('test.%d' % test_id, field_index)] | urlencode }}">{{ name }}</a>
+             {% if run.machine != compare_to.machine %}
+               <a href="{{ run_url }}/graph?plot.0={{run.machine_id}}.{{test_id}}.{{field_index}}&plot.1={{compare_to.machine_id}}.{{test_id}}.{{field_index}}">{{ name }}</a>
+             {% else %}
+               <a href="{{ run_url }}/graph?{{ [('test.%d' % test_id, field_index)] | urlencode }}">{{ name }}</a>
+             {% endif %}
              {% if compare_to %}
              {% set compare_to_id = compare_to.id %}
              {% else %}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44008.137716.patch
Type: text/x-patch
Size: 1021 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180309/7f09a36e/attachment.bin>


More information about the llvm-commits mailing list