Optimize index updating

Kubernetes-commit: 75273a0689250f4861ea41405e6402c6191563a8
This commit is contained in:
wojtekt
2021-09-24 15:24:01 +02:00
committed by Kubernetes Publisher
parent 463b3d12bb
commit e61d0d5d52
2 changed files with 53 additions and 41 deletions

View File

@@ -92,9 +92,6 @@ func TestThreadSafeStoreAddKeepsNonEmptySetPostDeleteFromIndex(t *testing.T) {
}
}
// BenchmarkIndexer-12 447849 2738 ns/op 242 B/op 4 allocs/op
// PASS
// ok k8s.io/kubernetes/vendor/k8s.io/client-go/tools/cache 2.451s
func BenchmarkIndexer(b *testing.B) {
testIndexer := "testIndexer"