bisect

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bisector

type Bisector struct {
	// contains filtered or unexported fields
}

func NewBisector

func NewBisector(config Config) (*Bisector, error)

func (*Bisector) FindRegression

func (b *Bisector) FindRegression(ctx context.Context) (*Result, error)

type Config

type Config struct {
	RepoPath       string
	DockerfilePath string
	SizeThreshold  float64
	TimeThreshold  float64
	GoodCommit     string
	BadCommit      string
	Verbose        bool
}

type Result

type Result struct {
	CommitHash    string
	CommitMessage string
	Author        string
	Date          time.Time
	SizeMB        float64
	BuildTime     float64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL