z, ? | toggle help (this) |
space, → | next slide |
shift-space, ← | previous slide |
d | toggle debug mode |
## <ret> | go to slide # |
c, t | table of contents (vi) |
f | toggle footer |
r | reload slides |
n | toggle notes |
p | run preshow |
Presented by: Mark Sonnabaum
http://msonnabaum.github.com/xhprof-presentation
https://github.com/facebook/xhprof http://pecl.php.net/package/xhprof
pear upgrade PEAR
pecl install xhprof-0.9.2
https://gist.github.com/1306569
http://www.lullabot.com/articles/installing-xhprof-mamp-on-mac-os-106-snow-leopard
https://github.com/msonnabaum/megalodon/blob/master/formulas/xhprof.rb
brew install xhprof
wget http://pecl.php.net/get/xhprof-0.9.2.tgz
tar -xzf xhprof-0.9.2.tgz && cd xhprof-0.9.2
phpize
make
cp modules/xhprof.so $(php-config --extension-dir)/
;zend_extension=/usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so
$conf['devel_xhprof_enabled'] = 1;
$conf['devel_xhprof_directory'] = '/Users/msonnabaum/www/xhprof';
$conf['devel_xhprof_url'] = 'http://localhost/xhprof/xhprof_html';
$conf['xhprof_enabled'] = 1;
main()
load::node/node.module
run_init::node/node.module
drupal_render
↳ drupal_render@1
↳ drupal_render@2
↳ drupal_render@3
↳ drupal_render@4
↳ drupal_render@5
@ shows recursion depth.
http://xhprof-pres.dev/events - unpack_options
native drupal xhprof ui .notes - http://d7.dev/admin/reports/xhprof .notes - http://d7.dev/admin/reports/xhprof/diff/4e99c0c276515/4e99c0bf949a8
XHProflib - https://github.com/msonnabaum/XHProfLib