(b *testing.B)
| 198 | } |
| 199 | |
| 200 | func BenchmarkEnabledLogKeys(b *testing.B) { |
| 201 | logKeys := logKeyMask(KeyCRUD, KeyDCP, KeyReplicate) |
| 202 | for i := 0; i < b.N; i++ { |
| 203 | _ = logKeys.EnabledLogKeys() |
| 204 | } |
| 205 | } |
| 206 | |
| 207 | func benchmarkLogKeyEnabled(b *testing.B, name string, logKey LogKey, logKeys *LogKeyMask) { |
| 208 | b.Run(name, func(bn *testing.B) { |
nothing calls this directly
no test coverage detected