]> zoso.dev Git - nano-pow.git/commitdiff
Increase effort range in test page. Benchmarks.
authorChris Duncan <chris@zoso.dev>
Fri, 17 Jan 2025 22:15:22 +0000 (14:15 -0800)
committerChris Duncan <chris@zoso.dev>
Fri, 17 Jan 2025 22:15:22 +0000 (14:15 -0800)
benchmarks.md
test.html

index 7347fde0bb4e6321335f31d8c8bf69ce2fb5dd18..40e069ee01a88cf6c9f856f2dc71fb19c9fa509b 100644 (file)
@@ -3,6 +3,103 @@ SPDX-FileCopyrightText: 2025 Chris Duncan <chris@zoso.dev>
 SPDX-License-Identifier: GPL-3.0-or-later
 -->
 
+After fixing test page bug setting Effort incorrectly
+
+16,16
+-----
+"NanoPow (WebGPU) | Effort: 16 | Dispatch: 16777216 | Threads: 1073741824": {
+               "count": 512,
+               "total": 164300.40000003576,
+               "rate": 3.8249916888598743,
+               "min": 77.30000000074506,
+               "max": 1980.5,
+               "arithmetic": 320.89921875006985,
+               "truncated": 261.4384765625655,
+               "harmonic": 198.34621659194366,
+               "geometric": 246.96739280242824
+       }
+
+"NanoPow (WebGPU) | Effort: 8 | Dispatch: 4194304 | Threads: 268435456": {
+               "count": 512,
+               "total": 133643.70000002906,
+               "rate": 5.0202476786249735,
+               "min": 20.699999999254942,
+               "max": 1318.199999999255,
+               "arithmetic": 261.02285156255675,
+               "truncated": 199.1933593750291,
+               "harmonic": 106.89582610328786,
+               "geometric": 171.1679993707545
+       }
+
+"NanoPow (WebGPU) | Effort: 4 | Dispatch: 1048576 | Threads: 67108864": {
+               "count": 512,
+               "total": 132850.19999996573,
+               "rate": 4.789670775618824,
+               "min": 6.899999998509884,
+               "max": 1723.5,
+               "arithmetic": 259.47304687493306,
+               "truncated": 208.78261718746217,
+               "harmonic": 74.8604325904412,
+               "geometric": 155.17772167307342
+       }
+
+
+8,8
+-----
+"NanoPow (WebGPU) | Effort: 32 | Dispatch: 67108864 | Threads: 4294967296": {
+               "count": 512,
+               "total": 168521.00000004843,
+               "rate": 3.871414593719482,
+               "min": 76.30000000074506,
+               "max": 2497.300000000745,
+               "arithmetic": 329.1425781250946,
+               "truncated": 258.3035156250844,
+               "harmonic": 209.53630679307048,
+               "geometric": 259.087912072887
+       }
+
+"NanoPow (WebGPU) | Effort: 16 | Dispatch: 16777216 | Threads: 1073741824": {
+               "count": 512,
+               "total": 128736.9999999404,
+               "rate": 4.969079128705403,
+               "min": 20.800000000745058,
+               "max": 1565.699999999255,
+               "arithmetic": 251.43945312488358,
+               "truncated": 201.24453124990396,
+               "harmonic": 106.21772967372581,
+               "geometric": 167.1924244801166
+       }
+
+"NanoPow (WebGPU) | Effort: 8 | Dispatch: 4194304 | Threads: 268435456": {
+               "count": 512,
+               "total": 133008.6999999974,
+               "rate": 4.771005703775073,
+               "min": 6.5,
+               "max": 1757.5999999996275,
+               "arithmetic": 259.7826171874949,
+               "truncated": 209.5994140624789,
+               "harmonic": 77.38622139525103,
+               "geometric": 155.94476005599634
+       }
+
+"NanoPow (WebGPU) | Effort: 1 | Dispatch: 65536 | Threads: 4194304": {
+               "count": 512,
+               "total": 178794.09999999218,
+               "rate": 3.724110341315865,
+               "min": 2.699999999254942,
+               "max": 3011.2999999988824,
+               "arithmetic": 349.2072265624847,
+               "truncated": 268.5205078125218,
+               "harmonic": 79.8080055571974,
+               "geometric": 202.6704071324123
+       }
+
+
+
+-----
+
+
+
 NanoPow (WebGPU) 3070 (dispatch 0x2000 workgroup 256)
 {
        "count": 512,
index 3d266523c9e000b9fea908c197f1f733140943e1..32fed1f12a9cd23a213bcd6d5f503186ac37a772 100644 (file)
--- a/test.html
+++ b/test.html
@@ -166,8 +166,8 @@ SPDX-License-Identifier: GPL-3.0-or-later
        <hr />
        <label for="size">Test Size</label>
        <input id="size" type="number" value="64" autofocus />
-       <label for="effort">Effort (1-16)</label>
-       <input id="effort" type="number" value="8" min="1" max="16" />
+       <label for="effort">Effort (1-32)</label>
+       <input id="effort" type="number" value="8" min="1" max="32" />
        <span>
                <label for="isOutputShown">Show output?</label>
                <input id="isOutputShown" type="checkbox" checked />