Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBenchmarkSuite ¶
func RegisterBenchmarkSuite(bs *BenchmarkSuite)
Types ¶
type BenchmarkResult ¶
type BenchmarkResult struct { testing.BenchmarkResult Benchmark }
func (BenchmarkResult) OpsPerSec ¶
func (br BenchmarkResult) OpsPerSec() float64
type BenchmarkSuite ¶
type BenchmarkSuite struct { Name string SkipFlag *bool BenchmarkFunc func(bs *BenchmarkSuite) []BenchmarkResult Runner *testing.B }
func BenchmarkSuites ¶
func BenchmarkSuites() []*BenchmarkSuite
func NewBenchmarkSuite ¶
func NewBenchmarkSuite(name string, skipFlag string, benchSuiteFunc func(bs *BenchmarkSuite) []BenchmarkResult) *BenchmarkSuite
func (*BenchmarkSuite) Benchmark ¶
func (bs *BenchmarkSuite) Benchmark(benchmark Benchmark) BenchmarkResult
Click to show internal directories.
Click to hide internal directories.