Skip to content

Instantly share code, notes, and snippets.

@shiroyuki
Created April 4, 2013 02:17
Show Gist options
  • Select an option

  • Save shiroyuki/5307179 to your computer and use it in GitHub Desktop.

Select an option

Save shiroyuki/5307179 to your computer and use it in GitHub Desktop.
Benchmark of Council between MacBook Air (Intel Core i7 2.0 GHz, DDR3 SDRAM 8 GB) and Raspberry Pi (900 MHz, RAM 512 MB)
$ ab -n 1000 -c 10 http://10.0.0.12:8000/login
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 10.0.0.12 (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: TornadoServer/3.0
Server Hostname: 10.0.0.12
Server Port: 8000
Document Path: /login
Document Length: 3114 bytes
Concurrency Level: 10
Time taken for tests: 14.657 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 3464000 bytes
HTML transferred: 3114000 bytes
Requests per second: 68.23 [#/sec] (mean)
Time per request: 146.569 [ms] (mean)
Time per request: 14.657 [ms] (mean, across all concurrent requests)
Transfer rate: 230.80 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 53 38.3 47 196
Processing: 4 90 49.6 80 284
Waiting: 0 63 39.3 60 192
Total: 24 142 61.3 134 354
Percentage of the requests served within a certain time (ms)
50% 134
66% 166
75% 185
80% 196
90% 226
95% 252
98% 286
99% 301
100% 354 (longest request)
jnopporn@kinoko:~
$ ab -n 1000 -c 10 http://pi.shiroyuki.com:8000/login
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 pi.shiroyuki.com (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: TornadoServer/3.0
Server Hostname: pi.shiroyuki.com
Server Port: 8000
Document Path: /login
Document Length: 3114 bytes
Concurrency Level: 10
Time taken for tests: 24.609 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 3464000 bytes
HTML transferred: 3114000 bytes
Requests per second: 40.64 [#/sec] (mean)
Time per request: 246.091 [ms] (mean)
Time per request: 24.609 [ms] (mean, across all concurrent requests)
Transfer rate: 137.46 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 1 23 85.6 7 1006
Processing: 41 220 65.4 215 840
Waiting: 41 215 65.1 210 840
Total: 76 243 99.2 231 1233
Percentage of the requests served within a certain time (ms)
50% 231
66% 256
75% 268
80% 277
90% 297
95% 329
98% 362
99% 906
100% 1233 (longest request)
jnopporn@kinoko:~
$ ab -n 1000 http://10.0.0.12:8000/login/dev/kanata
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 10.0.0.12 (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: TornadoServer/3.0
Server Hostname: 10.0.0.12
Server Port: 8000
Document Path: /login/dev/kanata
Document Length: 0 bytes
Concurrency Level: 1
Time taken for tests: 18.601 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Non-2xx responses: 1000
Total transferred: 315000 bytes
HTML transferred: 0 bytes
Requests per second: 53.76 [#/sec] (mean)
Time per request: 18.601 [ms] (mean)
Time per request: 18.601 [ms] (mean, across all concurrent requests)
Transfer rate: 16.54 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 4 8.1 0 64
Processing: 4 13 12.6 8 109
Waiting: 0 11 10.3 7 80
Total: 4 17 15.2 10 134
Percentage of the requests served within a certain time (ms)
50% 10
66% 17
75% 21
80% 24
90% 36
95% 49
98% 66
99% 80
100% 134 (longest request)
jnopporn@kinoko:~
$ ab -n 1000 -c 10 http://pi.shiroyuki.com:8000/login/dev/kanata
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 pi.shiroyuki.com (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: TornadoServer/3.0
Server Hostname: pi.shiroyuki.com
Server Port: 8000
Document Path: /login/dev/kanata
Document Length: 0 bytes
Concurrency Level: 10
Time taken for tests: 88.189 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Non-2xx responses: 1000
Total transferred: 313000 bytes
HTML transferred: 0 bytes
Requests per second: 11.34 [#/sec] (mean)
Time per request: 881.893 [ms] (mean)
Time per request: 88.189 [ms] (mean, across all concurrent requests)
Transfer rate: 3.47 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 1 18 86.1 6 1028
Processing: 109 858 76.4 865 1053
Waiting: 105 856 76.3 862 1053
Total: 118 877 87.6 872 1772
Percentage of the requests served within a certain time (ms)
50% 872
66% 883
75% 891
80% 896
90% 909
95% 932
98% 977
99% 1041
100% 1772 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment