Benchmarker for various crypto libraries
build:
dotnet publish -c Release -o out
To run all benchmarks and collate them into a single table:
dotnet out/benchmarks.dll -f '*' --join
To run single point of comparison eg benchmark the verification method of all libraries:
dotnet out/benchmarks.dll --anyCategories=verify —-join
To compare just ed25519 methods (or secp256k1)
dotnet out/benchmarks.dll --anyCategories=ed25519 --join
To get info about memory allocation add -m
to the console arguments
To run tests for a single library
dotnet out/benchmarks.dll
to get console options
Reports can be found in the BenchmarkDotNet.Artifacts/results folder.