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 -~----------~----~----~----~------~----~------~--~---
