plotter

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// UserPath is user home directory
	UserPath = ""
	// FolderPath of .cert-csi folder
	FolderPath = "/.cert-csi/"
)

Functions

func GetReportPathDir

func GetReportPathDir(reportName string) (string, error)

GetReportPathDir constructs the report path and returns it

func PlotAvgStageTimeOverIterations

func PlotAvgStageTimeOverIterations(tcMetrics []collector.TestCaseMetrics, reportName string) error

PlotAvgStageTimeOverIterations creates and saves a histogram of time distributions of average staging time

func PlotEntityOverTime

func PlotEntityOverTime(tc collector.TestCaseMetrics, reportName string) (*plot.Plot, error)

PlotEntityOverTime creates and saves a histogram of time distributions +returns absolute filepath to created plot

func PlotIterationTimes

func PlotIterationTimes(tcMetrics []collector.TestCaseMetrics, reportName string) (*plot.Plot, error)

PlotIterationTimes creates and saves a histogram of time distributions of test iterations

func PlotMinMaxEntityOverTime

func PlotMinMaxEntityOverTime(tcMetrics []collector.TestCaseMetrics, reportName string) error

PlotMinMaxEntityOverTime creates minimum and maximum entities and creates and saves a histogram of time distributions

func PlotResourceUsageOverTime

func PlotResourceUsageOverTime(tcMetrics []collector.TestCaseMetrics, reportName string) error

PlotResourceUsageOverTime creates and saves a histogram of time distributions of resource usage

func PlotStageBoxPlot

func PlotStageBoxPlot(tc collector.TestCaseMetrics, stage interface{}, reportName string) (*plot.Plot, error)

PlotStageBoxPlot creates and saves a histogram of time distributions +returns absolute filepath to created plot

func PlotStageMetricHistogram

func PlotStageMetricHistogram(tc collector.TestCaseMetrics, stage interface{}, reportName string) (*plot.Plot, error)

PlotStageMetricHistogram creates and saves a histogram of time distributions +returns absolute filepath to created plot

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL