Skip to content

Project to benchmark different c# crypto libraries and curves including NSec && SecpK1 wrapped && BouncyCastle

Notifications You must be signed in to change notification settings

catalyst-network/dotnet-crypto-benchmarking

Repository files navigation

ReDoc logo

Crypto Benchmarking

Discord GitHub followers GitHub stars Twitter Follow Subreddit subscribers

Benchmarker for various crypto libraries

Setup

build:

dotnet publish -c Release -o out

Run benchmarks

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

Reports can be found in the BenchmarkDotNet.Artifacts/results folder.

Report 4/1/19

About

Project to benchmark different c# crypto libraries and curves including NSec && SecpK1 wrapped && BouncyCastle

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages