summaryrefslogtreecommitdiffstats
path: root/web/getstats/index.html
blob: cd94d7b55c0cbd1079f615ba3f82e8284a264373 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
<html>

<head>
    <title>BM2</title>
    <script type="text/javascript" src="jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="boxover/boxover.js"></script>
    <script type="text/javascript" src="global.js"></script>
    <script type="text/javascript" src="main.js"></script>
    <link rel="stylesheet" href="style.css" type="text/css" />

</head>

<body>

<!--
<img id="underConstruction" src="images/under_construction.jpg" />
<br/>
<script type="text/javascript">
    setTooltip(
        $("#underConstruction"),
        "This page is currently under construction. It may show " +
            "nonsense/limited information or even be completely broken.");
</script>
-->

<span id="title" style="font-size:18; font-weight:bold">BM2 - Main Page</span>
&nbsp;&nbsp;&nbsp;

<span style="white-space:nowrap">
<span id="status">no status</span>
<img alt="spinner" id="spinner" src="images/ajax-spinner.gif"
    style="display:none"/>
</span>

<div id="div_availableContexts" style="display:none">

<br />
<table id="actionTable">
  <tr id="actionTable_header"><th>Action</th><th>Arguments</th></tr>
  <tr>
    <td style="padding-top:5px; padding-bottom:5px;">
      <a class="disabledActionButton" id="action_stats1"
        href="javascript::void(0)" onclick="return false">
        Show basic statistics for Context <span class="context1">
        &nbsp;1&nbsp;</span></a>
      <script type="text/javascript">
        setTooltip(
            $("#action_stats1"),
            "For Context 1, this action shows basic statistics for " +
                "the observations produced by each benchmark.");
      </script>
    </td><td></td>
  </tr>
  <tr id="actionTable_rankings">
    <td style="padding-top:5px; padding-bottom:5px;">
      <a class="disabledActionButton" id="action_rankings"
        href="javascript::void(0)" onclick="return false">
        Show rankings for Context <span class="context1">
        &nbsp;1&nbsp;</span></a>
      <script type="text/javascript">
        setTooltip(
            $("#action_rankings"),
            "For Context 1, this action ranks benchmarks on different " +
                "criteria.<br /><br />The idea is to prioritize benchmarks " +
                "that deserve attention (either because they reflect stable " +
                "changes in Qt, or because they need to improve their own " +
                "quality)." +
                "<br /><br /><b>Note:</b> This action is enabled iff " +
                "an 'R' is indicated for the snapshot of Context 1, " +
                "thus indicating availability of rankings in the " +
                "database.");
      </script>
    </td>
    <td id="max_rank_size_lead">Maximum size:
      <select id="max_rank_size" onchange="updateActions()">
        <option value="5">5</option>
        <option value="10">10</option>
        <option value="20">20</option>
        <option value="50">50</option>
        <option value="100">100</option>
        <option value="200">200</option>
        <option value="500">500</option>
        <option value="1000">1000</option>
        <option value="-1">unlimited</option>
      </select>
      <script type="text/javascript">
        setTooltip(
            $("#max_rank_size_lead"),
            "The maximum number of benchmarks to show in each ranking.");
      </script>
    </td>
  </tr>
  <tr>
    <td style="padding-top:5px; padding-bottom:5px;">
      <a class="disabledActionButton" id="action_stats2"
         href="javascript:void(0)" onclick="return false">
        Compare Context <span class="context2">&nbsp;2&nbsp;</span> to Context
        <span class="context1">&nbsp;1&nbsp;</span></a>
      <script type="text/javascript">
        setTooltip(
            $("#action_stats2"),
            "This action shows how Context 2 compares directly to Context 1 " +
                "in terms of the per-benchmark median observations.");
      </script>
    </td><td></td>
  </tr>
  <tr>
    <td style="padding-top:5px; padding-bottom:5px;">
      <a class="disabledActionButton" id="action_tsstats"
         href="javascript::void(0)" onclick="return false">
         Show time series from Context <span class="context1">
          &nbsp;1&nbsp;</span> to Context <span class="context2">
          &nbsp;2&nbsp;</span></a>
      <script type="text/javascript">
        setTooltip(
            $("#action_tsstats"),
            "For the snapshot interval defined by Context 1 and 2, this " +
                "action shows statistics (for significant changes in the " +
                "median observation etc.) for all " +
                "per-benchmark time series. Moreover, the time series of a " +
                "selected benchmark is shown in a graphical plot." +
                "<br /><br /><b>Note:</b> This action is enabled by " +
                "specifying Context 1 and 2 so that the host/platform/branch " +
                "combinations are <u>identical</u>, while the " +
                "snapshots are <u>different</u>.");
      </script>
      (<span id="tsstats_nsnapshots">0</span>&nbsp;snapshots)
    </td>
    <td id="diff_tol_lead">Difference tolerance:
      <select id="diff_tol" onchange="updateActions()">
        <option value="1.0">1.0</option>
        <option value="1.01">1.01</option>
        <option value="1.02">1.02</option>
        <option value="1.05">1.05</option>
        <option value="1.1">1.1</option>
        <option value="1.2">1.2</option>
        <option value="1.5">1.5</option>
        <option value="2">2</option>
        <option value="5">5</option>
      </select>
      <script type="text/javascript">
        setTooltip(
            $("#diff_tol_lead"),
            "A <i>change</i> is the ratio of " +
                "the median observation in two snapshots. " +
                "A change is considered <i>significant</i> " +
                "if it is either greater than <i>DFT</i> " +
                "or less than 1&nbsp;/&nbsp;<i>DFT</i>, where <i>DFT</i> " +
                "is the difference tolerance.");
      </script>
    </td>
  </tr>
  <tr>
    <td></td>
    <td id="dur_tol_min_lead">
      Minimum durability tolerance:
      <select id="dur_tol_min" onchange="updateActions()">
        <option value="1">1</option>
        <option value="2">2</option>
        <option value="3">3</option>
        <option value="4">4</option>
        <option value="5">5</option>
        <option value="5">6</option>
      </select>
      <script type="text/javascript">
        setTooltip(
            $("#dur_tol_min_lead"),
            "The minimum length a contiguous sequence of significantly " +
                "equal median observations must have for it to achieve a " +
                "durability score greater than zero. Once the sequence is " +
                "at least this long, the durability score grows linearly " +
                "to 1 at a rate that depends on the maximum durability " +
                "tolerance.");
      </script>
    </td>
  </tr>
  <tr>
    <td></td>
    <td id="dur_tol_max_lead">
      Maximum durability tolerance:
      <select id="dur_tol_max" onchange="updateActions()">
        <option value="10">10</option>
        <option value="20">20</option>
        <option value="30">30</option>
        <option value="40">40</option>
        <option value="50">50</option>
        <option value="60">60</option>
        <option value="70">70</option>
        <option value="80">80</option>
        <option value="90">90</option>
        <option value="100">100</option>
      </select>
      <script type="text/javascript">
        setTooltip(
            $("#dur_tol_max_lead"),
            "The length of a contiguous sequence of significantly equal " +
                "median observations that is sufficient to achieve the " +
                "maximum durability score of 1. The durability score for " +
                "shorter sequences falls linearly to 0 at a rate that " +
                "depends on the minimum durability tolerance.");
      </script>
    </td>
  </tr>
