func TestSimpleCache(t *testing.T) { … } // Note: the performance profile of this benchmark may not match that in the production. // When making change to SimpleCache, run test with and without concurrency to better understand the impact. // This is a tool to test and measure high concurrency of the cache in isolation and not to the Kubernetes usage of the Cache. func BenchmarkCacheContentions(b *testing.B) { … } func TestStripedCache(t *testing.T) { … } func benchmarkCache(cache cache, b *testing.B, numKeys int) { … } func testCache(cache cache, t *testing.T) { … }