mirror of
https://github.com/golang/go
synced 2024-11-25 04:57:56 -07:00
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
This commit is contained in:
parent
1b70b61411
commit
735db765fb
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user