Documentation
¶
Index ¶
- func ConvertJsonBenchToText(filePath string) string
- func ParseBenchmarkData(filePath string) (results []shared.BenchmarkData)
- func ParseBenchmarkNameToGroups(name, pattern string) (map[string]string, error)
- func ParseBenchmarkNameWithRegex(name, pattern string) (map[string]string, error)
- func ValidateGroupPattern(pattern string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertJsonBenchToText ¶ added in v0.4.0
ConvertJsonBenchToText converts a JSON benchmark file to text format. It reads JSON benchmark events from the input file and extracts the "output" field from each event to create a text representation of the benchmark results. Returns the path to the temporary text file containing the converted data.
func ParseBenchmarkData ¶ added in v0.6.0
func ParseBenchmarkData(filePath string) (results []shared.BenchmarkData)
func ParseBenchmarkNameToGroups ¶ added in v0.4.0
ParseBenchmarkNameToGroups parses a benchmark name using the given pattern
func ParseBenchmarkNameWithRegex ¶ added in v0.6.0
ParseBenchmarkNameWithRegex parses a benchmark name using the given regex pattern
func ValidateGroupPattern ¶ added in v0.7.0
ValidateGroupPattern validates the group pattern and regex string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.