MCPcopy Create free account
hub / github.com/CovenantSQL/CovenantSQL / BenchmarkPaddedBigBytesSmallPadding

Function BenchmarkPaddedBigBytesSmallPadding

utils/big_test.go:143–148  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

141}
142
143func BenchmarkPaddedBigBytesSmallPadding(b *testing.B) {
144 bigint := MustParseBig256("0x18F8F8F1000111000110011100222004330052300000000000000000FEFCF3CC")
145 for i := 0; i < b.N; i++ {
146 PaddedBigBytes(bigint, 5)
147 }
148}
149
150func BenchmarkPaddedBigBytesSmallOnePadding(b *testing.B) {
151 bigint := MustParseBig256("0x18F8F8F1000111000110011100222004330052300000000000000000FEFCF3CC")

Callers

nothing calls this directly

Calls 2

MustParseBig256Function · 0.85
PaddedBigBytesFunction · 0.85

Tested by

no test coverage detected