From 536e9ca07a606f07d9a66ad57951d7e37b177fde Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 9 Oct 2009 11:18:32 -0700 Subject: 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 --- test/mallocrep.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/mallocrep.go') diff --git a/test/mallocrep.go b/test/mallocrep.go index 6306e59eb..5367787e9 100644 --- a/test/mallocrep.go +++ b/test/mallocrep.go @@ -31,7 +31,7 @@ func bigger() { func main() { flag.Parse(); malloc.GetStats().Alloc = 0; // ignore stacks - for i := 0; i < 1<<8; i++ { + for i := 0; i < 1<<7; i++ { for j := 1; j <= 1<<22; j<<=1 { if i == 0 && *chatty { println("First alloc:", j); -- cgit v1.2.3