About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:profiling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
development:profiling [2017/05/03 13:18] – created demiankatzdevelopment:profiling [2019/10/30 19:37] emaijala
Line 5: Line 5:
 ===== XHProf / Tideways ===== ===== XHProf / Tideways =====
  
-VuFind comes with built-in support for the [[http://php.net/manual/en/book.xhprof.php|XHProf]] family of profilers. [[https://tideways.io/|Tideways]] is a later evolution of XHProf, and it is supported in VuFind 4.0 and later (and recommended for those versions, since the original does not support recent PHP releases).+VuFind comes with built-in support for the [[http://php.net/manual/en/book.xhprof.php|XHProf]] family of profilers. [[https://github.com/tideways/php-xhprof-extension|Tideways XHProf Extension]] is a later evolution of XHProf, and it is supported in VuFind 4.0 and later (and recommended for those versions, since the original does not support recent PHP releases). VuFind 6.1 and later only support the Tideways extension.
  
 To use one of these profilers: To use one of these profilers:
  
   - Install the necessary PHP extension ("pecl install xhprof-beta" for XHProf, or follow the compilation instructions on the Tideways site for that product).   - Install the necessary PHP extension ("pecl install xhprof-beta" for XHProf, or follow the compilation instructions on the Tideways site for that product).
-  - Install the [[https://github.com/phacility/xhprof|XHProf code from GitHub]] and make sure that xhprof_html is symlinked to somewhere in your web root, while xhprof_lib is symlinked somewhere on PHP's search path. (Note that Tideways uses the XHProf user interface, so this step is the same for both products).+  - Install the [[https://github.com/phacility/xhprof|XHProf code from GitHub]] and make sure that xhprof_html is symlinked to somewhere in your web root, while xhprof_lib is symlinked somewhere on PHP's search path. (Note that Tideways uses the XHProf user interface, so this step is the same for both products). :!: Starting with VuFind 4.0, the putting xhprof_lib on the search path is no longer necessary.
   - Uncomment the VUFIND_PROFILER_XHPROF setting in your $VUFIND_LOCAL_DIR/httpd-vufind.conf file, changing the value to the URL where you have set up the xhprof_html directory.   - Uncomment the VUFIND_PROFILER_XHPROF setting in your $VUFIND_LOCAL_DIR/httpd-vufind.conf file, changing the value to the URL where you have set up the xhprof_html directory.
   - Restart Apache.   - Restart Apache.
development/profiling.txt · Last modified: 2023/11/27 18:55 by demiankatz