aboutsummaryrefslogtreecommitdiff
path: root/test/gc1.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-10-09 11:18:32 -0700
committerRuss Cox <rsc@golang.org>2009-10-09 11:18:32 -0700
commitebd27d62fdd45d2fd84f7b6b3fa0740595ac1a04 (patch)
tree1d0d3f6fed536b018ee2610e83747f9496d082ea /test/gc1.go
parentf0bde7c51bf6169043bf605798116b75b85615f5 (diff)
downloadgo-ebd27d62fdd45d2fd84f7b6b3fa0740595ac1a04.tar.gz
go-ebd27d62fdd45d2fd84f7b6b3fa0740595ac1a04.zip
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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gc1.go b/test/gc1.go
index eecc036fc7..055079aabe 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;
}