It should also be mentioned that this is something that was identified
in the initial performance tests. Matthew will be doing much more
performance testing in the next few weeks, so we will hopefully deliver
more performance enhancements with the 1.7 production release.

,Wil

> -----Original Message-----
> From: Matthew Weier O'Phinney [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 14, 2008 11:14 AM
> To: fw-general@lists.zend.com
> Subject: Re: [fw-general] Zend Framework 1.7 Preview Release is
> nowavailable!
> 
> -- Goran Juric <[EMAIL PROTECTED]> wrote
> (on Tuesday, 14 October 2008, 03:20 AM -0700):
> > wllm wrote:
> > > * Performance enhancements
> > >
> >
> > What kind of performance enhancements were made? Is there a
changelog
> > somewhere?
> 
> The issue tracker is the changelog. :)
> 
> In this particular case, the performance enhancements were made to the
> PluginLoader, which is used in a variety of places in the framework.
> Basically, we were looping over paths manually and checking if a file
> was readable; this becomes slower and slower the more paths that need
> to
> be traversed to find the correct file. Ironically, there's an option
in
> loadFile() that allows you to pass a set of directories to loop over;
> directory iteration is done by resetting the include_path briefly and
> using fopen(), which has an argument for searching the include_path --
> which is many times faster than manually doing it. The net gain is
> around 12.5% in a real-world application (i.e., 1/8 increase), but
> could
> vary based on the requirements of your application.
> 
> --
> Matthew Weier O'Phinney
> Software Architect       | [EMAIL PROTECTED]
> Zend Framework           | http://framework.zend.com/

Reply via email to