(b *testing.B)
| 16 | } |
| 17 | |
| 18 | func BenchmarkHashString(b *testing.B) { |
| 19 | b.RunParallel(func(pb *testing.PB) { |
| 20 | for pb.Next() { |
| 21 | _ = fnv.HashString("abcdefh") |
| 22 | } |
| 23 | }) |
| 24 | } |
| 25 | |
| 26 | func BenchmarkHashString_Long(b *testing.B) { |
| 27 | b.RunParallel(func(pb *testing.PB) { |
nothing calls this directly
no test coverage detected