kube-state-metrics/vendor/k8s.io/client-go
Max Leonard Inden 183c7988fb
main_test.go: Introduce overarching benchmark test
This patch adds a simple go benchmark test, injecting Kubernetes objects
and simulating scrape requests. It uses the Kubernetes client-go fake
client. Alongside comes some refactoring of each collectors structure
using informer factories to be compatible with the fake client.

The patch lays the groundwork to make future performance optimizations
comparable with past versions.

How to run test:
`go test -race -bench  . -memprofile=mem.out -cpuprofile=cpu.out`
2018-08-17 11:52:02 +02:00
..
discovery main_test.go: Introduce overarching benchmark test 2018-08-17 11:52:02 +02:00
informers main_test.go: Introduce overarching benchmark test 2018-08-17 11:52:02 +02:00
kubernetes main_test.go: Introduce overarching benchmark test 2018-08-17 11:52:02 +02:00
listers main_test.go: Introduce overarching benchmark test 2018-08-17 11:52:02 +02:00
pkg bump kubernetes to 1.11 2018-07-03 01:10:57 +08:00
plugin/pkg/client/auth bump kubernetes to 1.11 2018-07-03 01:10:57 +08:00
rest bump kubernetes to 1.11 2018-07-03 01:10:57 +08:00
testing main_test.go: Introduce overarching benchmark test 2018-08-17 11:52:02 +02:00
third_party/forked/golang/template bump kubernetes to 1.11 2018-07-03 01:10:57 +08:00
tools bump kubernetes to 1.11 2018-07-03 01:10:57 +08:00
transport bump kubernetes to 1.11 2018-07-03 01:10:57 +08:00
util bump kubernetes to 1.11 2018-07-03 01:10:57 +08:00
LICENSE bump client go to v4.0.0-beta.0 to support kubernetes 1.7 2017-07-30 15:30:09 +08:00