tendermint: github.com/tendermint/tendermint/crypto/internal/benchmarking Index | Files

package benchmarking

import "github.com/tendermint/tendermint/crypto/internal/benchmarking"


Package Files


func BenchmarkKeyGeneration Uses

func BenchmarkKeyGeneration(b *testing.B, generateKey func(reader io.Reader) crypto.PrivKey)

BenchmarkKeyGeneration benchmarks the given key generation algorithm using a dummy reader.

func BenchmarkSigning Uses

func BenchmarkSigning(b *testing.B, priv crypto.PrivKey)

BenchmarkSigning benchmarks the given signing algorithm using the provided privkey.

func BenchmarkVerification Uses

func BenchmarkVerification(b *testing.B, priv crypto.PrivKey)

BenchmarkVerification benchmarks the given verification algorithm using the provided privkey on a constant message.

Package benchmarking imports 3 packages (graph). Updated 2019-08-02. Refresh now. Tools for package owners.