Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchingFunctions ¶
func MatchingFunctions(rootPath, benchRegex string) (data.PackageMap, error)
Types ¶
type BenchVisitor ¶
type BenchVisitor struct {
// contains filtered or unexported fields
}
func (*BenchVisitor) VisitFuncDecl ¶
func (v *BenchVisitor) VisitFuncDecl(f *ast.FuncDecl)
type Runner ¶
func NewRunner ¶
func NewRunner(goRoot, projectRoot string, benchs data.PackageMap, wi int, mi int, timeout, benchTime, benchDuration, runDuration time.Duration, benchMem bool, profile data.Profile, profileDir string, out csv.Writer) (Runner, error)
NewRunner creates a new benchmark runner. By default it returns a penalised runner that in consecutive runs only executes successful benchmark executions.
Click to show internal directories.
Click to hide internal directories.