]> zoso.dev Git - nano-pow.git/commitdiff
Update version. v4.1.0
authorChris Duncan <chris@zoso.dev>
Sat, 12 Apr 2025 05:28:53 +0000 (22:28 -0700)
committerChris Duncan <chris@zoso.dev>
Sat, 12 Apr 2025 05:28:53 +0000 (22:28 -0700)
CHANGELOG.md
package-lock.json
package.json

index 289be04676dea04a8aa277ced71dae20127d6986..6ed1aca9467fabfdf622976bf83cfe9ae7e49fde 100644 (file)
@@ -3,6 +3,48 @@ SPDX-FileCopyrightText: 2025 Chris Duncan <chris@zoso.dev>
 SPDX-License-Identifier: GPL-3.0-or-later
 -->
 
+## v4.1.0
+
+### Notable Changes
+
+#### Benchmark with CLI
+
+Comparing the performance of new features is difficult without reliable
+benchmarking, so now the CLI supports a `--benchmark` argument. Just call
+`nano-pow --benchmark 100` to execute a `work_generate` benchmark of 100 samples
+of random blockhashes. There is also a convenience script in the package to run
+1000 samples by using `npm run benchmark`.
+
+#### Refactor GPU compute shader
+
+After extensive additional testing, the real performance gains for the WebGPU
+compute shader come from two sources. The first is tuning a good balance of
+workgroup size and dispatch size, and to that end, the workgroup size has been
+set to 96 which was found during testing on an Nvidia RTX 3070 to be the lowest
+value that still saturated warp occupancy and active thread count. The second is
+native 64-bit data types, and WGSL simply does not support `u64` integers yet,
+so the compute shader has been reverted to a much simpler version that performs
+just as well as more complex versions across tens of thousands of benchmark
+samples.
+
+### Other Changes
+
+Store seed and blockhash in fast shared workgroup memory.
+
+Fix documentation in inline help and manual page.
+
+Fix CLI default port collision with server default port.
+
+Change timestamp on server log files to something more user-friendly.
+
+Test concurrent curl requests to NanoPow server.
+
+Fix action listed in server response error message.
+
+Prevent unnecessary favicon load in puppeteer source and in test webpage.
+
+
+
 ## v4.0.11
 
 ### Notable Changes
index c7433388df4e8b92039df0a2e4c1daa3d00a2d92..607fdea8d9dded4d6559f2a964a1a46897edac73 100644 (file)
@@ -1,12 +1,12 @@
 {
        "name": "nano-pow",
-       "version": "4.0.11",
+       "version": "4.1.0",
        "lockfileVersion": 3,
        "requires": true,
        "packages": {
                "": {
                        "name": "nano-pow",
-                       "version": "4.0.11",
+                       "version": "4.1.0",
                        "license": "(GPL-3.0-or-later AND MIT)",
                        "bin": {
                                "nano-pow": "dist/bin/nano-pow.sh"
index 23620bb8186285bc3b8ac4394e94d3eb55de6a1c..bd69bec6e799efc4499a185084df9df06217f38e 100644 (file)
@@ -1,6 +1,6 @@
 {
        "name": "nano-pow",
-       "version": "4.0.11",
+       "version": "4.1.0",
        "description": "Proof-of-work generation and validation with WebGPU/WebGL for Nano cryptocurrency.",
        "keywords": [
                "nemo",