Skip to content

Instantly share code, notes, and snippets.

@Meettya
Created July 31, 2012 11:36
Show Gist options
  • Save Meettya/3216375 to your computer and use it in GitHub Desktop.
Save Meettya/3216375 to your computer and use it in GitHub Desktop.
ab results for twiggy
TravelMate:bin meettya$ ./ab -n 10000 -c 480 -k http://192.168.1.2:3000/?url=$RANDOM
This is ApacheBench, Version 2.3 <$Revision: 1178079 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 192.168.1.2 (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests
Server Software:
Server Hostname: 192.168.1.2
Server Port: 3000
Document Path: /?url=24531
Document Length: 43 bytes
Concurrency Level: 480
Time taken for tests: 7.568 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Keep-Alive requests: 10000
Total transferred: 2060000 bytes
HTML transferred: 430000 bytes
Requests per second: 1321.38 [#/sec] (mean)
Time per request: 363.257 [ms] (mean)
Time per request: 0.757 [ms] (mean, across all concurrent requests)
Transfer rate: 265.82 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 5 21.3 0 136
Processing: 45 353 90.7 337 920
Waiting: 45 353 90.7 336 920
Total: 146 357 102.9 337 1056
Percentage of the requests served within a certain time (ms)
50% 337
66% 373
75% 398
80% 410
90% 479
95% 593
98% 663
99% 742
100% 1056 (longest request)
TravelMate:bin meettya$ ./ab -n 10000 -c 240 -k http://192.168.1.2:3000/?url=$RANDOM
This is ApacheBench, Version 2.3 <$Revision: 1178079 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 192.168.1.2 (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests
Server Software:
Server Hostname: 192.168.1.2
Server Port: 3000
Document Path: /?url=15374
Document Length: 44 bytes
Concurrency Level: 240
Time taken for tests: 7.558 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Keep-Alive requests: 10000
Total transferred: 2070000 bytes
HTML transferred: 440000 bytes
Requests per second: 1323.04 [#/sec] (mean)
Time per request: 181.400 [ms] (mean)
Time per request: 0.756 [ms] (mean, across all concurrent requests)
Transfer rate: 267.45 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 9.2 0 75
Processing: 92 178 46.8 168 578
Waiting: 91 178 46.8 168 578
Total: 92 179 54.1 168 649
Percentage of the requests served within a certain time (ms)
50% 168
66% 176
75% 184
80% 188
90% 223
95% 246
98% 358
99% 450
100% 649 (longest request)
TravelMate:bin meettya$ ./ab -n 10000 -c 130 -k http://192.168.1.2:8080/?url=$RANDOM
This is ApacheBench, Version 2.3 <$Revision: 1178079 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 192.168.1.2 (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
apr_socket_recv: Connection reset by peer (54)
Total of 6685 requests completed
with error
TravelMate:perl-url-shortener meettya$ twiggy --listen :8080 shortener.psgi
Can't locate URI/http.pm: Too many open files at (eval 45) line 2, <> line 6.
AnyEvent::Handle uncaught error: Broken pipe at /Users/meettya/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/Twiggy/Server.pm line 601.
TravelMate:bin meettya$ ./ab -n 10000 -c 120 -k http://192.168.1.2:8080/?url=$RANDOM
This is ApacheBench, Version 2.3 <$Revision: 1178079 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 192.168.1.2 (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests
Server Software:
Server Hostname: 192.168.1.2
Server Port: 8080
Document Path: /?url=26742
Document Length: 43 bytes
Concurrency Level: 120
Time taken for tests: 23.622 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Keep-Alive requests: 0
Total transferred: 1020000 bytes
HTML transferred: 430000 bytes
Requests per second: 423.34 [#/sec] (mean)
Time per request: 283.463 [ms] (mean)
Time per request: 2.362 [ms] (mean, across all concurrent requests)
Transfer rate: 42.17 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 2.3 0 28
Processing: 139 281 46.6 268 571
Waiting: 139 280 44.7 267 537
Total: 143 282 47.2 268 589
Percentage of the requests served within a certain time (ms)
50% 268
66% 274
75% 279
80% 283
90% 313
95% 390
98% 470
99% 505
100% 589 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment