[Codeigniter-users] InkType と WP の速度比較

Back to archive index

Kenichi Ando neo.k****@gmail*****
2008年 8月 7日 (木) 15:21:37 JST


安藤です。

2008/08/07 14:56 tsujioka <tsuji****@m-s*****>:
> kunitsujiです。
>
> この速度の違いはどこからきてるんでしょうか。
> WPとCIのフレームワークコアの読み込みファイル数などの違いなのか、
> テーブル構造の違いなのか。
> DBよりもFWの構造の部分かなぁとは思いますが。

何の根拠も無い感想ですが、WordPressはAjaxっぽいJavaScriptが
管理画面で多様されていて、「モッサリ」って感じで、もたつきますね。

やはりテンプレートの多様化のための仕組み、プラグイン汎用性が
遅い原因だとおいますけど。

内部のベンチマーク取って、遅い原因調べるの大変そうですねww


>
> ----- Original Message -----
> From: "Kenji" <kenji****@club*****>
> To: <codei****@lists*****>
> Sent: Thursday, August 07, 2008 2:05 PM
> Subject: [Codeigniter-users] InkType と WP の速度比較
>
>
>> Kenji です。
>>
>>
>> 手許の Note に WP 2.6 日本語版もインストールして、同じ内容の記事を作成し、
>> 記事ページの表示時間を比較してみました。
>>
>> InkType はまだ低機能ですが、処理速度はかなり大きな違いがでました。
>>
>>     WP Requests per second: 0.78 [#/sec]
>> InkType Requests per second: 4.32 [#/sec]
>>
>> ざっと、5.5倍 InkType の方が高速でした。
>>
>>
>> $ /usr/sbin/ab -n 100 'http://localhost/wordpress/?p=3'
>> 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 localhost (be patient).....done
>>
>>
>> Server Software:        Apache/2.2.9
>> Server Hostname:        localhost
>> Server Port:            80
>>
>> Document Path:          /wordpress/?p=3
>> Document Length:        6107 bytes
>>
>> Concurrency Level:      1
>> Time taken for tests:   127.963865 seconds
>> Complete requests:      100
>> Failed requests:        0
>> Write errors:           0
>> Total transferred:      644800 bytes
>> HTML transferred:       610700 bytes
>> Requests per second:    0.78 [#/sec] (mean)
>> Time per request:       1279.639 [ms] (mean)
>> Time per request:       1279.639 [ms] (mean, across all concurrent
>> requests)
>> Transfer rate:          4.92 [Kbytes/sec] received
>>
>> Connection Times (ms)
>>              min  mean[+/-sd] median   max
>> Connect:        0    0   0.0      0       0
>> Processing:  1162 1279 195.8   1202    1973
>> Waiting:     1162 1278 195.9   1201    1973
>> Total:       1162 1279 195.8   1202    1973
>>
>> Percentage of the requests served within a certain time (ms)
>>  50%   1202
>>  66%   1213
>>  75%   1236
>>  80%   1295
>>  90%   1604
>>  95%   1876
>>  98%   1971
>>  99%   1973
>> 100%   1973 (longest request)
>>
>>
>> $ /usr/sbin/ab -n 100 'http://localhost/inktype/index.php/blog/post'
>> 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 localhost (be patient).....done
>>
>>
>> Server Software:        Apache/2.2.9
>> Server Hostname:        localhost
>> Server Port:            80
>>
>> Document Path:          /inktype/index.php/blog/post
>> Document Length:        5548 bytes
>>
>> Concurrency Level:      1
>> Time taken for tests:   23.153672 seconds
>> Complete requests:      100
>> Failed requests:        0
>> Write errors:           0
>> Total transferred:      701000 bytes
>> HTML transferred:       554800 bytes
>> Requests per second:    4.32 [#/sec] (mean)
>> Time per request:       231.537 [ms] (mean)
>> Time per request:       231.537 [ms] (mean, across all concurrent
>> requests)
>> Transfer rate:          29.54 [Kbytes/sec] received
>>
>> Connection Times (ms)
>>              min  mean[+/-sd] median   max
>> Connect:        0    0   0.0      0       0
>> Processing:   221  230  14.0    226     295
>> Waiting:        0  226  29.3    225     294
>> Total:        221  230  14.0    226     295
>>
>> Percentage of the requests served within a certain time (ms)
>>  50%    226
>>  66%    227
>>  75%    230
>>  80%    234
>>  90%    246
>>  95%    272
>>  98%    286
>>  99%    295
>> 100%    295 (longest request)
>>
>>
>> // Kenji
>>
>> _______________________________________________
>> Codeigniter-users mailing list
>> Codei****@lists*****
>> http://lists.sourceforge.jp/mailman/listinfo/codeigniter-users
>
> _______________________________________________
> Codeigniter-users mailing list
> Codei****@lists*****
> http://lists.sourceforge.jp/mailman/listinfo/codeigniter-users
>




Codeigniter-users メーリングリストの案内
Back to archive index