Skip to content

Commit 5c70fec

Browse files
committed
Add legend for measurement column 3.0
1 parent 12ce0d9 commit 5c70fec

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ <h1>ClickBench — a Benchmark For Analytical DBMS</h1>
424424
</th>
425425
<th colspan="2">
426426
Relative <span id="time-or-size">time</span> (lower is better).<br>
427-
<span style="font-weight: normal;">Different shades of brown represent the same value at different scales (1x, 10x, 100x zoom).</span>
427+
<span style="font-weight: normal" id="scale_hint"></span>
428428
</th>
429429
</tr>
430430
</thead>
@@ -1045,6 +1045,10 @@ <h2>Detailed Comparison</h2>
10451045
}
10461046

10471047
findPassiveSelectors(filtered_data);
1048+
1049+
/// The small hint below column heading "Relative time (lower is better)"
1050+
color = (document.documentElement.getAttribute('data-theme') == 'dark') ? 'blue' : 'brown';
1051+
document.getElementById("scale_hint").textContent = 'Different shades of ' + color + ' represent the same value at different scales (1x, 10x, 100x zoom).';
10481052
}
10491053

10501054
function isSubsequence(str, subseq) {

0 commit comments

Comments
 (0)