From 735db765fb4f421190a6b2d2b4ef289e9ef5a0f9 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Wed, 21 Apr 2010 14:54:19 -0700 Subject: [PATCH] test/bench: reenable chameneosredux for gccgo. run reverse-complement only once. (garbage is no longer an issue) R=rsc CC=golang-dev https://golang.org/cl/968041 --- test/bench/timing.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/bench/timing.sh b/test/bench/timing.sh index 5e3a066f61a..7543834fbdf 100755 --- a/test/bench/timing.sh +++ b/test/bench/timing.sh @@ -82,11 +82,6 @@ revcomp() { run 'gccgo -O2 reverse-complement.go' a.out < x run 'gc reverse-complement' $O.out < x run 'gc_B reverse-complement' $O.out < x - export GOGC=off - runonly echo 'GOGC=off' - run 'gc reverse-complement' $O.out < x - run 'gc_B reverse-complement' $O.out < x - unset GOGC rm x } @@ -181,7 +176,7 @@ threadring() { chameneos() { runonly echo 'chameneos 6000000' run 'gcc -O2 chameneosredux.c -lpthread' a.out 6000000 -# run 'gccgo -O2 chameneosredux.go' a.out 6000000 # doesn't support the non-forward-decl variant + run 'gccgo -O2 chameneosredux.go' a.out 6000000 run 'gc chameneosredux' $O.out 6000000 }