Minor UI change

dev
Ice3man543 2020-11-01 22:04:55 +05:30
parent 99bfaf2227
commit 0453d6b7f0
1 changed files with 1 additions and 3 deletions

View File

@ -83,10 +83,8 @@ func makePrintCallback() func(stats clistats.StatisticsClient) {
requests, _ := stats.GetCounter("requests") requests, _ := stats.GetCounter("requests")
total, _ := stats.GetCounter("total") total, _ := stats.GetCounter("total")
builder.WriteString(" | ") builder.WriteString(" | RPS: ")
builder.WriteString(clistats.String(uint64(float64(requests) / duration.Seconds()))) builder.WriteString(clistats.String(uint64(float64(requests) / duration.Seconds())))
builder.WriteRune(' ')
builder.WriteString("RPS")
errors, _ := stats.GetCounter("errors") errors, _ := stats.GetCounter("errors")
builder.WriteString(" | Errors: ") builder.WriteString(" | Errors: ")