DescriptionAdds 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
Patch Set 1 #Patch Set 2 : code review 154173: Adds benchmark support to gotest. #
Total comments: 41
Patch Set 3 : code review 154173: Adds benchmark support to gotest. #Patch Set 4 : code review 154173: Adds benchmark support to gotest. #
Total comments: 6
Patch Set 5 : code review 154173: Adds benchmark support to gotest. #
Total comments: 6
Patch Set 6 : code review 154173: Adds benchmark support to gotest. #Patch Set 7 : code review 154173: Adds benchmark support to gotest. #
Total comments: 11
Patch Set 8 : code review 154173: Adds benchmark support to gotest. #
Total comments: 2
Patch Set 9 : code review 154173: Adds benchmark support to gotest. #
MessagesTotal messages: 15
|