parser

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertJsonBenchToText added in v0.4.0

func ConvertJsonBenchToText(filePath string) string

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

func ParseBenchmarkNameToGroups(name, pattern string) (map[string]string, error)

ParseBenchmarkNameToGroups parses a benchmark name using the given pattern

func ParseBenchmarkNameWithRegex added in v0.6.0

func ParseBenchmarkNameWithRegex(name, pattern string) (map[string]string, error)

ParseBenchmarkNameWithRegex parses a benchmark name using the given regex pattern

func ValidateGroupPattern added in v0.7.0

func ValidateGroupPattern(pattern string) error

ValidateGroupPattern validates the group pattern and regex string

Types

This section is empty.

Jump to

Keyboard shortcuts

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