The Tideways PHP Extension is a well-maintained fork of the XHProf code and works with either the XHProf or Tideways module to profile page views.

To use Tideways make sure tideways is in the list of installed_extras.

Note: You should only enable one code profiler at a time—e.g. when using Blackfire, disable XHProf, Tideways and XDebug.

Profiling with the XHProf Module

To enable profiling of Drupal pages using the Tideways PHP Extension, follow the directions for configuring the XHProf and the XHProf module, but choose the Tideways extension under the Profiling settings section.

As with the XHProf extension, you can view callgraphs (and a listing of all stored runs) using Drupal VM's own XHProf UI installation by visiting http://xhprof.drupalvm.dev/ and clicking on the relevant run, then clicking the [View Full Callgraph] link.

Profiling with the Tideways module

Instructions for profiling with the Tideways module through the tideways.io service will be added after the following issue is resolved: Can't install latest dev release on 8.x.

For a list of available role variables, see the geerlingguy.php-tideways Ansible role's README.