Saying it is slower, without any indication as to how or why is not really helpful. Running your application with debug > 0 will always be slow. As for 1.2 being slower than 1.1 that is entirely possible. However, it does so much more as well.
If raw performance was your only concern you would code in C, but you don't. Time spent developing you applications is important as well, so you use PHP and a PHP framework. Every line of code costs time, 1.2 has more code and does more things than 1.1 so it is a fair assumption that it would run marginally slower. However we feel that 1.2 is quite speedy all things considered. -Mark On Dec 9, 10:04 am, MaxDao <[EMAIL PROTECTED]> wrote: > I started migration my project from 1.1 to 1.2 a few weeks ago, same > thing here. 1.2 Is slower. :( > > On Dec 9, 12:46 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > Chmoded those dirs, and cake is creating some tmp files there now.. > > > Profiled again .. in production mode with same results ;( > > > Any other suggestions where to look? Thanks. > > > On 9 Dez., 11:28, AD7six <[EMAIL PROTECTED]> wrote: > > > > On Dec 9, 11:10 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > > I'm using debug mode 1, > > > > testing performance in debug mode is at best an interesting afternoons > > > pissing about :). > > > > > and I've even tried production mode in cake > > > > 1.2x and the performance is still poor. I ran > > > > xdebug on the code and it appears to be a group of functions really > > > > sucking up time: > > > > > Folder->read = 19.15% (591 calls) > > > > Folder->__tree = 9.12% (590 calls) > > > > php::array_merge = 8.71% (1348 calls) > > > > Folder->slashTerm = 7.69% (3413 calls) > > > > Folder->addPathElement = 4.42% (3312 calls) > > > > The above indicates the results are either from profiling in debug > > > mode OR because your tmp dir is not (recursively) writeable. > > > > > php::preg_match = 3.81% (12008 calls) > > > > > That's like 51% of runtime.. > > > > by my calculations, approximately 98.62% irrelevant too (most > > > likely) :) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
