The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
woop/hmy/downloader/inserthelper_test.go

19 lines
320 B

package downloader
import (
"testing"
"github.com/ethereum/go-ethereum/common"
)
func BenchmarkNewVerifiedSigKey(b *testing.B) {
var bh common.Hash
commitSig := make([]byte, 100)
for i := 0; i != len(commitSig); i++ {
commitSig[i] = 0xf
}
for i := 0; i != b.N; i++ {
newVerifiedSigKey(bh, commitSig)
}
}