mirror of
https://github.com/panjf2000/ants.git
synced 2025-12-16 18:11:03 +00:00
update
This commit is contained in:
parent
74e49c9f28
commit
48cb233e4d
@ -42,9 +42,9 @@ const (
|
||||
YiB // 1208925819614629174706176
|
||||
)
|
||||
const (
|
||||
RunTimes = 1000
|
||||
RunTimes = 10000000
|
||||
Param = 10
|
||||
AntsSize = 100
|
||||
AntsSize = 100000
|
||||
)
|
||||
|
||||
func demoFunc() error {
|
||||
|
||||
@ -30,7 +30,7 @@ import (
|
||||
"github.com/panjf2000/ants"
|
||||
)
|
||||
|
||||
var n = 1000
|
||||
var n = 1000000
|
||||
|
||||
func TestAntsPoolWithFunc(t *testing.T) {
|
||||
var wg sync.WaitGroup
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user