Skip to content

Instantly share code, notes, and snippets.

@tian2992
Created March 16, 2011 01:55
Show Gist options
  • Save tian2992/871868 to your computer and use it in GitHub Desktop.
Save tian2992/871868 to your computer and use it in GitHub Desktop.
lighttpd-vs-apache
tian2992@li55-22:~/Sites$ ab -n 2000 http://labs.sebastianoliva.com/info.php
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 labs.sebastianoliva.com (be patient)
Completed 200 requests
Completed 400 requests
Completed 600 requests
Completed 800 requests
Completed 1000 requests
Completed 1200 requests
Completed 1400 requests
Completed 1600 requests
Completed 1800 requests
Completed 2000 requests
Finished 2000 requests
Server Software: Apache/2.2.16
Server Hostname: labs.sebastianoliva.com
Server Port: 80
Document Path: /info.php
Document Length: 54562 bytes
Concurrency Level: 1
Time taken for tests: 5.106 seconds
Complete requests: 2000
Failed requests: 0
Write errors: 0
Total transferred: 109488000 bytes
HTML transferred: 109124000 bytes
Requests per second: 391.69 [#/sec] (mean)
Time per request: 2.553 [ms] (mean)
Time per request: 2.553 [ms] (mean, across all concurrent requests)
Transfer rate: 20940.07 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 2 2 13.9 2 621
Waiting: 1 1 1.4 1 63
Total: 2 2 13.9 2 621
Percentage of the requests served within a certain time (ms)
50% 2
66% 2
75% 3
80% 3
90% 3
95% 3
98% 3
99% 3
100% 621 (longest request)
tian@playground:~$ ab -n 2000 http://playground.sebastianoliva.com/info.php
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 playground.sebastianoliva.com (be patient)
Completed 200 requests
Completed 400 requests
Completed 600 requests
Completed 800 requests
Completed 1000 requests
Completed 1200 requests
Completed 1400 requests
Completed 1600 requests
Completed 1800 requests
Completed 2000 requests
Finished 2000 requests
Server Software: lighttpd/1.4.28
Server Hostname: playground.sebastianoliva.com
Server Port: 80
Document Path: /info.php
Document Length: 57389 bytes
Concurrency Level: 1
Time taken for tests: 1.832 seconds
Complete requests: 2000
Failed requests: 0
Write errors: 0
Total transferred: 115151698 bytes
HTML transferred: 114778000 bytes
Requests per second: 1091.45 [#/sec] (mean)
Time per request: 0.916 [ms] (mean)
Time per request: 0.916 [ms] (mean, across all concurrent requests)
Transfer rate: 61368.28 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 1 1 0.1 1 4
Waiting: 0 0 0.2 0 1
Total: 1 1 0.1 1 4
Percentage of the requests served within a certain time (ms)
50% 1
66% 1
75% 1
80% 1
90% 1
95% 1
98% 1
99% 1
100% 4 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment