LaBench/bench
Dmitry Kakurin c40cd76ecf First Open Source version 2019-06-04 17:29:35 -07:00
..
LICENSE First Open Source version 2019-06-04 17:29:35 -07:00
README.md First Open Source version 2019-06-04 17:29:35 -07:00
bench.go First Open Source version 2019-06-04 17:29:35 -07:00
go.mod First Open Source version 2019-06-04 17:29:35 -07:00
go.sum First Open Source version 2019-06-04 17:29:35 -07:00
hirestimers_windows.go First Open Source version 2019-06-04 17:29:35 -07:00
percentiles.go First Open Source version 2019-06-04 17:29:35 -07:00
summary.go First Open Source version 2019-06-04 17:29:35 -07:00

README.md

Heavily modified version of github.com/tylertreat/bench

Bench is a generic latency benchmarking library. It's generic in the sense that it exposes a simple interface (Requester) which can be implemented for various systems under test. Several example Requesters are provided out of the box.

Bench works by attempting to issue a fixed rate of requests per second and measuring the latency of each request issued synchronously. Latencies are captured using HDR Histogram, which observes the complete latency distribution and attempts to correct for Coordinated Omission. It provides facilities to generate output which can be plotted to produce graphs like the following: