News Feed
Sections




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

Lukas Smith's Blog:
Remember be nice to byte code caches
December 05, 2006 @ 09:14:00

In a new post on his blog, Lukas Smith warns developers working with autoload and byte code caches that things may not be as speedy as they might seem.

While it seems kind of nice one must be weary of the idea that they speed up your code. If you are running a byte code cache (which anyone who cares about performance of course does) you will get quite the opposite.

He includes a quote from an IRC log with Rasmus Lerdorf as to the reason why. Mainly, it has to do with the fact that autoload is runtime dependent as opposed to the byte codes which are handled and cached when working with apc.

So, what does this mean for performance? If you really want to squeeze those few extra bits of time out of the execution of your scripts, static includes are the way to go.

0 comments voice your opinion now!
bytecode cache include autoload library static performance bytecode cache include autoload library static performance


blog comments powered by Disqus

Similar Posts

Matthew Weier O'Phinney: Zend Server, ZF2, and Page Caching

Jan Lehnardt's Blog: Using the Zend Framework with Code Igniter (an alternative)

NetTuts.com: Aspect-Oriented Programming in PHP with Go!

Peter Petermann: Composer & Virtual Packages

Hasin Hayder's Blog: RackSpace Cloud Server Client Library for PHP


Community Events





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


release developer language laravel tips introduction api list deployment library bugfix symfony threedevsandamaybe opinion podcast framework zendserver series interview community

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