prysm-pulse/beacon-chain/state/stateutil/reference_bench_test.go
2021-03-10 20:57:46 -06:00

16 lines
196 B
Go

package stateutil
import (
"math"
"testing"
)
func BenchmarkReference_MinusRef(b *testing.B) {
ref := &Reference{
refs: math.MaxUint64,
}
for i := 0; i < b.N; i++ {
ref.MinusRef()
}
}