</table>
<br />
<br />

<span style="font-size:14; font-weight:bold">Contexts:</span>

<br />
<div style="margin-top:5px; margin-bottom:5px;">
<b>Database:</b>
<select id="database" onchange="selectDatabase()">
    <option value="bm">bm</option>
    <option value="bm-dev">bm-dev (sandbox)</option>
</select>
</div>

<table id="contextsTable">
<thead>
<tr>
    <th id="context1" class="context1">1</th>
    <script type="text/javascript">setTooltip($("#context1"), "Context 1")
    </script>
    <th id="context2" class="context2">2</th>
    <script type="text/javascript">setTooltip($("#context2"), "Context 2")
    </script>
    <th>Host</th>
    <th>Platform</th>
    <th>Branch</th>
    <th>Snapshot</th>
</tr>
</thead>
<tbody>
</tbody>
</table>

<div id="div_noMatchingContexts" style="display:none">
<span style="font-size:14; color:red">--- no matching contexts ---</span>
</div>

<div id="div_matchingTestCases" style="display:none">
<br />
<br />
<span style="font-size:14; font-weight:bold">Test Cases:</span>
<a href="javascript::void(0)" onclick="selectAllTestCases(); return false;">
   select all</a>
&nbsp;&nbsp;&nbsp;
<a href="javascript::void(0)" onclick="clearAllTestCases(); return false;">
   clear all</a>
<table id="testCasesTable">
<thead>
</thead>
<tbody>
</tbody>
</table>

</div>

</div>

</body>
</html>