Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Inaccurate histogram #311

Open
mblarsen opened this issue Aug 31, 2023 · 1 comment
Open

Bug: Inaccurate histogram #311

mblarsen opened this issue Aug 31, 2023 · 1 comment

Comments

@mblarsen
Copy link

This run shows that average is 0.03s however according to the histogram it should be 1.018s

hey -n 50000 -c 120 https://api.toofast.app/v1/healthcheck

Summary:
  Total:	36.2391 secs
  Slowest:	9.8637 secs
  Fastest:	0.0351 secs
  Average:	0.0794 secs
  Requests/sec:	1377.5186

  Total data:	2046720 bytes
  Size/request:	41 bytes

Response time histogram:
  0.035 [1]	|
  1.018 [49789]	|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
  2.001 [9]	|
  2.984 [1]	|
  3.967 [2]	|
  4.949 [0]	|
  5.932 [66]	|
  6.915 [41]	|
  7.898 [6]	|
  8.881 [1]	|
  9.864 [4]	|


Latency distribution:
  10% in 0.0485 secs
  25% in 0.0506 secs
  50% in 0.0533 secs
  75% in 0.0570 secs
  90% in 0.0628 secs
  95% in 0.0891 secs
  99% in 0.4389 secs

Details (average, fastest, slowest):
  DNS+dialup:	0.0009 secs, 0.0351 secs, 9.8637 secs
  DNS-lookup:	0.0006 secs, 0.0000 secs, 0.2211 secs
  req write:	0.0000 secs, 0.0000 secs, 0.0031 secs
  resp wait:	0.0775 secs, 0.0350 secs, 9.8636 secs
  resp read:	0.0000 secs, 0.0000 secs, 0.0073 secs

Status code distribution:
  [200]	49920 responses
image
@mblarsen mblarsen changed the title Inaccurate histogram Bug: Inaccurate histogram Aug 31, 2023
@snosratiershad
Copy link

Details (average, fastest, slowest):
DNS+dialup: 0.0009 secs, 0.0351 secs, 9.8637 secs

I'm also thinking how average is less then fastest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants