From 1ef045d76e1fa31bc15f8a0cc38a829b7b171880 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Mon, 23 Dec 2024 12:24:34 -0800 Subject: [PATCH] Clarify which benchmarks belong to which project. --- index.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index b40f90f..d136439 100644 --- a/index.html +++ b/index.html @@ -21,7 +21,7 @@ await block.pow() const end = performance.now() times.push(end - start) - works.innerHTML += `${block.work} (${end - start} ms)
` + works.innerHTML += `libnemo-powgl: ${block.work} (${end - start} ms)
` console.log(block.work) } let sum = 0, reciprocals = 0, product = 1, count = times.length @@ -31,7 +31,8 @@ product *= times[i] } const t = document.getElementById('times') - t.innerHTML = `Total: ${sum} ms
+ t.innerHTML = `libnemo-powgl
+Total: ${sum} ms
Average: ${sum / count} ms
Harmonic: ${count / reciprocals} ms
Geometric: ${Math.pow(product, 1 / count)} ms
` @@ -48,8 +49,7 @@ Geometric: ${Math.pow(product, 1 / count)} ms
` }) const end = performance.now() times.push(end - start) - works.innerHTML += `${work} (${end - start} ms)
` - console.log(work) + works.innerHTML += `nano-webgl-pow: ${work} (${end - start} ms)
` } let sum = 0, reciprocals = 0, product = 1, count = times.length for (let i = 0; i < count; i++) { @@ -58,7 +58,8 @@ Geometric: ${Math.pow(product, 1 / count)} ms
` product *= times[i] } const t = document.getElementById('times') - t.innerHTML += `Total: ${sum} ms
+ t.innerHTML += `nano-webgl-pow
+Total: ${sum} ms
Average: ${sum / count} ms
Harmonic: ${count / reciprocals} ms
Geometric: ${Math.pow(product, 1 / count)} ms
` -- 2.34.1