(b *testing.B)
| 187 | } |
| 188 | |
| 189 | func BenchmarkTestRuntimeCache_Get(b *testing.B) { |
| 190 | cache := NewRuntimeCache() |
| 191 | cache.Set(TESTCacheKey, TESTCacheValue, 200000) |
| 192 | for i := 0; i < b.N; i++ { |
| 193 | cache.Get(TESTCacheKey) |
| 194 | } |
| 195 | } |
| 196 | |
| 197 | func BenchmarkTestRuntimeCache_Set(b *testing.B) { |
| 198 | cache := NewRuntimeCache() |
nothing calls this directly
no test coverage detected