Skip to content

Commit 1db6b5b

Browse files
authored
Merge pull request #576 from ClickHouse/legend-3
Add legend for measurement column 3.0
2 parents 981e994 + 5c70fec commit 1db6b5b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,8 @@ <h1>ClickBench — a Benchmark For Analytical DBMS</h1>
423423
System &amp; Machine
424424
</th>
425425
<th colspan="2">
426-
Relative <span id="time-or-size">time</span> (lower is better)
426+
Relative <span id="time-or-size">time</span> (lower is better).<br>
427+
<span style="font-weight: normal" id="scale_hint"></span>
427428
</th>
428429
</tr>
429430
</thead>
@@ -1044,6 +1045,10 @@ <h2>Detailed Comparison</h2>
10441045
}
10451046

10461047
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).';
10471052
}
10481053

10491054
function isSubsequence(str, subseq) {

0 commit comments

Comments
 (0)