News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Matthew Weier O'Phinney's Blog:
Autoloading Benchmarks
August 18, 2010 @ 10:14:59

Matthew Weier O'Phinney has a new post to his blog (following this post on directory iteration for autoloading) with some of the benchmarks of different methods he tried for automatically loading the libraries his scripts needed on demand.

During the past week, I've been looking at different strategies for autoloading in Zend Framework. I've suspected for some time that our class loading strategy might be one source of performance degradation, and wanted to research some different approaches, and compare performance. In this post, I'll outline the approaches I've tried, the benchmarking strategy I applied, and the results of benchmarking each approach.

His testing included a baseline of the Zend Framework 1.x series loading, a naming/class standard following the PEAR standards and class mapping with file/class name pairs. He includes his benchmarking strategy and the scripts he used to run the tests (on github here). He ran them both with and without opcode caching to give a better overall performance view.

0 comments voice your opinion now!
autoload benchmark classmap spl pear psr0


blog comments powered by Disqus

Similar Posts

Fabien Potencier: The rise of Composer and the fall of PEAR

Community News: EngineYard Hosts "Future of PHP" Live Panel - "PEAR & Pyrus"

Sebastian Bergmann\'s Blog: PHP 5.1 / GCC Benchmark (Update)

Community News: Latest PEAR Releases for 08.13.2007

Greg Beaver\'s Blog: PEAR 1.4.x branch is settling into comfortable stability


Community Events





Don't see your event here?
Let us know!


interview development series language introduction api list laravel zendserver bugfix code framework symfony tips conference voicesoftheelephpant community release podcast deployment

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework