Documentation ¶
Overview ¶
Package parser parses incoming JSON files from Android Testing and converts them into a format acceptable to Skia Perf.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrIgnorable is returned from Convert if the file can safely be ignored. ErrIgnorable = errors.New("File should be ignored.") )
Functions ¶
This section is empty.
Types ¶
type Converter ¶
type Converter struct {
// contains filtered or unexported fields
}
Converter converts a serialized *Incoming into an *format.BenchData.
type Incoming ¶
type Incoming struct { BuildId string `json:"build_id"` BuildFlavor string `json:"build_flavor"` Branch string `json:"branch"` DeviceName string `json:"device_name"` SDKReleaseName string `json:"sdk_release_name"` JIT string `json:"jit"` // Metrics is a map[test name]map[metric]value, where value // is a string encoded float, thus the use of json.Number. Metrics map[string]map[string]json.Number `json:"metrics"` }
Incoming is the JSON structure of the data sent to us from the Android testing infrastructure.
Click to show internal directories.
Click to hide internal directories.