The performance of yii and qee or CI


Qee may be quick than yii.But I want know why !

Doo is the most quckest!


2.concurrent requests:10

3.Requests :100

5.Requests per second: 624.10 [#/sec] (mean)

6.Time per request: 16.023 [ms] (mean)

7.Time per request: 1.602 [ms] (mean, across all concurrent requests)

8.Transfer rate: 3588.59 [Kbytes/sec] received


12 PHP:

13.concurrent requests:10

14.Requests :100

16.Requests per second: 356.63 [#/sec] (mean)

17.Time per request: 28.040 [ms] (mean)

18.Time per request: 2.804 [ms] (mean, across all concurrent requests)

19.Transfer rate: 2007.82 [Kbytes/sec] received



24.concurrent requests:10

25.Requests :100

27.Requests per second: 26.35 [#/sec] (mean)

28.Time per request: 379.546 [ms] (mean)

29.Time per request: 37.955 [ms] (mean, across all concurrent requests)

30.Transfer rate: 160.19 [Kbytes/sec] received



35.concurrent requests:10

36.Requests :100

38.Requests per second: 27.74 [#/sec] (mean)

39.Time per request: 360.518 [ms] (mean)

40.Time per request: 36.052 [ms] (mean, across all concurrent requests)

41.Transfer rate: 158.11 [Kbytes/sec] received



46.concurrent requests:10

47.Requests :100

49.Requests per second: 31.30 [#/sec] (mean)

50.Time per request: 319.459 [ms] (mean)

51.Time per request: 31.946 [ms] (mean, across all concurrent requests)

52.Transfer rate: 174.36 [Kbytes/sec] received



57.concurrent requests:10

58.Requests :100

60.Requests per second: 40.10 [#/sec] (mean)

61.Time per request: 249.359 [ms] (mean)

62.Time per request: 24.936 [ms] (mean, across all concurrent requests)

63.Transfer rate: 232.60 [Kbytes/sec] received


1.Ruby On Rails with Lighttpd Proxy:

2.concurrent requests:10

3.Requests :100

5.Requests per second: 64.42 [#/sec] (mean)

6.Time per request: 155.223 [ms] (mean)

7.Time per request: 15.522 [ms] (mean, across all concurrent requests)

8.Transfer rate: 380.10 [Kbytes/sec] received

Static HTML outperforms even Doo! HEAD requests outperforms HTML too! Local cache will definitely be quicker than HEAD…!

You should enable byte-code caching on server-side (see APC). If you want to echo your output, then choose PHP. If you want to have a bit more, then go with Doo. If you want features to support your rapid web 2.0 development, then choose Yii.

thanks for reply.I mean the CI frame or QEEPHP frame is faster than yii.

I just want to know why?

and may be the test is not fair or something wrong.please let me know.

PS.I know that the performance is not the key point of framework!

Well, performance is a key point of a framework, but most frameworks do not cause bottlenecks by themselves. Performance is achieved by proper design decisions, adequate application structure and smart caching.

Yii does additional initialization which may have a little impact on speed, but, in return, it shortens the development time very well.