From: Chris Duncan Date: Sun, 26 Jul 2026 05:49:20 +0000 (-0700) Subject: Swap runs and size in output. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=a848d809495f1c8185f7cdfc1e96f9bcfb44f998;p=nano-pow.git Swap runs and size in output. --- diff --git a/index.html b/index.html index 84a7e49..ee053a2 100644 --- a/index.html +++ b/index.html @@ -212,13 +212,13 @@ SPDX-License-Identifier: GPL-3.0-or-later api = type.toLowerCase() await selfCheck(api) Cache.clear() - logger.log(`%cNanoPow ${type}`, 'color:green', `Calculate truncated harmonic mean of the truncated arithmetic rate of generating proof-of-work across ${runs} runs of ${size} samples.`) + logger.log(`%cNanoPow ${type}`, 'color:green', `Calculate truncated harmonic mean of the truncated arithmetic rate of generating proof-of-work for ${size} samples over ${runs} test runs.`) const rates = [] for (let i = 0; i < runs; i++) { await new Promise(r => setTimeout(r)) const times = [] for (let j = 0; j < size; j++) { - document.getElementById('status').innerHTML = `TESTING IN PROGRESS. THIS MAY TAKE A LONG TIME. ${i}/${runs} ${j}/${size}
` + document.getElementById('status').innerHTML = `TESTING IN PROGRESS. THIS MAY TAKE A LONG TIME. ${j}/${size} ${i}/${runs}
` try { const duration = await sequenceGenerateValidate(api, difficulty, effort) times.push(duration)