This commit is contained in:
Andy Pan 2018-07-15 21:22:20 +08:00
parent 74e49c9f28
commit 48cb233e4d
2 changed files with 3 additions and 3 deletions

View File

@ -42,9 +42,9 @@ const (
YiB // 1208925819614629174706176
)
const (
RunTimes = 1000
RunTimes = 10000000
Param = 10
AntsSize = 100
AntsSize = 100000
)
func demoFunc() error {

View File

@ -30,7 +30,7 @@ import (
"github.com/panjf2000/ants"
)
var n = 1000
var n = 1000000
func TestAntsPoolWithFunc(t *testing.T) {
var wg sync.WaitGroup