1
0
mirror of https://github.com/golang/go synced 2024-11-25 10:17:57 -07:00
go/src
Rob Pike b8e4fbb79c testing: compile regexp only once
The -test.run and -test.bench flags were compilng the regexp for ever test
function, which was mucking up memory profiles.   Add a simple wrapper
to save the compiled state so that the regexp is compiled only once for
each flag.

R=rsc
CC=golang-dev
https://golang.org/cl/4274063
2011-03-16 10:32:21 -07:00
..
cmd testing: compile regexp only once 2011-03-16 10:32:21 -07:00
lib9 lib9, libmach: Change GOOS references to GOHOSTOS 2011-03-15 14:42:18 -04:00
libbio build: test for _WIN32, not _MINGW32 2010-09-08 22:20:35 -04:00
libmach lib9, libmach: Change GOOS references to GOHOSTOS 2011-03-15 14:42:18 -04:00
pkg testing: fix build 2011-03-16 10:12:25 -07:00
all.bash build: $GOBIN defaults to $GOROOT/bin 2010-08-24 20:00:33 -04:00
clean.bash runtime: scheduler, cgo reorganization 2011-03-07 10:37:42 -05:00
env.bash build: move $GOBIN ahead of /bin, /usr/bin in build $PATH 2011-02-28 14:55:27 -05:00
make.bash build: convert src/cmd to use make directly and simplify src/make.bash 2011-03-01 09:20:32 +11:00
Make.ccmd build: remove intermediate yacc files in Make.ccmd 2010-12-14 12:22:40 -05:00
Make.clib build: Allow archiver to be specified in the environment with HOST_AR. 2010-12-07 15:28:26 -05:00
Make.cmd build: remove duplicate dependency in Make.cmd 2011-03-14 12:33:44 -04:00
Make.common build: avoid calling gomake wrapper in recursive make 2011-03-05 14:53:29 -05:00
Make.inc goinstall: handle $(GOOS) and $(GOARCH) in filenames 2011-03-07 10:54:53 -05:00
Make.pkg build: remove old cgo files 2011-03-06 17:04:24 -05:00
quietgcc.bash build: add GOHOSTOS and GOHOSTARCH environment variables. 2010-10-08 18:52:28 +11:00
run.bash build: run gotest in misc/cgo/test 2011-03-11 15:09:32 -05:00
sudo.bash build: no required environment variables 2010-08-18 10:08:49 -04:00
version.bash .hgtags: s/release/weekly/ 2011-03-11 18:04:18 +11:00