News Feed
Sections




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

IBuildings techPortal:
Profiling with XHProf
December 02, 2009 @ 11:47:18

On the IBuildings techPortal site today there's a new article (written up by Lorenz Alberton) about using the XHProf profiling tool as an alternative to the feature used in another popular PHP-related too Xdebug.

In this article, we're going to try another profiler, XHProf, developed at Facebook and open sourced in March 2009 (under the Apache 2.0 license). XHProf is a function-level hierarchical profiler, with a PHP extension (written in C) to collect the raw data, and a few PHP scripts for the reporting/UI layer.

He walks you through the install (either via packages or, if it complains, via the usual PECL build process) and the functions you'd need to profile a chunk of code, an entire page and how to use the UI and reporting output to help define where the real problems are in your code.

0 comments voice your opinion now!
profile xhprof tutorial facebook extension


blog comments powered by Disqus

Similar Posts

Query7.com: Kohana 3.1 Wiki Tutorial

Elizabeth Smith's Blog: New Cairo Symbols in 1.8 and 1.6

Rob Allen's Blog: ZF2 Training at PHPNW 2011!

Phish Tank: Install & Configure Apache+PHP+ZendFramework+OracleDbXe On Windows In Minutes

Jakub Zalas' Blog: Mocking Symfony Container services in Behat scenarios with Mockery


Community Events





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


symfony laravel conference interview community zendserver framework podcast list introduction tips bugfix threedevsandamaybe api release deployment voicesoftheelephpant series code language

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