From f87eb4e22ba6ca842a004f9ea7d0500a8dd469e9 Mon Sep 17 00:00:00 2001 From: Tobias Schmidt Date: Fri, 19 Jan 2024 21:58:28 +0100 Subject: [PATCH] print three decimal places for query runtimes --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index ce2f530f2..332ab67c7 100644 --- a/index.html +++ b/index.html @@ -988,7 +988,7 @@

Detailed Comparison

const ratio = curr_timing !== null ? (constant_time_add + curr_timing) / (constant_time_add + baseline_timing) : null; let td = document.createElement('td'); - td.appendChild(document.createTextNode(curr_timing !== null ? `${curr_timing.toFixed(2)}s (×${ratio.toFixed(2)})` : '☠')); + td.appendChild(document.createTextNode(curr_timing !== null ? `${curr_timing.toFixed(3)}s (×${ratio.toFixed(2)})` : '☠')); colorize(td, ratio); tr.appendChild(td);