Title: WP XHProf Profiler
Author: Artberri
Published: <strong>Mis-Genver 10, 2012</strong>
Last modified: Mis-Genver 10, 2012

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp-xhprof-profiler.svg)

# WP XHProf Profiler

 By [Artberri](https://profiles.wordpress.org/artberri/)

[Download](https://downloads.wordpress.org/plugin/wp-xhprof-profiler.zip)

 * [Details](https://cor.wordpress.org/plugins/wp-xhprof-profiler/#description)
 * [Reviews](https://cor.wordpress.org/plugins/wp-xhprof-profiler/#reviews)
 *  [Installation](https://cor.wordpress.org/plugins/wp-xhprof-profiler/#installation)
 * [Development](https://cor.wordpress.org/plugins/wp-xhprof-profiler/#developers)

 [Support](https://wordpress.org/support/plugin/wp-xhprof-profiler/)

## Description

WP XHProf Profiler plugin is an easy way to profile your plugins and themes when
you are coding or debugging. To get it done it uses XHProf, a PHP profiler made 
by the Facebook Dev Team (you must install it before activating the plugin).

#### Usage

By default the profiling is disabled, activate `WP_DEBUG` on your `wp-config.php`
to enable it. After doing it, all your wordpress pages will have a link at bottom
with the profiling data.

#### ¿What is XHProf?

From http://www.php.net/manual/en/intro.xhprof.php

XHProf is a light-weight hierarchical and instrumentation based profiler. During
the data collection phase, it keeps track of call counts and inclusive metrics for
arcs in the dynamic callgraph of a program. It computes exclusive metrics in the
reporting/post processing phase, such as wall (elapsed) time, CPU time and memory
usage. A functions profile can be broken down by callers or callees. XHProf handles
recursive functions by detecting cycles in the callgraph at data collection time
itself and avoiding the cycles by giving unique depth qualified names for the recursive
invocations.

XHProf includes a simple HTML based user interface (written in PHP). The browser
based UI for viewing profiler results makes it easy to view results or to share 
results with peers. A callgraph image view is also supported.

XHProf reports can often be helpful in understanding the structure of the code being
executed. The hierarchical nature of the reports can be used to determine, for example,
what chain of calls led to a particular function getting called.

XHProf supports ability to compare two runs (a.k.a. “diff” reports) or aggregate
data from multiple runs. Diff and aggregate reports, much like single run reports,
offer “flat” as well as “hierarchical” views of the profile.

Additional documentation can be found via the xhprof website » [http://pecl.php.
net/package/xhprof]

#### Support

Comments, questions, feature requests and bug reports are welcome: [http://www.berriart.com/en/xhprof-profiler/](http://www.berriart.com/en/xhprof-profiler/)

## Screenshots

 * [[
 * Profiler output

## Installation

 1. Install XHProf on your server [http://www.php.net/manual/en/xhprof.installation.
    php]
 2. Extract and upload the directory `xhprof-profiler` to the `/wp-content/plugins/`
    directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Enable `WP_DEBUG` on your `wp-config.php` file for profiling
 5. That’s all

#### Requeriments

 * WordPress >= v2.6.0

## FAQ

  Is this plugin developed by Facebook Dev Team?

No. This plugin is not made by the creators of the XHProf profiler, this plugin 
has been developed by [Berriart](http://www.berriart.com/).

  Have you any more question?

Comments, questions, feature requests and bug reports are welcome: [http://www.berriart.com/en/xhprof-profiler/](http://www.berriart.com/en/xhprof-profiler/)

For further information about XHProf go to [http://pecl.php.net/package/xhprof]

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“WP XHProf Profiler” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Artberri ](https://profiles.wordpress.org/artberri/)

[Translate “WP XHProf Profiler” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-xhprof-profiler)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-xhprof-profiler/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-xhprof-profiler/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-xhprof-profiler/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-xhprof-profiler/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **0.9**
 *  Last updated **14 years ago**
 *  Active installations **10+**
 *  WordPress version ** 2.6.0 or higher **
 *  Tested up to **3.3.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-xhprof-profiler/)
 * Tags
 * [debug](https://cor.wordpress.org/plugins/tags/debug/)[php](https://cor.wordpress.org/plugins/tags/php/)
   [profiler](https://cor.wordpress.org/plugins/tags/profiler/)[profiling](https://cor.wordpress.org/plugins/tags/profiling/)
 *  [Advanced View](https://cor.wordpress.org/plugins/wp-xhprof-profiler/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/wp-xhprof-profiler/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-xhprof-profiler/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-xhprof-profiler/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-xhprof-profiler/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-xhprof-profiler/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-xhprof-profiler/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-xhprof-profiler/reviews/)

## Contributors

 *   [ Artberri ](https://profiles.wordpress.org/artberri/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-xhprof-profiler/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.berriart.com/donate/)