mirror of https://github.com/panjf2000/ants.git
update
This commit is contained in:
parent
68d55de6f8
commit
c186871e60
|
@ -44,7 +44,7 @@ const (
|
||||||
const (
|
const (
|
||||||
RunTimes = 10000000
|
RunTimes = 10000000
|
||||||
Param = 100
|
Param = 100
|
||||||
AntsSize = 500
|
AntsSize = 100
|
||||||
)
|
)
|
||||||
|
|
||||||
func demoFunc() error {
|
func demoFunc() error {
|
||||||
|
|
|
@ -30,7 +30,7 @@ import (
|
||||||
"github.com/panjf2000/ants"
|
"github.com/panjf2000/ants"
|
||||||
)
|
)
|
||||||
|
|
||||||
var n = 1000000
|
var n = 100000
|
||||||
|
|
||||||
func TestAntsPoolWithFunc(t *testing.T) {
|
func TestAntsPoolWithFunc(t *testing.T) {
|
||||||
var wg sync.WaitGroup
|
var wg sync.WaitGroup
|
||||||
|
|
Loading…
Reference in New Issue