Skip to content

Commit 69c0cd2

Browse files
committed
Add headers
1 parent d14e10a commit 69c0cd2

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

site/static/compare.html

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,15 @@
192192
text-align: center;
193193
}
194194

195-
#benches th {
195+
#benches tbody:first-child th {
196+
text-align: center;
197+
}
198+
199+
#benches tbody:not(:first-child) th {
196200
border-right: dotted 1px;
201+
}
202+
203+
#benches th {
197204
text-align: left;
198205
word-break: break-word;
199206
width: 25%;
@@ -401,6 +408,26 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
401408
</div>
402409
</div>
403410
<table id="benches" class="compare">
411+
<tbody>
412+
<tr>
413+
<th>Name & Profile</th>
414+
<th>Scenario</th>
415+
<th>{{before}}</th>
416+
<th>{{after}}</th>
417+
<th>% Change</th>
418+
<th>
419+
Significance Factor<span class="tooltip">?
420+
<span class="tooltiptext">
421+
How much a particular result is over the significance threshold. A factor of 2.50x
422+
means
423+
the result is 2.5 times over the significance threshold. You can see <a
424+
href="https://github.com/rust-lang/rustc-perf/blob/master/docs/comparison-analysis.md#what-makes-a-test-result-significant">
425+
here</a> how the significance threshold is calculated.
426+
</span>
427+
</span>
428+
</th>
429+
</tr>
430+
</tbody>
404431
<template v-for="bench in benches">
405432
<tbody>
406433
<template v-for="run in bench.variants">

0 commit comments

Comments
 (0)