// start profiling include_once "C:/Users/Nicole/Version Control/Git/localhost/xhprof/xhprof_lib/utils/xhprof_lib.php"; include_once "C:/Users/Nicole/Version Control/Git/localhost/xhprof/xhprof_lib/utils/xhprof_runs.php"; xhprof_enable(); // stop profiler $appName = 'XXX'; $xhProfData = xhprof_disable(); $xhProfRuns = new XHProfRuns_Default(); $runId = $xhProfRuns->save_run($xhProfData, $appName); $xhProfUrl = sprintf('http://xhprof.local/index.php?run=%s&source=%s', $runId, $appName); echo 'Profiler output';