summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pool_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pool_test.go b/pool_test.go
index bb16fe4c..ebcaae2e 100644
--- a/pool_test.go
+++ b/pool_test.go
@@ -188,7 +188,7 @@ func Benchmark_Pool_Echo_Batched(b *testing.B) {
wg.Wait()
- log.Println(b.N / int(time.Now().Sub(s).Seconds()))
+ log.Println(float64(b.N) / time.Now().Sub(s).Seconds())
}
func Benchmark_Pool_Echo_Replaced(b *testing.B) {