Thursday, May 31, 2012

Re: Cakephp Benchmark with debug is 2 and 0

On 31/05/12 11:47, Điển vũ wrote:
I still think with debug is 0 , cakephp will be run faster when debug is 2. 
But when i use ApacheBench : ab -n 100 http://example.com in localhost . It showed results is same.
I ever read this article: 8 ways to speed up Cakephp from long time ago when cakephp 1.3
Did cakephp 2.0 improved performance  ? 
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

I'm not really sure I understand your message... are you saying that CakePHP performs the same with debug set to 2 as it does with it set to 0 ?

If this is the case, then I am sorry but the way you are performing your tests is probably very flawed since debug=2 will output far more per response than debug=0 does and should therefore be slower in benchmark tests.

You should have a look at what it is you are actually testing before assuming you have cake performance problems.

No comments: