]> git.codecow.com Git - nano-pow.git/commitdiff
Revert output change.
authorChris Duncan <chris@codecow.com>
Thu, 21 May 2026 17:50:01 +0000 (10:50 -0700)
committerChris Duncan <chris@codecow.com>
Thu, 21 May 2026 17:50:01 +0000 (10:50 -0700)
test/index.html

index e147d2b08d4f14bafe46668bfe2817b102713a4d..451052ab5cce7e4387183512a55e4d51920a27f9 100644 (file)
@@ -47,7 +47,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
                        const title = type === 'WebGPU'
                                ? `NanoPow (${type}) | Effort: ${effort} | Dispatch: ${(effort << 8) << 1} | Threads: ${64 * (effort << 8) << 1}`
                                : type === 'WebGL'
-                                       ? `NanoPow (${type}) | Effort: ${effort} | Work per frame: ${Math.min(effort << 8, glSize) << 1}`
+                                       ? `NanoPow (${type}) | Effort: ${effort} | Work per frame: ${Math.min(effort << 8, glSize) ** 2}`
                                        : `NanoPow (${type}) | Effort: ${effort}`
                        return {
                                [title]: averages