feat: Add min and max and try to improve the performance
This commit is contained in:
@@ -76,7 +76,7 @@ func BenchmarkRun(b *testing.B) {
|
||||
// reset the time before running the benchmark loop
|
||||
b.ResetTimer()
|
||||
for i := 0; i < b.N; i++ {
|
||||
if err := run(filenames, "avg", 2, io.Discard); err != nil {
|
||||
if err := run(filenames, "max", 2, io.Discard); err != nil {
|
||||
b.Error(err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user