Skip to content

Instantly share code, notes, and snippets.

@lpgauth
Created January 31, 2012 21:26
Show Gist options
  • Select an option

  • Save lpgauth/1713011 to your computer and use it in GitHub Desktop.

Select an option

Save lpgauth/1713011 to your computer and use it in GitHub Desktop.
ab / cowboy 0.5 / poolboy 0.6
~ [1.8.7]$ ab -k -t 30 -c 10 http://127.0.0.1:9090/poolboy
This is ApacheBench, Version 2.3 <$Revision: 1139530 $>
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)
Completed 5000 requests
Completed 10000 requests
Completed 15000 requests
Completed 20000 requests
Completed 25000 requests
Completed 30000 requests
Completed 35000 requests
Completed 40000 requests
Completed 45000 requests
Completed 50000 requests
Finished 50000 requests
Server Software: Cowboy
Server Hostname: 127.0.0.1
Server Port: 9090
Document Path: /poolboy
Document Length: 7 bytes
Concurrency Level: 10
Time taken for tests: 1.787 seconds
Complete requests: 50000
Failed requests: 0
Write errors: 0
Keep-Alive requests: 50000
Total transferred: 6100000 bytes
HTML transferred: 350000 bytes
Requests per second: 27977.35 [#/sec] (mean)
Time per request: 0.357 [ms] (mean)
Time per request: 0.036 [ms] (mean, across all concurrent requests)
Transfer rate: 3333.24 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 0 0 0.1 0 2
Waiting: 0 0 0.1 0 2
Total: 0 0 0.1 0 2
Percentage of the requests served within a certain time (ms)
50% 0
66% 0
75% 0
80% 0
90% 0
95% 1
98% 1
99% 1
100% 2 (longest request)
@lpgauth

lpgauth commented Jan 31, 2012

Copy link
Copy Markdown
Author

~ [1.8.7]$ ab -k -t 30 -c 50 http://127.0.0.1:9090/poolboy
This is ApacheBench, Version 2.3 <$Revision: 1139530 $>
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)
Completed 5000 requests
Completed 10000 requests
Completed 15000 requests
Completed 20000 requests
Completed 25000 requests
Completed 30000 requests
Completed 35000 requests
Completed 40000 requests
Completed 45000 requests
Completed 50000 requests
Finished 50000 requests

Server Software: Cowboy
Server Hostname: 127.0.0.1
Server Port: 9090

Document Path: /poolboy
Document Length: 7 bytes

Concurrency Level: 50
Time taken for tests: 2.638 seconds
Complete requests: 50000
Failed requests: 0
Write errors: 0
Keep-Alive requests: 50000
Total transferred: 6100000 bytes
HTML transferred: 350000 bytes
Requests per second: 18955.67 #/sec
Time per request: 2.638 ms
Time per request: 0.053 [ms](mean, across all concurrent requests)
Transfer rate: 2258.39 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 2
Processing: 0 3 0.8 3 8
Waiting: 0 3 0.8 3 8
Total: 0 3 0.8 3 9

Percentage of the requests served within a certain time (ms)
50% 3
66% 3
75% 3
80% 3
90% 4
95% 4
98% 4
99% 5
100% 9 (longest request)

@lpgauth

lpgauth commented Jan 31, 2012

Copy link
Copy Markdown
Author

~ [1.8.7]$ ab -k -t 30 -c 100 http://127.0.0.1:9090/poolboy
This is ApacheBench, Version 2.3 <$Revision: 1139530 $>
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)
Completed 5000 requests
Completed 10000 requests
Completed 15000 requests
Completed 20000 requests
Completed 25000 requests
Completed 30000 requests
Completed 35000 requests
Completed 40000 requests
Completed 45000 requests
Completed 50000 requests
Finished 50000 requests

Server Software: Cowboy
Server Hostname: 127.0.0.1
Server Port: 9090

Document Path: /poolboy
Document Length: 7 bytes

Concurrency Level: 100
Time taken for tests: 2.654 seconds
Complete requests: 50000
Failed requests: 0
Write errors: 0
Keep-Alive requests: 50000
Total transferred: 6100000 bytes
HTML transferred: 350000 bytes
Requests per second: 18836.60 #/sec
Time per request: 5.309 ms
Time per request: 0.053 [ms](mean, across all concurrent requests)
Transfer rate: 2244.20 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 3
Processing: 0 5 1.2 5 15
Waiting: 0 5 1.2 5 15
Total: 0 5 1.2 5 18

Percentage of the requests served within a certain time (ms)
50% 5
66% 6
75% 6
80% 6
90% 7
95% 7
98% 8
99% 8
100% 18 (longest request)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment