Fix afterburner log format parsing
This commit is contained in:
parent
70b6f8a056
commit
8bbc239af6
@ -80,6 +80,11 @@ func parseData(scanner *bufio.Scanner, headerMap map[string]int, benchmarkData *
|
||||
}
|
||||
|
||||
for key, index := range headerMap {
|
||||
// Skip timestamp fields for Afterburner format
|
||||
if isAfterburner && (index == 1 || index == 2) {
|
||||
continue
|
||||
}
|
||||
|
||||
val, err := strconv.ParseFloat(record[index], 64)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to parse %s value '%s': %v", key, record[index], err)
|
||||
|
Loading…
Reference in New Issue
Block a user