mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
b62619ae3a
* Starting * Fix tests * Gazelle
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()
|
|
}
|
|
}
|