Files
kubernetes/pkg/api
Kubernetes Submit Queue ebc8dc85aa Merge pull request #36207 from smarterclayton/optimize_self_link
Automatic merge from submit-queue

SetSelfLink is inefficient

Generating self links, especially for lists, is inefficient.  Replace
use of net.URL.String() call with direct encoding that reduces number of
allocations. Switch from calling meta.ExtractList|SetList to a function
that iterates over each object in the list.

In steady state for nodes performing frequently small get/list
operations, and for larger LISTs significantly reduces CPU and
allocations.

@wojtek-t this is the next big chunk of CPU use during the large N nodes simulation test (11% of master CPU). Takes a few allocations out of the critical path
2016-11-06 06:42:49 -08:00
..
2016-10-21 17:32:32 -07:00
2016-10-21 17:32:32 -07:00
2016-10-21 17:32:32 -07:00
2016-10-21 17:32:32 -07:00
2016-10-21 17:32:32 -07:00
2016-10-21 17:32:32 -07:00
2016-10-21 17:32:32 -07:00
2016-10-21 17:32:32 -07:00
2016-10-21 17:32:32 -07:00
2016-11-03 18:36:32 +01:00
2016-10-21 17:32:32 -07:00
2016-11-04 23:38:37 -04:00
2016-10-21 17:32:32 -07:00
2016-10-25 19:28:40 -04:00
2016-07-16 13:48:21 -04:00
2016-09-19 09:57:19 -04:00
2016-08-22 21:09:57 -07:00
2016-09-28 10:53:30 -07:00
2016-03-02 20:46:32 -05:00
2016-07-12 21:52:00 -07:00
2016-08-29 11:31:16 +02:00
2016-09-23 12:03:58 +02:00