PHP accelerator

Source: Wikipedia, the free encyclopedia.

A PHP accelerator is a

extension designed to improve the performance of software applications written in the PHP programming language
.

Operation

Most PHP accelerators work by

shared memory
and directly executed from there, minimizing the amount of slow disk reads and memory copying at runtime.

Practical benefits

PHP accelerators substantially increase the speed of PHP applications. Improvements of web page generation throughput by factors of two to seven have been observed.[1][2][3]

The effect on application performance of opcode caching varies widely, depending on factors such as the inherent execution time of the PHP application and the percentage of source code actually executed on a given request, and whether additional optimization steps are performed. While a code

optimizer
may even slow down overall performance when used in isolation, it can provide an additional performance boost when coupled with a bytecode cache, as the optimization effort is performed just once.

See also

References

  1. ^ "PHP on Windows: The WinCache 1.0 Benchmark". Archived from the original on 22 July 2012. Retrieved 2 September 2010.
  2. ^ "Benchmarking Drupal with PHP op-code caches: APC, eAccelerator and XCache compared". Retrieved 2 September 2010.
  3. ^ "Performance of Yii". Archived from the original on 19 August 2010. Retrieved 2 September 2010.

External links