News Feed
Sections




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

Zend Developer Zone:
Profiling PHP Applications With xdebug
January 01, 2008 @ 09:01:00

The Zend Developer Zone has posted the theird part of their series (by Stefan Priebsch) about working with XDebug in PHP to profile your applications.

In this week's issue, we will have a look at profiling. Profiling is a feature that seems to be similar to trace logging at first sight. Profiling logs, however, are not meant for human readability, and are not meant to visualize the program's control flow, but provide the data for a statistical analysis of the program run.

He includes an example of the profiling log his XDebug setup is generating and gives the settings you'll need to make a log of your own like php.ini settings to start it up and name it/place it where you want it.

He also talks about the method to get something useful out of the profiling logs - using WinCacheGrind or KCacheGrind to get an overview of what's going on "on the inside" of your application.

0 comments voice your opinion now!
profile application tutorial xdebug wincachegrind kcachegrind profile application tutorial xdebug wincachegrind kcachegrind


blog comments powered by Disqus

Similar Posts

Twilio Blog: How to Build an MMS Ticketing System Using PHP, Laravel and Twilio

Rafael Dohms' Blog: Deploying a Symfony2 and Composer app on PagodaBox

DevShed: Storing PHP Sessions in a Database

ParanoidFerret.com: Using Flex, PHP, and JSON to Modify a MySQL Database

PHPMaster.com: Handling Collections of Aggregate Roots - the Repository Pattern


Community Events

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


introduction opinion part2 example podcast conference framework community yii2 symfony project language application interview series list laravel api composer php7

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