]> zoso.dev Git - nano-pow.git/commitdiff
Grammar and math.
authorChris Duncan <chris@zoso.dev>
Thu, 16 Jan 2025 17:14:50 +0000 (09:14 -0800)
committerChris Duncan <chris@zoso.dev>
Thu, 16 Jan 2025 17:14:50 +0000 (09:14 -0800)
test.html

index 4710f0beeee5233407d242172b3ffff754b0523e..310e3df3fc3eecb4d8e671e0e4a6a70d2f22238c 100644 (file)
--- a/test.html
+++ b/test.html
@@ -89,7 +89,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
 
                        console.log(`%cNanoPow (${type})`, 'color:green', `Calculate proof-of-work for ${size} unique send block hashes`)
                        const times = []
-                       document.getElementById('output').innerHTML += `Now testing: NanoPow (${type}) | Dispatch: ${(effort * 0x100) ** 2} | Threads/Dispatch: ${64 * ((effort * 0x100) ** 2)}<br/>`
+                       document.getElementById('output').innerHTML += `Now testing: NanoPow (${type}) | Dispatch: ${(effort * 0x200) ** 2} | Threads/Dispatch: ${64 * ((effort * 0x200) ** 2)}<br/>`
                        for (let i = 0; i < size; i++) {
                                const hash = random()
                                let work = null
@@ -150,7 +150,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
        <h2>Speed test for NanoPow proof-of-work tool.</h2>
        <p>NanoPow uses cutting edge WebGPU technology. Not all browsers are supported.</p>
        <p>NanoPow uses WebGL 2.0 as a fallback option if WebGPU is not detected.</p>
-       <p>Times below are in milliseconds and summarized by various averaging methods.</p>
+       <p>Times below are in milliseconds and are summarized by various averaging methods.</p>
        <p>Level of Effort depends on hardware and does not guarantee faster results.</p>
        <hr />
        <label for="work">Work</label>