Commit 735db765 authored by Rob Pike's avatar Rob Pike

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
parent 1b70b614
......@@ -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
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment