WordPress, Тест скорости работы с плагином кеширования IKLK и без него

февраля 1, 2012

Плагин брать здесь

Для тестирования нагнём блог апачевской тулзой «ab»:
С плагином: 1000 запросов в 10 потоков.
Без плагина: 100 запросов в 2 потока.

Результаты:
С плагином: 220.16 запросов в секунду
Без плагина: 1.07 запроса в секунду

Логи под катом

С плагином:

root@iadlab:~# ab -n 1000 -c 10 http://lenta.iadlab.ru/
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 lenta.iadlab.ru (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
 
Server Software:        nginx/0.7.62
Server Hostname:        lenta.iadlab.ru
Server Port:            80
 
Document Path:          /
Document Length:        57659 bytes
 
Concurrency Level:      10
Time taken for tests:   4.542 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      57842000 bytes
HTML transferred:       57659000 bytes
Requests per second:    220.16 [#/sec] (mean)
Time per request:       45.422 [ms] (mean)
Time per request:       4.542 [ms] (mean, across all concurrent requests)
Transfer rate:          12435.81 [Kbytes/sec] received
 
Connection Times (ms)
min  mean[+/-sd] median   max
Connect:        0    0   0.6      0       9
Processing:     2   45 170.8      7     930
Waiting:        1   45 170.8      7     930
Total:          3   45 170.8      7     930
 
Percentage of the requests served within a certain time (ms)
50%      7
66%      9
75%     10
80%     10
90%     11
95%    255
98%    866
99%    929
100%    930 (longest request)

Без плагина

root@iadlab:~# ab -n 100 -c 2 http://lenta.iadlab.ru/
This is ApacheBench, Version 2.3
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
 
Benchmarking lenta.iadlab.ru (be patient).....done
 
Server Software:        nginx/0.7.62
Server Hostname:        lenta.iadlab.ru
Server Port:            80
 
Document Path:          /
Document Length:        57659 bytes
 
Concurrency Level:      2
Time taken for tests:   93.498 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      5790400 bytes
HTML transferred:       5765900 bytes
Requests per second:    1.07 [#/sec] (mean)
Time per request:       1869.965 [ms] (mean)
Time per request:       934.983 [ms] (mean, across all concurrent requests)
Transfer rate:          60.48 [Kbytes/sec] received
 
Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       0
Processing:   726 1867 992.7   1824   10903
Waiting:      285  802 916.0    724    9693
Total:        726 1867 992.8   1824   10903
 
Percentage of the requests served within a certain time (ms)
  50%   1824
  66%   1922
  75%   2018
  80%   2058
  90%   2182
  95%   2403
  98%   2935
  99%  10903
 100%  10903 (longest request)

Один комментарий для “WordPress, Тест скорости работы с плагином кеширования IKLK и без него”


Оставить комментарий

© 2010 - 2019 Ядоблог. Ничего не защищено.
Powered by Лаборатория Яда. Написать Яду