rakyll / hey

HTTP load generator, ApacheBench (ab) replacement
Apache License 2.0
17.63k stars 1.17k forks source link

Histogram shows wrong results #238

Open kamil-gwozdz opened 3 years ago

kamil-gwozdz commented 3 years ago

After running this command: hey -c 10 -n 200 [URL] I consistently get a histogram that looks like this:

Screenshot 2021-01-22 at 10 17 36

The histogram is never correct, even if I change -c or -n. It always shows exactly one "quick" request (~0.023s) and almost all of the rest is in some random bucket (0.673s on the screenshot). You can see that it's wrong when you compare the histogram to "Latency distribution" and "Summary" sections.