MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / BenchmarkCheckHashErr

Function BenchmarkCheckHashErr

internal/utils/bfs/hash_test.go:23–27  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

21}
22
23func BenchmarkCheckHashErr(b *testing.B) {
24 for i := 0; i < b.N; i++ {
25 _ = bfs.CheckHash(bfs.Hash(strconv.Itoa(rand.Int())))
26 }
27}

Callers

nothing calls this directly

Calls 2

CheckHashFunction · 0.92
HashFunction · 0.92

Tested by

no test coverage detected