summaryrefslogtreecommitdiff
path: root/pool_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pool_test.go')
-rw-r--r--pool_test.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/pool_test.go b/pool_test.go
index 88926a9b..67b93852 100644
--- a/pool_test.go
+++ b/pool_test.go
@@ -8,6 +8,7 @@ import (
"sync"
"testing"
"time"
+ "log"
)
var cfg = Config{
@@ -185,7 +186,9 @@ func Benchmark_Pool_Echo_Batched(b *testing.B) {
}
wg.Wait()
-}
+
+ log.Println(p.Workers())
+ }
func Benchmark_Pool_Echo_Replaced(b *testing.B) {
p, _ := NewPool(