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

Function BenchmarkHashString_Long

internal/utils/fnv/hash_test.go:26–32  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

24}
25
26func BenchmarkHashString_Long(b *testing.B) {
27 b.RunParallel(func(pb *testing.PB) {
28 for pb.Next() {
29 _ = fnv.HashString("HELLO,WORLDHELLO,WORLDHELLO,WORLDHELLO,WORLDHELLO,WORLDHELLO,WORLD")
30 }
31 })
32}

Callers

nothing calls this directly

Calls 2

HashStringFunction · 0.92
NextMethod · 0.80

Tested by

no test coverage detected