(b *testing.B)
| 57 | ) |
| 58 | |
| 59 | func BenchmarkSHA256_PolicyInputs(b *testing.B) { |
| 60 | b.ResetTimer() |
| 61 | for i := 0; i < b.N; i++ { |
| 62 | input := policyInputs[i%len(policyInputs)] |
| 63 | _ = SHA256sum(input) |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | func BenchmarkXXHash_PolicyInputs(b *testing.B) { |
| 68 | b.ResetTimer() |
nothing calls this directly
no test coverage detected