Skip to content

Instantly share code, notes, and snippets.

@rmax
Created October 5, 2009 01:59
Show Gist options
  • Save rmax/201752 to your computer and use it in GitHub Desktop.
Save rmax/201752 to your computer and use it in GitHub Desktop.
root@creat1va:/etc/apache2# ab -n 50000 -c 100 http://localhost:7777/ | tee /root/apache_round1
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (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
Finished 50000 requests
Server Software: Apache
Server Hostname: localhost
Server Port: 7777
Document Path: /
Document Length: 2141 bytes
Concurrency Level: 100
Time taken for tests: 9.424746 seconds
Complete requests: 50000
Failed requests: 0
Write errors: 0
Total transferred: 119102382 bytes
HTML transferred: 107052141 bytes
Requests per second: 5305.18 [#/sec] (mean)
Time per request: 18.849 [ms] (mean)
Time per request: 0.188 [ms] (mean, across all concurrent requests)
Transfer rate: 12340.92 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 5
Processing: 2 18 3.6 18 89
Waiting: 2 18 3.6 18 89
Total: 2 18 3.6 18 89
Percentage of the requests served within a certain time (ms)
50% 18
66% 18
75% 18
80% 18
90% 20
95% 23
98% 24
99% 25
100% 89 (longest request)
root@creat1va:/etc/apache2#
= Memory Usage
Before apache: 281
After test: 295
Peak on test: 310
root@creat1va:/etc/apache2# ab -n 50000 -c 100 http://localhost:7777/django | tee /root/apache_round2
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (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
Finished 50000 requests
Server Software: Apache
Server Hostname: localhost
Server Port: 7777
Document Path: /django
Document Length: 2073 bytes
Concurrency Level: 100
Time taken for tests: 53.2678 seconds
Complete requests: 50000
Failed requests: 0
Write errors: 0
Total transferred: 110525492 bytes
HTML transferred: 103650000 bytes
Requests per second: 943.35 [#/sec] (mean)
Time per request: 106.005 [ms] (mean)
Time per request: 1.060 [ms] (mean, across all concurrent requests)
Transfer rate: 2036.41 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 5
Processing: 79 105 32.3 103 822
Waiting: 79 105 31.8 103 820
Total: 79 105 32.3 103 822
Percentage of the requests served within a certain time (ms)
50% 103
66% 104
75% 106
80% 106
90% 109
95% 112
98% 116
99% 121
100% 822 (longest request)
root@creat1va:/etc/apache2#
= Memory Usage
Before apache: 281
After test: 307
Peak on test: 320
root@creat1va:/etc/apache2# ab -n 50000 -c 100 http://localhost:7777/go | tee /root/apache_round3
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Completed 10000 requests
Completed 15000 requests
Completed 20000 requests
Completed 25000 requests
Completed 30000 requests
Completed 35000 requests
Completed 40000 requests
Completed 45000 requests
Finished 50000 requests
Server Software: Apache
Server Hostname: localhost
Server Port: 7777
Document Path: /go
Document Length: 4503 bytes
Concurrency Level: 100
Time taken for tests: 553.543878 seconds
Complete requests: 50000
Failed requests: 0
Write errors: 0
Total transferred: 233483632 bytes
HTML transferred: 225150000 bytes
Requests per second: 90.33 [#/sec] (mean)
Time per request: 1107.088 [ms] (mean)
Time per request: 11.071 [ms] (mean, across all concurrent requests)
Transfer rate: 411.91 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 6
Processing: 190 1105 68.5 1096 2280
Waiting: 190 1105 68.5 1096 2280
Total: 190 1105 68.5 1096 2280
Percentage of the requests served within a certain time (ms)
50% 1096
66% 1104
75% 1109
80% 1113
90% 1127
95% 1166
98% 1244
99% 1294
100% 2280 (longest request)
root@creat1va:/etc/apache2#
= Memory Usage
Before apache: 281
After test: 311
Peak on test: 330
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment