summaryrefslogtreecommitdiff
path: root/src/pkg/testing/benchmark.go
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+236
2011-09-13Imported Upstream version 60Ondřej Surý1-235/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-15/+39
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-7/+19
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý1-2/+6
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-15/+42
2010-02-26testing/benchmark: paranoia - make sure n always growsRuss Cox1-1/+9
R=wcn CC=golang-dev http://codereview.appspot.com/223075
2009-12-151) Change default gofmt default settings forRobert Griesemer1-44/+44
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 5th and last set of files. R=rsc CC=golang-dev http://codereview.appspot.com/180050
2009-12-04testing: compute MB/s in benchmarksRuss Cox1-1/+11
R=r http://codereview.appspot.com/166060
2009-11-19Adds benchmark support to gotest.Trevor Strohman1-0/+150
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 http://codereview.appspot.com/154173 Committer: Russ Cox <rsc@golang.org>