Skip to content

Instantly share code, notes, and snippets.

@meotimdihia
Created May 31, 2012 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meotimdihia/51757a95763fd8ac7b53 to your computer and use it in GitHub Desktop.
Save meotimdihia/51757a95763fd8ac7b53 to your computer and use it in GitHub Desktop.
Apache Benchmark and cakephp

ab -k -n 100 http://b/

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/

###With debug 0 , and not caching

Server Software:        Apache/2.2.21
Server Hostname:        b
Server Port:            80

Document Path:          /
Document Length:        61559 bytes

Concurrency Level:      1
Time taken for tests:   86.850 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Keep-Alive requests:    100
Total transferred:      6192492 bytes
HTML transferred:       6155900 bytes
Requests per second:    1.15 [#/sec] (mean)
Time per request:       868.500 [ms] (mean)
Time per request:       868.500 [ms] (mean, across all concurrent requests)
Transfer rate:          69.63 [Kbytes/sec] received

###With debug 2 , and not caching

Concurrency Level:      1
Time taken for tests:   91.903 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Keep-Alive requests:    100
Total transferred:      10097892 bytes
HTML transferred:       10061200 bytes
Requests per second:    1.09 [#/sec] (mean)
Time per request:       919.033 [ms] (mean)
Time per request:       919.033 [ms] (mean, across all concurrent requests)
Transfer rate:          107.30 [Kbytes/sec] received

###With debug 0 , and caching

Concurrency Level:      1
Time taken for tests:   8.217 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Keep-Alive requests:    1
Total transferred:      6175671 bytes
HTML transferred:       6155900 bytes
Requests per second:    12.17 [#/sec] (mean)
Time per request:       82.175 [ms] (mean)
Time per request:       82.175 [ms] (mean, across all concurrent requests)
Transfer rate:          733.92 [Kbytes/sec] received
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment