1
0
mirror of https://github.com/golang/go synced 2024-11-20 06:04:52 -07:00
go/src/pkg/testing
Trevor Strohman 61660adc63 Adds benchmark support to gotest.
No benchmarks are run unless the --benchmarks=<regexp> flag
is specified on the gotest command line.  This change includes
sample benchmarks for regexp.

% gotest --benchmarks=.*
(standard test output redacted)
testing.BenchmarkSimpleMatch	200000	      7799 ns/op
testing.BenchmarkUngroupedMatch	20000	     76898 ns/op
testing.BenchmarkGroupedMatch	50000	     38148 ns/op

R=r, rsc
https://golang.org/cl/154173
2009-11-19 16:35:34 -08:00
..
iotest remove bytes.Copy 2009-11-18 15:24:24 -08:00
quick - replaced gofmt expression formatting algorithm with 2009-11-09 21:23:52 -08:00
script remove semis after statements in one-statement statement lists 2009-11-09 12:07:39 -08:00
benchmark.go Adds benchmark support to gotest. 2009-11-19 16:35:34 -08:00
Makefile Adds benchmark support to gotest. 2009-11-19 16:35:34 -08:00
regexp_test.go Adds benchmark support to gotest. 2009-11-19 16:35:34 -08:00
regexp.go make regexp comment not a package comment 2009-11-10 09:36:48 -08:00
testing.go Adds benchmark support to gotest. 2009-11-19 16:35:34 -08:00