Skip to content

Instantly share code, notes, and snippets.

@mayurah
Created June 23, 2016 07:08
Show Gist options
  • Save mayurah/dd1d7d9ba1a0e5e83333e7210eeb621b to your computer and use it in GitHub Desktop.
Save mayurah/dd1d7d9ba1a0e5e83333e7210eeb621b to your computer and use it in GitHub Desktop.
Apache AB - Command and Log
$ ab -r -n 500 -c 20 -k -H "Accept-Encoding: gzip, deflate" http://odessatech.0x10.info/ | tee -a ab.log
$ cat ab.log | ccze -A
This is ApacheBench, Version 2.3 <$Revision: 1528965 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking odessatech.0x10.info (be patient)
Server Software: Microsoft-IIS/7.5
Server Hostname: odessatech.0x10.info
Server Port: 80
Document Path: /
Document Length: 1795 bytes
Concurrency Level: 20
Time taken for tests: 22.866 seconds
Complete requests: 500
Failed requests: 0
Keep-Alive requests: 500
Total transferred: 1020000 bytes
HTML transferred: 897500 bytes
Requests per second: 21.87 [#/sec] (mean)
Time per request: 914.660 [ms] (mean)
Time per request: 45.733 [ms] (mean, across all concurrent requests)
Transfer rate: 43.56 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 24 119.0 0 616
Processing: 539 874 874.7 605 14105
Waiting: 539 744 437.5 604 5100
Total: 539 898 923.1 605 14703
Percentage of the requests served within a certain time (ms)
50% 605
66% 612
75% 616
80% 620
90% 2103
95% 2213
98% 3353
99% 3681
100% 14703 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment