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

Function benchmarkSign

types/types_test.go:513–520  ·  view source on GitHub ↗
(b *testing.B, s ser)

Source from the content-addressed store, hash-verified

511}
512
513func benchmarkSign(b *testing.B, s ser) {
514 var err error
515 for i := 0; i < b.N; i++ {
516 if err = s.Sign(testingPrivateKey); err != nil {
517 b.Error(err)
518 }
519 }
520}
521
522func BenchmarkTypes(b *testing.B) {
523 var (

Callers 1

BenchmarkTypesFunction · 0.85

Calls 2

ErrorMethod · 0.80
SignMethod · 0.65

Tested by

no test coverage detected