Benchmark sub-optimal state checks on a clean key manager.
(b *testing.B)
| 303 | |
| 304 | // Benchmark sub-optimal state checks on a clean key manager. |
| 305 | func BenchmarkKeyMgr_CleanSubOptimal(b *testing.B) { |
| 306 | mgr := NewKeyManager() |
| 307 | |
| 308 | b.ResetTimer() |
| 309 | for n := 0; n < b.N; n++ { |
| 310 | checkKeyConfigSubOptimal(b, mgr) |
| 311 | } |
| 312 | } |
| 313 | |
| 314 | // Benchmark sub-optimal state checks on a filled key manager. |
| 315 | func BenchmarkKeyMgr_FilledSubOptimal(b *testing.B) { |
nothing calls this directly
no test coverage detected