Skip to content

Commit

Permalink
bombardier: show QPS during tests with capped request count
Browse files Browse the repository at this point in the history
Updates #42.
  • Loading branch information
codesenberg committed Jan 19, 2019
1 parent afd8a43 commit 7ece5e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bombardier.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ func newBombardier(c config) (*bombardier, error) {

if b.conf.testType() == counted {
b.bar = pb.New64(int64(*b.conf.numReqs))
b.bar.ShowSpeed = true
} else if b.conf.testType() == timed {
b.bar = pb.New64(b.conf.duration.Nanoseconds() / 1e9)
b.bar.ShowCounters = false
Expand Down

0 comments on commit 7ece5e5

Please sign in to comment.