Help us shape the future of Go! Take the 2026 Go Developer Survey

benchdiff

package
v0.0.0-...-8a663c2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Overview

Package benchdiff compares the Go benchmarks affected by a change between the change and its merge base.

Index

Constants

View Source
const Label = "run-benchmarks"

Label triggers the Benchmark PR workflow.

View Source
const Marker = "<!-- alloy-benchmark-report -->"

Marker identifies the benchmark report comment on a pull request.

Variables

This section is empty.

Functions

func Command

func Command() *cobra.Command

Types

type Failure

type Failure struct {
	ImportPath, Checkout, Stage, Message string
}

Failure records a package that could not be built or benchmarked.

type Package

type Package struct {
	ImportPath string
	ModuleDir  string // relative to the repository root
	Dir        string // relative to the repository root
	InBase     bool
	InHead     bool
}

Package is a Go package with benchmarks.

Jump to

Keyboard shortcuts

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