compare

command
v1.2.1 Latest Latest
Warning

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

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

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command compare runs the same open-model workload through Stampede, k6 and wrk2 against the calibrated echo server, and compares each tool's p50, p95 and p99 with the server's exact hold times.

The tools do not all measure the same thing, and the table says which:

  • Stampede latency and wrk2 count from each request's scheduled send time, so queueing in the generator is included (coordinated omission corrected).
  • Stampede service time and k6's http_req_duration count from the moment the request was actually sent.

On an unsaturated generator the two agree; the gap between them grows when a generator falls behind its schedule.

go run ./bench/compare                          # tools found in PATH
go run ./bench/compare -k6 /path/k6 -wrk2 /path/wrk -out compare.json

Jump to

Keyboard shortcuts

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