kubernetes/pkg/controller/petset
Kubernetes Submit Queue d2543c30d8 Merge pull request #30277 from wojtek-t/optimize_controllers
Automatic merge from submit-queue

Avoid computing DeepEqual in controllers all the time

Computing DeepCopy was responsible for ~33% of cpu usage of controller-manager before this PR.

<!--
Checklist for submitting a Pull Request

Please remove this comment block before submitting.

1. Please read our [contributor guidelines](https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md).
2. See our [developer guide](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md).
3. If you want this PR to automatically close an issue when it is merged,
   add `fixes #<issue number>` or `fixes #<issue number>, fixes #<issue number>`
   to close multiple issues (see: https://github.com/blog/1506-closing-issues-via-pull-requests).
4. Follow the instructions for [labeling and writing a release note for this PR](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes) in the block below.
-->

```release-note
* Use the release-note-* labels to set the release note state 
* Clear this block to use the PR title as the release note 
-OR-
* Enter your extended release note here (newlines are formatted as bullets)
```

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30277)
<!-- Reviewable:end -->
2016-08-12 03:20:58 -07:00
..
fakes.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
identity_mappers_test.go Merge pull request #29502 from lixiaobing10051267/masterHostName 2016-08-12 00:31:53 -07:00
identity_mappers.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
iterator_test.go Run goimports 2016-08-02 15:12:39 +03:00
iterator.go let RC manager utilize the GC 2016-07-14 19:59:31 -07:00
pet_set_test.go Check all places to break the loop when object found 2016-07-23 13:49:04 +08:00
pet_set_utils.go Print/log pointers of structs with %#v instead of %+v 2016-08-01 22:27:56 +02:00
pet_set.go Avoid computing super-expensive DeepEqual on every pod update 2016-08-11 08:35:36 +02:00
pet.go Create event only if creation of PVC failed. 2016-07-14 11:53:42 -07:00