CakePHP does have some issues with aggressive loading, and have terrible performance in a lot of areas, but that benchmark, doesn't really measure anything regarding to Yii. Because of Yii's lazy loading, practically none of the commonly used objects/classes are loaded in the test application. This makes it practically the same as barebones PHP. However, in a real application, when the helpers and models are actually used (and thus loaded), I think the results would look much different.
Also, CakePHP is meant to be run with a non-file-based cache engine + a php accelerator. Still, I believe that Yii is much faster for slimmed down applications, and I really hope that CakePHP can learn something from the lazy loading parts (why on earth does Cake load _all_ models in $uses on each request - instead of when they are actually used? for instance). On 25 Jan, 21:44, chanon <[email protected]> wrote: > I know there has been another thread about this, but I want to say > that newcomers looking athttp://www.yiiframework.com/performance > might be afraid of investing into using CakePHP 1.2. > > From those numbers, Yii with APC on is about 10x faster than CakePHP > (!?) > > Even compared to CakePHP 1.1, CakePHP 1.2 with APC on is 5 times > slower. > > I feel that maybe before the CakePHP developers rush to add even more > features into 1.3, they might want to take a step back and look into > improving theperformancein 1.2. > > As someone said even though faster to develop with is good, but in the > current economy people might be interested in saving on server costs > too. > > The benchmark on that site doesn't include any database access, which > is something I'd like to see. Maybe CakePHP would make it up when > working with a large database? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
