benchgate

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package benchgate provides a fail-closed benchmark regression gate.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Regression

type Regression struct {
	Name          string
	Metric        string
	ChangePercent float64
	PValue        float64
}

Regression describes a statistically significant benchmark regression.

func ParseAndCheck

func ParseAndCheck(path string, threshold float64) ([]Regression, error)

ParseAndCheck reads benchstat -format=csv output and reports regressions whose positive change is both statistically significant and above threshold.

Directories

Path Synopsis
Command benchgate fails CI when benchstat reports significant regressions.
Command benchgate fails CI when benchstat reports significant regressions.

Jump to

Keyboard shortcuts

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