Skip to content
Provides a script to benchmark proof-of-work generation via RPC requests
Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
LICENSE
README.md
benchmark.sh

README.md

blake2b-pow-bench

Usage

Included are binaries of nano-work-server in bin/. Run a work server as:

./nano-work-server --gpu 0:0 --cpu-threads 0 --listen-address [::1]:7076

For other options such as not using a GPU use --help.

Once online, the benchmark can be started:

./benchmark.sh MULTIPLIER N WORKER_URI

All values are optional:

  • multiplier defaults to 1.0 (make sure the base difficulty of the server is correct)
  • N defaults to 50 and is the number of requests to perform
  • worker_uri defaults to [::1]:7076

Using for low multipliers

The benchmark is sequential, meaning network latency must be taken into account for low multipliers, if using a remote work server.

You can’t perform that action at this time.