Throughput of bytes per second
()
| 153 | |
| 154 | // Throughput of bytes per second |
| 155 | func (s *Sample) Throughput() float64 { |
| 156 | return float64(s.MsgBytes) / s.Duration().Seconds() |
| 157 | } |
| 158 | |
| 159 | // Rate of messages in the job per second |
| 160 | func (s *Sample) Rate() int64 { |