Skip to content

Commit

Permalink
Add skipped operation (#73)
Browse files Browse the repository at this point in the history
Otherwise they are simply excluded from the results and will not be printed.
  • Loading branch information
klauspost authored Feb 21, 2020
1 parent bc64030 commit a94ab37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/aggregate/aggregate.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ func Aggregate(o bench.Operations, segmentDur, skipDur time.Duration) Aggregated
})
if len(segs) <= 1 {
a.Skipped = true
res = append(res, a)
continue
}
total := ops.Total(!isMixed)
Expand Down

0 comments on commit a94ab37

Please sign in to comment.