hfrun

command
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

hfrun starts a Hyperfoil in-vm controller, runs one benchmark, fetches stats/total JSON via the REST API while the controller is still alive, and writes the result to --out.

Why a Go binary instead of a shell script:

  • "wait-run" in the Hyperfoil CLI consumes buffered stdin, making it impossible to pipe subsequent commands (export, exit) in one printf.
  • Go goroutines let us write commands to jbang's stdin sequentially, waiting for specific log output before sending the next command.

Usage:

go run ./internal/loadtest/hfrun/ --yaml=path/to/bench.hf.yaml --out=result.json

Jump to

Keyboard shortcuts

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