Skip to content

Commit

Permalink
[FIXED] typos in comments
Browse files Browse the repository at this point in the history
Fixed following typos:

.\bench\bench.go:39: agregating ==> aggregating
.\bench\bench.go:159: meessages ==> messages
.\bench\benchlib_test.go:119: througput ==> throughput
  • Loading branch information
Paolo TETI committed Mar 7, 2024
1 parent 52a2d33 commit 47661fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bench/bench.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type Sample struct {
End time.Time
}

// SampleGroup for a number of samples, the group is a Sample itself agregating the values the Samples
// SampleGroup for a number of samples, the group is a Sample itself aggregating the values the Samples
type SampleGroup struct {
Sample
Samples []*Sample
Expand Down Expand Up @@ -156,7 +156,7 @@ func (s *Sample) Throughput() float64 {
return float64(s.MsgBytes) / s.Duration().Seconds()
}

// Rate of meessages in the job per second
// Rate of messages in the job per second
func (s *Sample) Rate() int64 {
return int64(float64(s.JobMsgCnt) / s.Duration().Seconds())
}
Expand Down

0 comments on commit 47661fd

Please sign in to comment.