Skip to content

Instantly share code, notes, and snippets.

@mopemope mopemope/benchmatk
Created Aug 23, 2010

Embed
What would you like to do?
simple benchmark
http://github.com/mopemope/meinheld/tree/master/bench/hello/
result:
ma2@xxxx:11:51:ab -c 100 -n 10000 http://192.168.2.10:8000/ ~
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.141 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking 192.168.2.10 (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
Finished 10000 requests
Server Software: meinheld/0.3dev
Server Hostname: 192.168.2.10
Server Port: 8000
Document Path: /
Document Length: 12 bytes
Concurrency Level: 100
Time taken for tests: 1.162963 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 1394865 bytes
HTML transferred: 120420 bytes
Requests per second: 8598.73 [#/sec] (mean)
Time per request: 11.630 [ms] (mean)
Time per request: 0.116 [ms] (mean, across all concurrent requests)
Transfer rate: 1171.15 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 1 3 1.2 4 8
Processing: 3 7 1.0 7 12
Waiting: 2 4 1.3 5 9
Total: 8 11 1.1 11 18
Percentage of the requests served within a certain time (ms)
50% 11
66% 11
75% 11
80% 11
90% 12
95% 13
98% 15
99% 17
100% 18 (longest request)
ma2@xxxx:11:51:ab -c 100 -n 10000 http://192.168.2.10:8001/ ~
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.141 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking 192.168.2.10 (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
Finished 10000 requests
Server Software: gevent/0.13
Server Hostname: 192.168.2.10
Server Port: 8001
Document Path: /
Document Length: 12 bytes
Concurrency Level: 100
Time taken for tests: 2.956552 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 1280000 bytes
HTML transferred: 120000 bytes
Requests per second: 3382.32 [#/sec] (mean)
Time per request: 29.566 [ms] (mean)
Time per request: 0.296 [ms] (mean, across all concurrent requests)
Transfer rate: 422.79 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.4 0 5
Processing: 12 28 1.6 29 33
Waiting: 11 28 1.5 28 33
Total: 13 29 1.1 29 33
Percentage of the requests served within a certain time (ms)
50% 29
66% 29
75% 29
80% 29
90% 29
95% 30
98% 31
99% 32
100% 33 (longest request)
ma2@xxxx:11:52:ab -c 100 -n 10000 http://192.168.2.10:8002/ ~
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.141 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking 192.168.2.10 (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
Finished 10000 requests
Server Software: fapws3/0.7
Server Hostname: 192.168.2.10
Server Port: 8002
Document Path: /
Document Length: 12 bytes
Concurrency Level: 100
Time taken for tests: 2.19831 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 1140216 bytes
HTML transferred: 120012 bytes
Requests per second: 4950.91 [#/sec] (mean)
Time per request: 20.198 [ms] (mean)
Time per request: 0.202 [ms] (mean, across all concurrent requests)
Transfer rate: 551.04 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 2 2.5 3 10
Processing: 3 16 9.3 11 36
Waiting: 2 14 10.1 9 34
Total: 8 19 7.0 14 36
Percentage of the requests served within a certain time (ms)
50% 14
66% 27
75% 27
80% 28
90% 28
95% 28
98% 28
99% 29
100% 36 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.