regexp: don't run slow benchmarks on race builders
regexp: don't run slow benchmarks on race builders

Shave 6.5 minutes off the *-race build time.

The *-race builders run:

    go test -short -race -run=^$ -benchtime=.1s -cpu=4 $PKG

... for each package with benchmarks.

The point isn't to measure the speed of the packages, but rather to
see if there are any races. (which is why a benchtime of 0.1 seconds
is used)

But running in race mode makes things slower and our benchmarks aren't
all very fast to begin with.

The regexp benchmarks in race were taking over 6.5 minutes. With this
CL, it's now 8 seconds.

Updates #17104

Change-Id: I054528d09b1568d37aac9f9b515d6ed90a5cf5b0
Reviewed-on: https://go-review.googlesource.com/29156
Run-TryBot: Brad Fitzpatrick <ae9783c0b0efc69cd85ab025ddd17aa44cdc4aa5@golang.org>
TryBot-Result: Gobot Gobot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Reviewed-by: David Crawshaw <a2f0bf29257797dd66800b4fbb9945c3e216c004@golang.org>

josharian/go,vsekhar/elastic-go,polyverse-security/go,Cofyc/go,cloudflare/go,codestation/go,suncycheng/go,vsekhar/elastic-go,goodlang/good,Cofyc/go,codestation/go,momchil-velikov/go,golang/go,Cofyc/go,nawawi/go,akutz/go,ImJasonH/go,vsekhar/elastic-go,cloudflare/go,codestation/go,golang/go,akutz/go,CAFxX/go,momchil-velikov/go,CAFxX/go,polyverse-security/go,cloudflare/go,Cofyc/go,josharian/go,goodlang/good,akutz/go,linux-on-ibm-z/go,codestation/go,josharian/go,codestation/go,nawawi/go,polyverse-security/go,akutz/go,ImJasonH/go,polyverse-security/go,nawawi/go,suncycheng/go,josharian/go,akutz/go,codestation/go,nawawi/go,ImJasonH/go,vsekhar/elastic-go,ImJasonH/go,vsekhar/elastic-go,golang/go,momchil-velikov/go,nawawi/go,josharian/go,golang/go,akutz/go,cloudflare/go,vsekhar/elastic-go,golang/go,momchil-velikov/go,momchil-velikov/go,cloudflare/go,vsekhar/elastic-go,golang/go,josharian/go,suncycheng/go,Cofyc/go,derekmarcotte/go,cloudflare/go,cloudflare/go,CAFxX/go,nawawi/go,cloudflare/go,Cofyc/go,goodlang/good,derekmarcotte/go,derekmarcotte/go,polyverse-security/go,suncycheng/go,linux-on-ibm-z/go,ImJasonH/go,suncycheng/go,polyverse-security/go,linux-on-ibm-z/go,derekmarcotte/go,CAFxX/go,suncycheng/go,polyverse-security/go,CAFxX/go,josharian/go,vsekhar/elastic-go,codestation/go,linux-on-ibm-z/go,momchil-velikov/go,Cofyc/go,suncycheng/go,CAFxX/go,nawawi/go,derekmarcotte/go,Cofyc/go,ImJasonH/go,christopher-henderson/Go,CAFxX/go,polyverse-security/go,akutz/go,linux-on-ibm-z/go,golang/go,goodlang/good,ImJasonH/go,golang/go,derekmarcotte/go,derekmarcotte/go,momchil-velikov/go,linux-on-ibm-z/go,goodlang/good,linux-on-ibm-z/go,suncycheng/go,nawawi/go,akutz/go,josharian/go,momchil-velikov/go,linux-on-ibm-z/go,ImJasonH/go,goodlang/good,goodlang/good,codestation/go,derekmarcotte/go,goodlang/good,CAFxX/go