perfbench

command
v1.4.13 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Command perfbench is the performance harness of the nself CLI (contract:cli.perfbench v1; EPIC P7-GUARD, decision G8). It is stdlib-only and imports nothing from the cli module's internal packages, so it can build and measure the binary of any sha.

go run -mod=vendor ./tools/perfbench run [-scenario cold-start] [-bin p] [-runs 30] [-json]
go run -mod=vendor ./tools/perfbench healthy -report <golden-path-report.json> [-json]
go run -mod=vendor ./tools/perfbench ab -base <bin> -head <bin> [-runs 40] [-json]
go run -mod=vendor ./tools/perfbench check -budget .github/perf-budget.json -in <result.json>

With no subcommand (the first argument is a flag, or there are no arguments) `run` is implied.

Directories

Path Synopsis
Package scenarios is the registration API of tools/perfbench (contract:cli.perfbench v1).
Package scenarios is the registration API of tools/perfbench (contract:cli.perfbench v1).

Jump to

Keyboard shortcuts

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