accuracy

command
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Command accuracy measures how closely Stampede's reported latency percentiles match ground truth. For each case it starts the calibrated echo server, drives it with Stampede's engine at a fixed arrival rate, and compares Stampede's p50, p95 and p99 with the exact hold times the server recorded. Network and HTTP overhead on loopback is part of the error, so the tolerance is the larger of 2% and 1ms.

go run ./bench/accuracy                   # all cases, ~2 minutes
go run ./bench/accuracy -quick            # short cases for CI
go run ./bench/accuracy -out results.json

Jump to

Keyboard shortcuts

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