Hi, I'm relatively new to Symfony so this may be a newbie misunderstanding of how the framework works - please bear with me. I'm building a site using Symfony 1.2.4 on Ubuntu 8.10. My Lenovo T61 has Dual Core CPU and 4 GB Ram. Starting two days ago, I noticed that running the symfony command line tasks were taking a lot longer on my project than they did a few days ago. After some troubleshooting I realized that the culprit was adding libraries to the lib/vendor folder. I had sym- linked the ezComponents and Zend libraries into my project's lib/ vendor folder because I needed to use several components from each framework. They are not being loaded automatically in ProjectConfiguration.class.php though, so I'm not sure why they are affecting the execution time of commands.
Before adding them to lib/vendor, the "symfony cache:clear" command took under 0.5 seconds to run: $ time symfony cache:clear real 0m0.426s user 0m0.360s sys 0m0.044s If I add Zend to lib/vendor, it jumps to 4.5 seconds: $ time symfony cache:clear real 0m4.430s user 0m4.328s sys 0m0.096s When I add ezcomponents, it goes to 26 seconds: $ time symfony cache:clear real 0m26.687s user 0m26.218s sys 0m0.460s If I remove the symlinks, the command runs in 0.5 seconds again. It's not just cache:clear - all other tasks take much longer than they used to also. Should adding libraries to the lib/vendor folder affect the performance of these commands this dramatically? Is there a different, recommended way to use 3rd party libraries that will not affect the performance of command line tasks? Thank you Mark --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---