This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ go test -bench=. regcmp_test.go | |
testing: warning: no tests to run | |
BenchmarkNegativeMatchBool-8 10000000 118 ns/op | |
BenchmarkNegativeMatchString-8 10000000 128 ns/op | |
BenchmarkPositiveMatchBool-8 1000000 2494 ns/op | |
BenchmarkPositiveMatchString-8 500000 2878 ns/op | |
PASS | |
ok command-line-arguments 6.718s |
OlderNewer