Re: slow performance

From: Date: Wed, 25 Apr 2007 22:02:09 +0000
Subject: Re: slow performance
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-253787@lists.php.net to get a copy of this message
On Wed, April 25, 2007 5:09 am, Zoltán Németh wrote: > 2007. 04. 25, szerda keltezéssel 11.53-kor Henning Eiben ezt írta: >> Zoltán Németh schrieb: >> > not exactly. it pre-compiles them to opcodes and stores the opcode > blocks. the interpreter normally first pre-compiles the code to > opcodes > then runs the opcode. this pre-compilation can be cached with > accelerators, that's how they increase performance. Please, please, please stop misinformation. :-) The accelerators *ALL* make their dramatic performance boost by CACHING the hard drive into RAM. Caching PHP Source would do *almost* as well. Caching the opcodes is a free bonus incremental improvement. The difference in the guts of the Zend Engine / Accelerator is putting the cache operation a few lines of code later/earlier, to store the opcodes instead of the source, so it's a no-brainer to store the opcodes instead for that extra few percent of performance. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.general (#253787) next »