Skip to content

Instantly share code, notes, and snippets.

@mingder78
Created April 12, 2012 11:49
Show Gist options
  • Select an option

  • Save mingder78/2366775 to your computer and use it in GitHub Desktop.

Select an option

Save mingder78/2366775 to your computer and use it in GitHub Desktop.
my first ab
$ ab -n 100 -c 100 http://127.0.0.1:8000/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 127.0.0.1 (be patient)...Send request failed!
Send request failed!
..done
Server Software:
Server Hostname: 127.0.0.1
Server Port: 8000
Document Path: /
Document Length: 6 bytes
Concurrency Level: 100
Time taken for tests: 0.041 seconds
Complete requests: 100
Failed requests: 0
Write errors: 2
Total transferred: 7000 bytes
HTML transferred: 600 bytes
Requests per second: 2416.63 [#/sec] (mean)
Time per request: 41.380 [ms] (mean)
Time per request: 0.414 [ms] (mean, across all concurrent requests)
Transfer rate: 165.20 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 3 13 11.6 7 41
Processing: 0 9 5.1 9 35
Waiting: 0 8 4.5 8 34
Total: 5 21 10.3 19 41
Percentage of the requests served within a certain time (ms)
50% 19
66% 25
75% 31
80% 35
90% 37
95% 38
98% 40
99% 41
100% 41 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment