Skip to content

Instantly share code, notes, and snippets.

@JanneMattila
Created May 2, 2019 11:29
Show Gist options
  • Save JanneMattila/5af412650ada02574324310e47afadd1 to your computer and use it in GitHub Desktop.
Save JanneMattila/5af412650ada02574324310e47afadd1 to your computer and use it in GitHub Desktop.
Apache HTTP server benchmarking tool in action
j@janne:~$ ab -n 1000 -c 15 https://stockwebappnwusdwyqedabc.azurewebsites.net/Errors/Random
This is ApacheBench, Version 2.3 <$Revision: 1706008 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking stockwebappnwusdwyqedabc.azurewebsites.net (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software: Microsoft-IIS/10.0
Server Hostname: stockwebappnwusdwyqedabc.azurewebsites.net
Server Port: 443
SSL/TLS Protocol: TLSv1.2,ECDHE-RSA-AES256-GCM-SHA384,2048,256
Document Path: /Errors/Random
Document Length: 3510 bytes
Concurrency Level: 15
Time taken for tests: 13.888 seconds
Complete requests: 1000
Failed requests: 10
(Connect: 0, Receive: 0, Length: 10, Exceptions: 0)
Non-2xx responses: 10
Total transferred: 4046760 bytes
HTML transferred: 3507570 bytes
Requests per second: 72.00 [#/sec] (mean)
Time per request: 208.320 [ms] (mean)
Time per request: 13.888 [ms] (mean, across all concurrent requests)
Transfer rate: 284.56 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 123 145 26.5 135 324
Processing: 44 61 31.4 52 276
Waiting: 44 61 31.2 52 274
Total: 170 206 41.7 192 416
Percentage of the requests served within a certain time (ms)
50% 192
66% 204
75% 213
80% 220
90% 248
95% 313
98% 363
99% 370
100% 416 (longest request)
j@janne:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment