mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 05:06:43 +00:00
Update hexutil_test.go
This commit is contained in:
parent
bd31f767cb
commit
c6d750dafc
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ func BenchmarkEncodeBig(b *testing.B) {
|
||||||
b.Run(bench.want, func(b *testing.B) {
|
b.Run(bench.want, func(b *testing.B) {
|
||||||
b.ReportAllocs()
|
b.ReportAllocs()
|
||||||
bigint := bench.input.(*big.Int)
|
bigint := bench.input.(*big.Int)
|
||||||
for i := 0; i < b.N; i++ {
|
for range b.Loop() {
|
||||||
EncodeBig(bigint)
|
EncodeBig(bigint)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue