benchmark executed by the "go test" command when its -bench flag is provided. Benchmarks are run sequentially.
func BenchmarkRandInt(b *testing.B) {
for i := 0; i < b.N; i++ {
rand.Int()
}
}
go test -run=TestFib -v
go test -run=xxx -v -bench=.
go test -run=xxx -v -bench=. -benchtime=3s
go test -benchmem -run=^$ -bench ^BenchmarkSs* graphmysql/utility
go test -benchmem -bench ^BenchmarkSs* graphmysql/utility
go test -run=^$ -benchmem -bench ^BenchmarkGetpass* graphmysql/utility
go test -bench ^BenchmarkSs* graphmysql/utility