Mierzyłem to za pomocą aplikacji ApacheBench. Serwerek który posiadam jest dosyć antyczny P4 2.8 HT, 2GB RAM.
Wykonywałem 10-krotne pobranie strony z czego maksymalna ilość pobrań w tym samym momencie ustawiłem na 3.
Zauważyłem też że eaccelerator pełni ta samą funkcję co compilea w magento, po włączenie eacceleratora w magento nie mam już opcji włączenia compilera. Jednak zaletą eacceleratora nad compilerem jest to że w ogóle się nie wysypuje na magento
Poniżej wyniki:
bez-eacceleratora
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 mdm.sklepy.co.cc (be patient).....done
Server Software: Apache/2.2.9
Server Hostname: mdm.sklepy.co.cc
Server Port: 80
Document Path: /furniture.html
Document Length: 41007 bytes
Concurrency Level: 3
Time taken for tests: 8.067 seconds
Complete requests: 10
Failed requests: 0
Write errors: 0
Total transferred: 415570 bytes
HTML transferred: 410070 bytes
Requests per second: 1.24 [#/sec] (mean)
Time per request: 2420.064 [ms] (mean)
Time per request: 806.688 [ms] (mean, across all concurrent requests)
Transfer rate: 50.31 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 0
Processing: 1724 2287 306.1 2288 2801
Waiting: 1675 2199 296.9 2210 2703
Total: 1724 2287 306.1 2288 2801
Percentage of the requests served within a certain time (ms)
50% 2288
66% 2293
75% 2555
80% 2587
90% 2801
95% 2801
98% 2801
99% 2801
100% 2801 (longest request)
z eacceleratorem
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 mdm.sklepy.co.cc (be patient).....done
Server Software: Apache/2.2.9
Server Hostname: mdm.sklepy.co.cc
Server Port: 80
Document Path: /furniture.html
Document Length: 41007 bytes
Concurrency Level: 3
Time taken for tests: 4.884 seconds
Complete requests: 10
Failed requests: 0
Write errors: 0
Total transferred: 415570 bytes
HTML transferred: 410070 bytes
Requests per second: 2.05 [#/sec] (mean)
Time per request: 1465.251 [ms] (mean)
Time per request: 488.417 [ms] (mean, across all concurrent requests)
Transfer rate: 83.09 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 791 1391 242.0 1470 1613
Waiting: 762 1341 235.9 1427 1568
Total: 791 1391 242.0 1470 1613
Percentage of the requests served within a certain time (ms)
50% 1470
66% 1528
75% 1537
80% 1573
90% 1613
95% 1613
98% 1613
99% 1613
100% 1613 (longest request)