CodeIgniter 隨便測測

2010101215:29

下載 CI 1.6.3、1.7.2、2.0 解開壓縮後
直接 ab 測試

(無 APC)

ci 2.0 beta
  
$ ab -n 1000 http://www.local.com/citest/ci20/

Concurrency Level:      1
Time taken for tests:   10.11012 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      1460000 bytes
HTML transferred:       1256000 bytes
Requests per second:    99.89 [#/sec] (mean)
Time per request:       10.011 [ms] (mean)
Time per request:       10.011 [ms] (mean, across all concurrent requests)
Transfer rate:          142.34 [Kbytes/sec] received


ci 1.7.2

$ ab -n 1000 http://www.local.com/citest/ci172/

Concurrency Level:      1
Time taken for tests:   9.708957 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      1473000 bytes
HTML transferred:       1269000 bytes
Requests per second:    103.00 [#/sec] (mean)
Time per request:       9.709 [ms] (mean)
Time per request:       9.709 [ms] (mean, across all concurrent requests)
Transfer rate:          148.11 [Kbytes/sec] received


ci 1.6.3

$ ab -n 1000 http://www.local.com/citest/ci163/

Concurrency Level:      1
Time taken for tests:   9.849165 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      1534000 bytes
HTML transferred:       1330000 bytes
Requests per second:    101.53 [#/sec] (mean)
Time per request:       9.849 [ms] (mean)
Time per request:       9.849 [ms] (mean, across all concurrent requests)
Transfer rate:          152.09 [Kbytes/sec] received


===


有 APC


ci 2.0 beta

$ ab -n 1000 http://www.local.com/citest/ci20/


Concurrency Level:      1
Time taken for tests:   1.605179 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      1460000 bytes
HTML transferred:       1256000 bytes
Requests per second:    622.98 [#/sec] (mean)
Time per request:       1.605 [ms] (mean)
Time per request:       1.605 [ms] (mean, across all concurrent requests)
Transfer rate:          887.75 [Kbytes/sec] received



ci 1.7.2

$ ab -n 1000 http://www.local.com/citest/ci172/


Concurrency Level:      1
Time taken for tests:   1.562307 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      1473000 bytes
HTML transferred:       1269000 bytes
Requests per second:    640.08 [#/sec] (mean)
Time per request:       1.562 [ms] (mean)
Time per request:       1.562 [ms] (mean, across all concurrent requests)
Transfer rate:          920.43 [Kbytes/sec] received


ci 1.6.3

$ ab -n 1000 http://www.local.com/citest/ci163/

Concurrency Level:      1
Time taken for tests:   1.681771 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      1534000 bytes
HTML transferred:       1330000 bytes
Requests per second:    594.61 [#/sec] (mean)
Time per request:       1.682 [ms] (mean)
Time per request:       1.682 [ms] (mean, across all concurrent requests)
Transfer rate:          890.73 [Kbytes/sec] received