diff options
author | Russ Cox <rsc@golang.org> | 2009-10-09 11:18:32 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-10-09 11:18:32 -0700 |
commit | 536e9ca07a606f07d9a66ad57951d7e37b177fde (patch) | |
tree | 1d0d3f6fed536b018ee2610e83747f9496d082ea /test/gc1.go | |
parent | 4a4678571ad09d41f5664d8a2a7d54436e707d27 (diff) | |
download | golang-536e9ca07a606f07d9a66ad57951d7e37b177fde.tar.gz |
time tests; sort -nr times.out | sed 10q is illuminating.
cut the slowest tests down from a few seconds
to under half a second.
R=r
DELTA=21 (6 added, 1 deleted, 14 changed)
OCL=35509
CL=35519
Diffstat (limited to 'test/gc1.go')
-rw-r--r-- | test/gc1.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gc1.go b/test/gc1.go index eecc036fc..055079aab 100644 --- a/test/gc1.go +++ b/test/gc1.go @@ -7,7 +7,7 @@ package main func main() { - for i := 0; i < 1000000; i++ { + for i := 0; i < 1e5; i++ { x := new([100]byte); _ = x; } |