I have pasted two scenario of Apache Workbench Testing of Myapplication at Localhost.
But i didn’t found any significant change after APC cache implementation.
Can anyone suggest.
Without APC Cache Implementation
bash-4.1$ ab -n 100 http://localhost/mywebsite.com/
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 localhost (be patient)…done
Server Software: Apache/2.2.15
Server Hostname: localhost
Server Port: 80
Document Path: /mywebsite.com/
Document Length: 51841 bytes
Concurrency Level: 1
Time taken for tests: 111.972 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Non-2xx responses: 100
Total transferred: 5222800 bytes
HTML transferred: 5184100 bytes
Requests per second: 0.89 [#/sec] (mean)
Time per request: 1119.724 [ms] (mean)
Time per request: 1119.724 [ms] (mean, across all concurrent requests)
Transfer rate: 45.55 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 910 1120 350.3 1049 4279
Waiting: 905 1114 350.3 1044 4274
Total: 910 1120 350.3 1049 4279
Percentage of the requests served within a certain time (ms)
50% 1049
66% 1068
75% 1088
80% 1136
90% 1268
95% 1517
98% 1860
99% 4279
100% 4279 (longest request)
[b]
With APC Cache Implementationm[/b]
bash-4.1$ ab -n 100 http://localhost/mywebsite.com/
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 localhost (be patient)…done
Server Software: Apache/2.2.15
Server Hostname: localhost
Server Port: 80
Document Path: /mywebsite.com/
Document Length: 51841 bytes
Concurrency Level: 1
Time taken for tests: 112.384 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Non-2xx responses: 100
Total transferred: 5222800 bytes
HTML transferred: 5184100 bytes
Requests per second: 0.89 [#/sec] (mean)
Time per request: 1123.844 [ms] (mean)
Time per request: 1123.844 [ms] (mean, across all concurrent requests)
Transfer rate: 45.38 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 594 1124 316.5 1027 3447
Waiting: 593 1123 316.5 1026 3446
Total: 594 1124 316.5 1027 3447
Percentage of the requests served within a certain time (ms)
50% 1027
66% 1089
75% 1192
80% 1233
90% 1342
95% 1527
98% 2237
99% 3447
100% 3447 (longest request)
APC Setting:
id Local Setting Global Setting Access Level
apc.cache_by_default 1 1 all
apc.canonicalize 0 0 system
apc.coredump_unmap 0 0 system
apc.enable_cli 0 0 system
apc.enabled 1 1 system
apc.file_md5 0 0 system
apc.file_update_protection 2 2 system
apc.filters system
apc.gc_ttl 3600 3600 system
apc.include_once_override 0 0 system
apc.lazy_classes 00 00 system
apc.lazy_functions 0 0 system
apc.max_file_size 2M 2M system
apc.mmap_file_mask /tmp/apc.S4xvO9 /tmp/apc.S4xvO9 system
apc.num_files_hint 1024 1024 system
If anything else require you may please mention in comment.