/SugarTidewaysProfiling

Sugar Tideways Profiling driver for both Tideways API versions

Primary LanguagePHPApache License 2.0Apache-2.0

SugarTidewaysProfiling

Installation

  • Clone this repository and enter the cloned directory
  • Retrieve the Sugar Module Packager dependency by running: composer install
  • Generate the installable .zip Sugar module with: ./vendor/bin/package 0.1
  • Install the generated module into the instance
  • Configure the instance with the following settings:
$sugar_config['xhprof_config']['enable'] = true;
$sugar_config['xhprof_config']['manager'] = 'SugarTidewaysProf';
$sugar_config['xhprof_config']['log_to'] = '../profiling'; // configure path to a writable directory
$sugar_config['xhprof_config']['sample_rate'] = 1;
$sugar_config['xhprof_config']['flags'] = 0;