const TimeSeriesTag … const TimeSeriesEnd … // dumpDataToFile inserts the current timestamp into the labels and writes the // data for the test into the file with the specified prefix. func dumpDataToFile(data interface{ … } // logPerfData writes the perf data to a standalone json file if the // framework.TestContext.ReportDir is non-empty, or to the general build log // otherwise. The perfType identifies which type of the perf data it is, such // as "cpu" and "memory". If an error occurs, no perf data will be logged. func logPerfData(p *perftype.PerfData, perfType string) { … } // logDensityTimeSeries writes the time series data of operation and resource // usage to a standalone json file if the framework.TestContext.ReportDir is // non-empty, or to the general build log otherwise. If an error occurs, // no perf data will be logged. func logDensityTimeSeries(rc *ResourceCollector, create, watch map[string]metav1.Time, testInfo map[string]string) { … } type int64arr … func (a int64arr) Len() int { … } func (a int64arr) Swap(i, j int) { … } func (a int64arr) Less(i, j int) bool { … } // getCumulatedPodTimeSeries gets the cumulative pod number time series. func getCumulatedPodTimeSeries(timePerPod map[string]metav1.Time) []int64 { … } // getLatencyPerfData returns perf data of pod startup latency. func getLatencyPerfData(latency e2emetrics.LatencyMetric, testInfo map[string]string) *perftype.PerfData { … } // getThroughputPerfData returns perf data of pod creation startup throughput. func getThroughputPerfData(batchLag time.Duration, e2eLags []e2emetrics.PodLatencyData, podsNr int, testInfo map[string]string) *perftype.PerfData { … } // getTestNodeInfo returns a label map containing the test name and // description, the name of the node on which the test will be run, the image // name of the node, and the node capacities. func getTestNodeInfo(f *framework.Framework, testName, testDesc string) map[string]string { … } // printPerfData prints the perfdata in json format with PerfResultTag prefix. // If an error occurs, nothing will be printed. func printPerfData(p *perftype.PerfData) { … }