Delete core/rawdb/schema_test.go

This commit is contained in:
rjl493456442 2025-08-15 20:33:45 +08:00 committed by GitHub
parent a8291445f7
commit 08ee6b45e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,22 +0,0 @@
package rawdb
import (
"math/rand"
"testing"
"github.com/ethereum/go-ethereum/common"
)
var sink []byte
func BenchmarkStorageHistoryIndexBlockKey(b *testing.B) {
var h1, h2 common.Hash
for i := range h1 {
h1[i] = byte(rand.Intn(256))
h2[i] = byte(rand.Intn(256))
}
b.ResetTimer()
for i := 0; i < b.N; i++ {
sink = storageHistoryIndexBlockKey(h1, h2, uint32(i))
}
}