mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-05-02 03:02:54 -04:00
16 lines
196 B
Go
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()
|
|
}
|
|
}
|