parser

package
v0.0.0-...-417b102 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MlPerfSummarySession  = "MLPerf Results Summary"
	AdditionalStatSession = "Additional Stats"
)
View Source
const (
	OSUKey          = "# OSU MPI"
	LabelName       = "Size"
	PerformanceSize = "1048576" // 1MB
)
View Source
const (
	RealTimeKey = "real"
	UserTimeKey = "user"
	SysTimeKey  = "sys"
)
View Source
const (
	TPCCResultKey       = "_elapsed_______tpmC____efc__avg(ms)__p50(ms)__p90(ms)__p95(ms)__p99(ms)_pMax(ms)"
	TPCCAuditKey        = "Audit check"
	TPCCFailKey         = "FAIL"
	TPCCAuditCheckLabel = "audit"
)
View Source
const (
	BIGLINE = "===================================="
)
View Source
const (
	FMWorkPerfKey = "Tokens per iteration"
)
View Source
const (
	GLOO_PERFORMANCE_KEY = "bandwidth_GBps"
)
View Source
const (
	LINPACK_STARTER_KEY = "T/V"
)
View Source
const (
	MEGATRON_PERFORMANCE_KEY = "tokens-per-second-per-gpu"
)
View Source
const (
	StressKey = "stressor"
)

Variables

View Source
var CodaitKeys []string = []string{"NoWatson_NLP_Benchmark", "SerialNoWatson_NLP_Benchmark", "CodaitNlp_SerialPostProcessing_Microbenchmark"}
View Source
var CoremarkKeyMap map[string]string = map[string]string{
	"Total ticks":       "total_ticks",
	"Total time (secs)": "total_sec",
	"Iterations/Sec":    "iterations_per_sec",
}
View Source
var FioKeyMap map[string]string = map[string]string{
	"bw (  KiB/s):": "bw_kib_per_sec",
	"iops        :": "iops",
	"slat (usec):":  "slat_usec",
	"clat (usec):":  "clat_usec",
	"lat (usec):":   "lat_usec",
}
View Source
var GromacsKeyMap map[string]string = map[string]string{
	"Time:":        "time",
	"Performance:": "performance",
}
View Source
var SysbenchKeyMap map[string]string = map[string]string{
	"events per second:": "cpu_eps",
	"reads/s:":           "read_ops",
	"writes/s:":          "write_ops",
	"fsyncs/s:":          "fsync_ops",
	"read, MiB/s:":       "read_throughput",
	"written, MiB/s:":    "written_throughput",
	"Total operations:":  "total_operations_per_sec",
	"MiB transferred":    "transfered_mib_per_sec",
}

Functions

This section is empty.

Types

type BaseParser

type BaseParser struct {
	Parser
}

func (*BaseParser) GetPerformanceValue

func (*BaseParser) GetPerformanceValue(values map[string]interface{}) (string, float64)

func (*BaseParser) ParseValue

func (*BaseParser) ParseValue(body []byte) (map[string]interface{}, error)

type CodaitParser

type CodaitParser struct {
	*BaseParser
}

func NewCodaitParser

func NewCodaitParser() *CodaitParser

func (*CodaitParser) GetPerformanceValue

func (p *CodaitParser) GetPerformanceValue(values map[string]interface{}) (string, float64)

func (*CodaitParser) ParseValue

func (p *CodaitParser) ParseValue(body []byte) (map[string]interface{}, error)

type CoremarkParser

type CoremarkParser struct {
	*BaseParser
}

func NewCoremarkParser

func NewCoremarkParser() *CoremarkParser

func (*CoremarkParser) GetPerformanceValue

func (p *CoremarkParser) GetPerformanceValue(values map[string]interface{}) (string, float64)

func (*CoremarkParser) ParseValue

func (p *CoremarkParser) ParseValue(body []byte) (map[string]interface{}, error)

type DefaultParser

type DefaultParser struct {
	*BaseParser
}

func NewDefaultParser

func NewDefaultParser() *DefaultParser

type FMTrainParser

type FMTrainParser struct {
	*BaseParser
}

func NewFMTrainParser

func NewFMTrainParser() *FMTrainParser

func (*FMTrainParser) GetPerformanceValue

func (p *FMTrainParser) GetPerformanceValue(values map[string]interface{}) (string, float64)

func (*FMTrainParser) ParseValue

func (p *FMTrainParser) ParseValue(body []byte) (map[string]interface{}, error)

type FMWorkParser

type FMWorkParser struct {
	*BaseParser
}

func NewFMWorkParser

func NewFMWorkParser() *FMWorkParser

func (*FMWorkParser) GetPerformanceValue

func (p *FMWorkParser) GetPerformanceValue(values map[string]interface{}) (string, float64)

func (*FMWorkParser) ParseValue

func (p *FMWorkParser) ParseValue(body []byte) (map[string]interface{}, error)

type FioParser

type FioParser struct {
	*BaseParser
}

func NewFioParser

func NewFioParser() *FioParser

func (*FioParser) GetPerformanceValue

func (p *FioParser) GetPerformanceValue(values map[string]interface{}) (string, float64)

