Add Checks counter to summary line

This commit is contained in:
Jeffrey Paul 2026-02-23 01:05:10 +07:00
parent d896c2d19b
commit 77e40bf4ef

View File

@ -470,6 +470,8 @@ function buildUI(state) {
<span class="text-gray-400">Max:</span> <span id="summary-max" class="text-red-400">--ms</span>
<span class="text-gray-600 mx-3">|</span>
<span class="text-gray-400">Avg:</span> <span id="summary-avg" class="text-yellow-400">--ms</span>
<span class="text-gray-600 mx-3">|</span>
<span class="text-gray-400">Checks:</span> <span id="summary-checks" class="text-gray-300">0</span>
</div>
</header>
@ -571,6 +573,9 @@ function updateSummary(state) {
el.className = "text-gray-500";
}
}
const checksEl = document.getElementById("summary-checks");
if (checksEl) checksEl.textContent = state.tickCount;
}
function updateHealthBox(state) {