We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 926bd4d + dd48a02 commit 08fce55Copy full SHA for 08fce55
staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cache_test.go
@@ -32,6 +32,9 @@ func TestSimpleCache(t *testing.T) {
32
testCache(newSimpleCache(4096, clock.RealClock{}), t)
33
}
34
35
+// Note: the performance profile of this benchmark may not match that in the production.
36
+// When making change to SimpleCache, run test with and without concurrency to better understand the impact.
37
+// This is a tool to test and measure high concurrency of the cache in isolation and not to the Kubernetes usage of the Cache.
38
func BenchmarkSimpleCache(b *testing.B) {
39
benchmarkCache(newSimpleCache(4096, clock.RealClock{}), b)
40
0 commit comments