]> Cypherpunks repositories - gostls13.git/commit
runtime, time: accelerate tests in short mode.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Tue, 14 Feb 2012 21:13:19 +0000 (22:13 +0100)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Tue, 14 Feb 2012 21:13:19 +0000 (22:13 +0100)
commit2a6e6999a45a88999930cd879c919f6b93aaa868
tree82ff0d36f2eac6167fceff1134261bb829d4a2b6
parentf8f0a2bc7bbb587836312747600d0e084b30baef
runtime, time: accelerate tests in short mode.

                                   before   after
go test -short time                4.144s  1.215s
go test -short runtime             1.315s  0.351s
go test -short -cpu=1,2,4 runtime  4.376s  1.266s

Partially solves issue 3015.

R=golang-dev, r
CC=golang-dev, remy
https://golang.org/cl/5673045
src/pkg/runtime/gc_test.go
src/pkg/time/sleep_test.go
src/pkg/time/tick_test.go