Re: slow performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux