Skip to content

Instantly share code, notes, and snippets.

@skyeagle
Created April 9, 2020 22:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skyeagle/803fd718168dac76f4076e9b57547bc2 to your computer and use it in GitHub Desktop.
Save skyeagle/803fd718168dac76f4076e9b57547bc2 to your computer and use it in GitHub Desktop.
passenger vs puma
hey -c 2 -n 100 http://localhost:3000/accounts/sign_in
Summary:
Total: 52.7159 secs
Slowest: 6.7247 secs
Fastest: 0.5989 secs
Average: 1.0044 secs
Requests/sec: 1.8970
Response time histogram:
0.599 [1] |
1.211 [93] |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
1.824 [5] |■■
2.437 [0] |
3.049 [0] |
3.662 [0] |
4.274 [0] |
4.887 [0] |
5.500 [0] |
6.112 [0] |
6.725 [1] |
Latency distribution:
10% in 0.7755 secs
25% in 0.8337 secs
50% in 0.9137 secs
75% in 1.0491 secs
90% in 1.1763 secs
95% in 1.2406 secs
99% in 6.7247 secs
Details (average, fastest, slowest):
DNS+dialup: 0.0000 secs, 0.5989 secs, 6.7247 secs
DNS-lookup: 0.0000 secs, 0.0000 secs, 0.0008 secs
req write: 0.0000 secs, 0.0000 secs, 0.0001 secs
resp wait: 1.0031 secs, 0.5985 secs, 6.7228 secs
resp read: 0.0012 secs, 0.0003 secs, 0.0297 secs
Status code distribution:
[200] 100 responses
hey -c 2 -n 100 http://localhost:3000/accounts/sign_in
Summary:
Total: 55.3227 secs
Slowest: 1.6179 secs
Fastest: 0.5128 secs
Average: 1.1002 secs
Requests/sec: 1.8076
Response time histogram:
0.513 [1] |■
0.623 [0] |
0.734 [1] |■
0.844 [4] |■■■■■■
0.955 [16] |■■■■■■■■■■■■■■■■■■■■■■
1.065 [22] |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
1.176 [29] |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
1.286 [11] |■■■■■■■■■■■■■■■
1.397 [7] |■■■■■■■■■■
1.507 [4] |■■■■■■
1.618 [5] |■■■■■■■
Latency distribution:
10% in 0.9149 secs
25% in 0.9804 secs
50% in 1.0871 secs
75% in 1.1903 secs
90% in 1.3643 secs
95% in 1.5166 secs
99% in 1.6179 secs
Details (average, fastest, slowest):
DNS+dialup: 0.0001 secs, 0.5128 secs, 1.6179 secs
DNS-lookup: 0.0000 secs, 0.0000 secs, 0.0024 secs
req write: 0.0000 secs, 0.0000 secs, 0.0001 secs
resp wait: 1.0994 secs, 0.5127 secs, 1.6171 secs
resp read: 0.0006 secs, 0.0001 secs, 0.0049 secs
Status code distribution:
[200] 99 responses
[500] 1 responses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment