mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-25 13:47:19 +00:00
14 lines
177 B
Go
14 lines
177 B
Go
|
package util
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func BenchmarkUint256MarshalJSON(b *testing.B) {
|
||
|
v := Uint256{0x01, 0x02, 0x03}
|
||
|
|
||
|
for i := 0; i < b.N; i++ {
|
||
|
_, _ = v.MarshalJSON()
|
||
|
}
|
||
|
}
|