News Feed
Sections




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

Sameer Borate's Blog:
Benchmarking Wordpress SQL using FirePHP
February 15, 2010 @ 10:47:12

WordPress users out there might find the latest post from Sameer Borate interesting if they're looking to squeeze the most performance out of their installation. It's a guide to using the FirePHP plugin for Firefox to benchmark your WordPress install's SQL.

The first thing you can do to rectify the situation is to find out where exactly the bottleneck resides by analyzing the time each SQL query takes to executes. Some inquisitive people among you may also be interested in knowing in what sequence the Wordpress SQL queries themselves are being run.

His method of benchmarking the SQL for the application uses some of the built in query logging in WordPress and some code dropped into your footer of your template to grab that information and push it back out to the waiting FireBug panel in your browser. The result looks something like this.

0 comments voice your opinion now!
wordpress sql benchmark firephp firebug


blog comments powered by Disqus

Similar Posts

Mastering Zend Framework: Building and Executing SQL Queries In Zend

Noupe.com: 13 Great WordPress Speed Tips & Tricks for MAX Performance

MaltBlue.com: Zend\Db\Sql\Select - The Basics (Columns, Limit & Order)

Ryan Malesevich's Blog: SimpleView Gallery: Browse Images in a Directory

GoodPHPTutorials.com: SQL Injections in PHP with MySQL


Community Events





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


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

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