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

Sebastian Bergmann's Blog:
Benchmark of PHP Branches 3.0 through 5.3-CVS
Feb 07, 2008 @ 14:49:00

Sebastian Bergmann has posted the results of some benchmarking on the compilation he's done on the branches of PHP from version 3.0 all the way up to 5.3-CVS.

As people keep asking me for an update to my previous benchmarks (PHP / GCC / ICC Benchmark, PHP 5.1 / GCC Benchmark (Update), and PHP 5.1 Performance, I quickly ran a new benchmark today.

He rendered the results out into a series of charts defining the number of total seconds taken for the compile and how long each of the components took. It's impressive to see how much of a jump there was between the 3.0 series and 4.3.

He also includes his compile settings (and machine information) as well as the numbers for the results if you'd like to graph them out yourself.

tagged: benchmark compile branch ubuntu graph bar chart gcc

Link:

Sebastian Bergmann's Blog:
PHP / GCC / ICC Benchmark
Nov 07, 2006 @ 14:27:00

Continuing in his series of benchmarking various statistics about PHP, Sebastian Bergmann has created a few more interesting bits of information. This time, gives the results of running bench.php on the numbers he ended up with (and made some spiffy graphs out of them as well).

According to his numbers, a real speed boost was made in compile time when PHP 5.1.6 came on the scene. PHP 5.2 changed things very slightly, slowing things down just a bit (on both the GCC 3.4.6 and 4.1.1). The ICC compiles saw a similar jump in speed with 5.1.6.

So which is faster overall? Well, as the last graph shows, even starting from PHP 4.4.4, the ICC with the "fast" option beats either version of the GCC compiler by a good margin.

Oh, and if you'd like to run some stats yourself, he includes the raw data he found when making the compiles.

tagged: compile gcc statistics icc fast graph speed compile gcc statistics icc fast graph speed

Link:

Sebastian Bergmann's Blog:
PHP / GCC / ICC Benchmark
Nov 07, 2006 @ 14:27:00

Continuing in his series of benchmarking various statistics about PHP, Sebastian Bergmann has created a few more interesting bits of information. This time, gives the results of running bench.php on the numbers he ended up with (and made some spiffy graphs out of them as well).

According to his numbers, a real speed boost was made in compile time when PHP 5.1.6 came on the scene. PHP 5.2 changed things very slightly, slowing things down just a bit (on both the GCC 3.4.6 and 4.1.1). The ICC compiles saw a similar jump in speed with 5.1.6.

So which is faster overall? Well, as the last graph shows, even starting from PHP 4.4.4, the ICC with the "fast" option beats either version of the GCC compiler by a good margin.

Oh, and if you'd like to run some stats yourself, he includes the raw data he found when making the compiles.

tagged: compile gcc statistics icc fast graph speed compile gcc statistics icc fast graph speed

Link:

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:

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: