From 47661fd49329c5c991057b53739278d26b2cdfb9 Mon Sep 17 00:00:00 2001 From: Paolo TETI Date: Thu, 7 Mar 2024 10:41:30 +0100 Subject: [PATCH] [FIXED] typos in comments Fixed following typos: .\bench\bench.go:39: agregating ==> aggregating .\bench\bench.go:159: meessages ==> messages .\bench\benchlib_test.go:119: througput ==> throughput --- bench/bench.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bench/bench.go b/bench/bench.go index cb724737f..4ea4b3056 100644 --- a/bench/bench.go +++ b/bench/bench.go @@ -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 @@ -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()) }