forked from mirror/ants
optimization for codecov
This commit is contained in:
parent
68924c0193
commit
86cea41d7e
|
@ -10,7 +10,7 @@ before_install:
|
|||
- go get -t -v ./...
|
||||
|
||||
script:
|
||||
- go test -race -coverprofile=coverage.txt -covermode=atomic
|
||||
- go test -race -coverprofile=coverage.txt -covermode=atomic -v
|
||||
# - go test -bench=. -benchmem=true -run=none ./...
|
||||
|
||||
after_success:
|
||||
|
|
|
@ -43,8 +43,8 @@ const (
|
|||
)
|
||||
const (
|
||||
RunTimes = 10000000
|
||||
Param = 10
|
||||
AntsSize = 50000
|
||||
Param = 100
|
||||
AntsSize = 10000
|
||||
)
|
||||
|
||||
func demoFunc() error {
|
||||
|
|
Loading…
Reference in New Issue