News Feed
Sections




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

PHPBuilder.com:
6 PHP Performance Tips for Producing Highly Optimized Code
July 13, 2011 @ 09:34:17

On PHPBuilder.com today Jason Gilmore offers some performance tips to make highly optimized code without having to use something like HipHop to get closer to the speeds you might need.

While HipHop may seem a rather esoteric solution to the performance problem, a method lies within the perceived madness; maintaining the website logic using PHP code allows Facebook to maintain a code base which remains accessible to a larger number of developers, with the added bonus of being able to deploy blazing fast C++ code. Of course, incorporating HipHop into your infrastructure might not be ideal, but that shouldn't stop you from striving to produce highly optimized PHP code. Read on to learn more about several straightforward steps you can take to boost PHP performance.

Some of the tips included in his list are obvious but could easily be overlooked like:

  • Upgrade your PHP distribution
  • Tone down error reporting
  • Use PHP's native extensions whenever possible
  • Use a PHP accelerator

Take a look at the full post for other suggestions and descriptions of each.

1 comment voice your opinion now!
performance tip optimized code application suggestion


blog comments powered by Disqus

Similar Posts

LoLoCoJr BLog: Rewriting a (large) PHP application to Rails, part 1

Midstride Solutions Blog: 5 tips and tools to develop php applications fast

Juozas Kaziukenas' Blog: Dependencies management in PHP projects

SitePoint PHP Blog: Self-hosted Free Invoicing App - FusionInvoice

PHP 10.0 Blog: PHP performance tips from Google


Community Events





Don't see your event here?
Let us know!


language opinion introduction interview package community library release framework deployment laravel list zendserver tips api update symfony install podcast series

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework