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

Sebastian Bergmann's Blog:
PHP 5.1 / GCC Benchmark (Update)
Jan 25, 2006 @ 12:40:40

Sebastian Bergmann has updated a previous benchmark concerning the performance of PHP 5.1 as built with various versions of GCC.

I updated my previous benchmark of PHP 5.1. This time around I built PHP with GCC 3.4.5, GCC 4.0.2, and GCC 4.1.0.

The bottom line result seems to be that GCC 4 generates slightly slower code:

  • GCC 3.4.5: 15.223
  • GCC 4.0.2: 17.896
  • GCC 4.1.0: 17.847
When I have more time, I will investigate this further using alternative optimizations, including profiling-guided ones.

The detailed results are also included, showing how he came to each point mentioned above. They include the specs for the machine, how the testing was set up, and the detailed breakdown of the stats for each GCC version.

tagged: gcc benchmark update different versions php5.1 gcc benchmark update different versions php5.1

Link:


Trending Topics: