(b *testing.B)
| 163 | } |
| 164 | |
| 165 | func BenchmarkLogKeyEnabled(b *testing.B) { |
| 166 | logKeys := logKeyMask(KeyCRUD, KeyDCP, KeyReplicate) |
| 167 | benchmarkLogKeyEnabled(b, "Wildcard", KeyCache, logKeyMask(KeyAll)) |
| 168 | benchmarkLogKeyEnabled(b, "Hit", KeyDCP, logKeys) |
| 169 | benchmarkLogKeyEnabled(b, "Miss", KeyCache, logKeys) |
| 170 | } |
| 171 | |
| 172 | func BenchmarkToggleLogKeys(b *testing.B) { |
| 173 | b.Run("Enable", func(bn *testing.B) { |
nothing calls this directly
no test coverage detected