MCPcopy Create free account
hub / github.com/segmentio/encoding / benchmarkIsZeroBytes

Function benchmarkIsZeroBytes

proto/bytes_test.go:21–25  ·  view source on GitHub ↗
(b *testing.B, slice []byte)

Source from the content-addressed store, hash-verified

19}
20
21func benchmarkIsZeroBytes(b *testing.B, slice []byte) {
22 for range b.N {
23 isZeroBytes(slice)
24 }
25}

Callers 4

BenchmarkIsZeroBytes0Function · 0.85
BenchmarkIsZeroBytes4Function · 0.85
BenchmarkIsZeroBytes7Function · 0.85
BenchmarkIsZeroBytes64KFunction · 0.85

Calls 1

isZeroBytesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…