mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
960 B
960 B
Benchmarking
Dash Core has an internal benchmarking framework, with benchmarks for cryptographic algorithms (e.g. SHA1, SHA256, SHA512, RIPEMD160), as well as the rolling bloom filter.
Running
After compiling Dash Core, the benchmarks can be run with:
src/bench/bench_dash
The output will look similar to:
| ns/byte | byte/s | error % | benchmark
|--------------------:|--------------------:|--------:|:----------------------------------------------
| 64.13 | 15,592,356.01 | 0.1% | `Base58CheckEncode`
| 24.56 | 40,722,672.68 | 0.2% | `Base58Decode`
...
Help
-?
will print a list of options and exit:
src/bench/bench_dash -?
Notes
More benchmarks are needed for, in no particular order:
- Script Validation
- CCoinDBView caching
- Coins database
- Memory pool
- Wallet coin selection