summaryrefslogtreecommitdiff
path: root/pool_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-01-23 20:42:30 -0500
committerWolfy-J <[email protected]>2018-01-23 20:42:30 -0500
commiteeed0f5dfffc9025aa493d90e0094325c7091b56 (patch)
tree64bb6e7537861c64bd47940e9773b2bf9f39dd67 /pool_test.go
parent325dc3617ff954072c171b8ec45536ad481f9595 (diff)
more magic smoke
Diffstat (limited to 'pool_test.go')
-rw-r--r--pool_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pool_test.go b/pool_test.go
index ebcaae2e..534ea855 100644
--- a/pool_test.go
+++ b/pool_test.go
@@ -176,7 +176,7 @@ func Benchmark_Pool_Echo_Batched(b *testing.B) {
s := time.Now()
var wg sync.WaitGroup
- for i := 0; i < b.N; i++ {
+ for i := 0; i < b.N*10; i++ {
wg.Add(1)
go func() {
defer wg.Done()
@@ -188,7 +188,7 @@ func Benchmark_Pool_Echo_Batched(b *testing.B) {
wg.Wait()
- log.Println(float64(b.N) / time.Now().Sub(s).Seconds())
+ log.Println(float64(b.N*10) / time.Now().Sub(s).Seconds())
}
func Benchmark_Pool_Echo_Replaced(b *testing.B) {