Correct output of running Go benchmarks

When I am running a benchmark on this repository (just a placeholder for any go project) using:

 go test -run="^$" -bench="^BenchmarkLessorRevoke1000$"  ./... 

The output I am getting is this, the benchmark results are shown:

BenchmarkLessorRevoke1000-8   	 1033351	      1141 ns/op

but also with a whole bunch of other test output. how do I make it only show the benchmarks and not the test outputs?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.