• Trevor Strohman's avatar
    Adds benchmark support to gotest. · 61660adc
    Trevor Strohman authored
    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
    61660adc
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
pkg Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...