I have found Facebook's xhprof extension to be a a very useful extension for profiling also https://github.com/facebook/xhprof . Unlike the one above, it doesn't require any code changes (it's a C-based PECL extension), and can easily be set up to be triggered via a parameter on the URL or to profile every nth page load (via a simple auto-prepend) for usage in production environments. It produces a full callgraph (us…
Thanks for checking out the library and providing feedback though, I appreciate it!