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
diff --git a/test/mallocrep.go b/test/mallocrep.go
index 6306e59..5367787 100644
--- a/test/mallocrep.go
+++ b/test/mallocrep.go
@@ -31,7 +31,7 @@
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);