func (*FioParser) ParseValue

func (p *FioParser) ParseValue(body []byte) (map[string]interface{}, error)

type GlooParser

type GlooParser struct {
	*BaseParser
}

func NewGlooParser

func NewGlooParser() *GlooParser

func (*GlooParser) GetPerformanceValue

func (p *GlooParser) GetPerformanceValue(values map[string]interface{}) (string, float64)

func (*GlooParser) ParseValue

func (p *GlooParser) ParseValue(body []byte) (map[string]interface{}, error)

type GromacsParser

type GromacsParser struct {
	*BaseParser
}

func NewGromacsParser

func NewGromacsParser() *GromacsParser

func (*GromacsParser) GetPerformanceValue

func (p *GromacsParser) GetPerformanceValue(values map[string]interface{}) (string, float64)

func (*GromacsParser) ParseValue

func (p *GromacsParser) ParseValue(body []byte) (map[string]interface{}, error)

type Iperf3Parser

type Iperf3Parser struct {
	*BaseParser
}

func NewIperf3Parser

func NewIperf3Parser() *Iperf3Parser

func (*Iperf3Parser) GetPerformanceValue

func (p *Iperf3Parser) GetPerformanceValue(values map[string]interface{}) (string, float64)

func (*Iperf3Parser) ParseValue

func (p *Iperf3Parser) ParseValue(body []byte) (map[string]interface{}, error)

type LinpackParser

type LinpackParser struct {
	*BaseParser
}

func NewLinpackParser

func NewLinpackParser() *LinpackParser

func (*LinpackParser) GetPerformanceValue

func (p *LinpackParser) GetPerformanceValue(values map[string]interface{}) (string, float64)

func (*LinpackParser) ParseValue

func (p *LinpackParser) ParseValue(body []byte) (map[string]interface{}, error)

type MegatronParser

type MegatronParser struct {
	*BaseParser
}

func NewMegatronParser

func NewMegatronParser() *MegatronParser

func (*MegatronParser) GetPerformanceValue

func (p *MegatronParser) GetPerformanceValue(values map[string]interface{}) (string, float64)

func (*MegatronParser) ParseValue

func (p *MegatronParser) ParseValue(body []byte) (map[string]interface{}, error)

type MlPerfParser

type MlPerfParser struct {
	*BaseParser
}

func NewMlPerfParser

func NewMlPerfParser() *MlPerfParser

func (*MlPerfParser) GetPerformanceValue

func (p *MlPerfParser) GetPerformanceValue(values map[string]interface{}) (string, float64)

func (*MlPerfParser) ParseValue

func (p *MlPerfParser) ParseValue(body []byte) (map[string]interface{}, error)

type OSUParser

type OSUParser struct {
	*BaseParser
}

func NewOSUParser

func NewOSUParser() *OSUParser

func (*OSUParser) GetPerformanceValue

func (p *OSUParser) GetPerformanceValue(values map[string]interface{}) (string, float64)

func (*OSUParser) ParseValue

func (p *OSUParser) ParseValue(body []byte) (map[string]interface{}, error)

type Parser

type Parser interface {
	ParseValue([]byte) (map[string]interface{}, error)
	GetPerformanceValue(map[string]interface{}) (string, float64)
}

type StressParser

type StressParser struct {
	*BaseParser
}

func NewStressParser

func NewStressParser() *StressParser

func (*StressParser) GetPerformanceValue

func (p *StressParser) GetPerformanceValue(values map[string]interface{}) (string, float64)

func (*StressParser) ParseValue

func (p *StressParser) ParseValue(body []byte) (map[string]interface{}, error)

type SysbenchParser

type SysbenchParser struct {
	*BaseParser
}

func NewSysbenchParser

func NewSysbenchParser() *SysbenchParser

func (*SysbenchParser) GetPerformanceValue

func (p *SysbenchParser) GetPerformanceValue(values map[string]interface{}) (string, float64)

func (*SysbenchParser) ParseValue

func (p *SysbenchParser) ParseValue(body []byte) (map[string]interface{}, error)

type TPCCParser

type TPCCParser struct {
	*BaseParser
}

func NewTPCCParser

func NewTPCCParser() *TPCCParser

func (*TPCCParser) GetPerformanceValue

func (p *TPCCParser) GetPerformanceValue(values map[string]interface{}) (string, float64)

func (*TPCCParser) ParseValue

func (p *TPCCParser) ParseValue(body []byte) (map[string]interface{}, error)

type TimeParser

type TimeParser struct {
	*BaseParser
}

func NewTimeParser

func NewTimeParser() *TimeParser

func (*TimeParser) GetPerformanceValue

func (p *TimeParser) GetPerformanceValue(values map[string]interface{}) (string, float64)

func (*TimeParser) ParseValue

func (p *TimeParser) ParseValue(body []byte) (map[string]interface{}, error)

type ValueWithLabels

type ValueWithLabels struct {
	Labels map[string]string
	Value  float64
}

type ValuesWithLabels

type ValuesWithLabels struct {
	Labels map[string]string
	Values []float64
}

Jump to

Keyboard shortcuts

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