profile using xdebug and Kcachegrind on linux , or Webgrind on Win. http://code.google.com/p/webgrind/
On Feb 24, 4:54 pm, Rich <[email protected]> wrote: > Thanks. Changing debug to 0 actually made things a lot faster. What > would be the best way to see where the problems are occurring when > debug is set to 2? > > On Feb 24, 10:25 am, majna <[email protected]> wrote: > > > remove exit, set debug to 0 and find slow part. > > additional model paths add one location more where cake looks for > > model file. > > this is very small performance hit (on disk I/O. Even smaller on > > virtual machine setup.) > > > On Feb 24, 1:47 pm, Rich <[email protected]> wrote: > > > > I am using $modelPaths in bootstrap.php to use models in 1 application > > > from another one. The issue I am having is how long it takes to > > > render a page when doing this. Is there a large performance hit when > > > sharing resources between applications? > > > > I created a simple test.ctp file and the only code in the controller > > > action for it was echo 'test'; exit; and it took nearly 25 seconds for > > > the action to take place. No errors or warnings were thrown. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
