]> git.codecow.com Git - nano-pow.git/commitdiff
Swap runs and size in output.
authorChris Duncan <chris@codecow.com>
Sun, 26 Jul 2026 05:49:20 +0000 (22:49 -0700)
committerChris Duncan <chris@codecow.com>
Sun, 26 Jul 2026 05:49:20 +0000 (22:49 -0700)
index.html

index 84a7e4917c340c1c7dfa45b56da2659031e5207d..ee053a24bf1b97effd6d40976c1e3380849c8ceb 100644 (file)
@@ -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}<br/>`
+                                       document.getElementById('status').innerHTML = `TESTING IN PROGRESS. THIS MAY TAKE A LONG TIME. ${j}/${size} ${i}/${runs}<br/>`
                                        try {
                                                const duration = await sequenceGenerateValidate(api, difficulty, effort)
                                                times.push(duration)