-- aSecondWill <willjbar...@gmail.com> wrote (on Monday, 29 June 2009, 06:09 PM -0700): > The instructions given here: > > http://framework.zend.com/manual/en/performance.classloading.html#performance.classloading.striprequires.sed > > Don't work in terminal on OSX. Does anyone have an alternative ? > > Is it possible to make a production ready version of the framework > available? one with the require_once statements removed. I know there is a > bit of a discussion on here about it not mattering quite so much with > php5.2+, but even so, it's one of the 1st instructions in the performance > chapter.
Just a clarification: those recommendations were made based on testing with PHP 5.2 series versions. Even with the realpath cache in PHP 5.2, you get better performance after stripping require_once calls. However, the most benefit comes from stripping them *and* using an opcode cache. Without the opcode cache, the benefits, while measurable, are still negligible. -- Matthew Weier O'Phinney Project Lead | matt...@zend.com Zend Framework | http://framework.zend.com/