MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / BenchmarkSign

Function BenchmarkSign

crypto/secp256k1/secp256_test.go:219–227  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

217}
218
219func BenchmarkSign(b *testing.B) {
220 _, seckey := generateKeyPair()
221 msg := csprngEntropy(32)
222 b.ResetTimer()
223
224 for i := 0; i < b.N; i++ {
225 Sign(msg, seckey)
226 }
227}
228
229func BenchmarkRecover(b *testing.B) {
230 msg := csprngEntropy(32)

Callers

nothing calls this directly

Calls 3

csprngEntropyFunction · 0.85
SignFunction · 0.85
generateKeyPairFunction · 0.70

Tested by

no test coverage detected