mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-07 11:04:44 +00:00
Automatic merge from submit-queue Add generalized performance data type in e2e test For kubernetes/contrib/issues/564 and #15554. This PR added two files in e2e test: 1) `perftype/perftype.go`: This file contains generalized performance data type. The type can be pretty printed in Json format and analyzed by other performance analyzing tools, such as [Perfdash](https://github.com/kubernetes/contrib/tree/master/perfdash). 2) `perf_util.go`: This file contains functions which convert e2e performance test result into new performance data type. The new performance data type is now used in *Density test, Load test and Kubelet resource tracking*. It's easy to support other e2e performance test by adding new convert function in `perf_util.go`. @gmarek @yujuhong /cc @kubernetes/sig-testing