Tweak benchmark code
This commit is contained in:
parent
d4b1578abf
commit
8c30110e64
1 changed files with 0 additions and 10 deletions
|
@ -145,12 +145,6 @@ func benchmarkImplementation(implementation string, dir string, inputString stri
|
|||
}
|
||||
|
||||
fmt.Println()
|
||||
pb = progressbar.NewOptions(
|
||||
len(results) + 1, // two parts means 2x the number of runs
|
||||
progressbar.OptionSetDescription(
|
||||
fmt.Sprintf("Processing %s results", runners.RunnerNames[implementation]),
|
||||
),
|
||||
)
|
||||
|
||||
var (
|
||||
p1, p2 []float64
|
||||
|
@ -164,12 +158,8 @@ func benchmarkImplementation(implementation string, dir string, inputString stri
|
|||
} else if strings.HasPrefix(result.TaskID, p2id) {
|
||||
p2 = append(p2, result.Duration)
|
||||
}
|
||||
_ = pb.Add(1)
|
||||
}
|
||||
|
||||
_ = pb.Finish()
|
||||
fmt.Println()
|
||||
|
||||
if cleanup != nil {
|
||||
cleanup()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue