Тестирование веб-сервера при использовании CMS-системы Energine
Предположительно, система Energine по своим технологиям должна была быть быстрее аналогов. Однако, тесты показывают, что это совсем не так. Данная система оказалась значительно медленнее, чем Joomla (что говорить о phpNuke и Drupal), но всё же значительно быстрей, чем система Битрикс (хотя, в тестах был несоизмеримо разный объём информации...)
Вот результаты теста:
root@titan-r:~# ab -c 5 -n 100000 http://i1.kiev.ua/
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 i1.kiev.ua (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Finished 100000 requests
Server Software: nginx/0.4.13
Server Hostname: i1.kiev.ua
Server Port: 80
Document Path: /
Document Length: 4023 bytes
Concurrency Level: 5
Time taken for tests: 4574.631725 seconds
Complete requests: 100000
Failed requests: 5
(Connect: 0, Length: 5, Exceptions: 0)
Write errors: 0
Non-2xx responses: 5
Total transferred: 446779435 bytes
HTML transferred: 402280850 bytes
Requests per second: 21.86 [#/sec] (mean)
Time per request: 228.732 [ms] (mean)
Time per request: 45.746 [ms] (mean, across all concurrent requests)
Transfer rate: 95.38 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 0 228 106.2 205 1613
Waiting: 0 227 106.1 204 1613
Total: 0 228 106.2 205 1613
Percentage of the requests served within a certain time (ms)
50% 205
66% 228
75% 240
80% 250
90% 296
95% 429
98% 591
99% 726
100% 1613 (longest request)
Вот результаты теста:
root@titan-r:~# ab -c 5 -n 100000 http://i1.kiev.ua/
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 i1.kiev.ua (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Finished 100000 requests
Server Software: nginx/0.4.13
Server Hostname: i1.kiev.ua
Server Port: 80
Document Path: /
Document Length: 4023 bytes
Concurrency Level: 5
Time taken for tests: 4574.631725 seconds
Complete requests: 100000
Failed requests: 5
(Connect: 0, Length: 5, Exceptions: 0)
Write errors: 0
Non-2xx responses: 5
Total transferred: 446779435 bytes
HTML transferred: 402280850 bytes
Requests per second: 21.86 [#/sec] (mean)
Time per request: 228.732 [ms] (mean)
Time per request: 45.746 [ms] (mean, across all concurrent requests)
Transfer rate: 95.38 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 0 228 106.2 205 1613
Waiting: 0 227 106.1 204 1613
Total: 0 228 106.2 205 1613
Percentage of the requests served within a certain time (ms)
50% 205
66% 228
75% 240
80% 250
90% 296
95% 429
98% 591
99% 726
100% 1613 (longest request)
Комментарии
если стоит проблема с производительностью то единственным реальным решением является кеширование