diff --git a/src/aphront/console/plugin/DarkConsoleXHProfPlugin.php b/src/aphront/console/plugin/DarkConsoleXHProfPlugin.php index 19ea23f93e..e2a03d7804 100644 --- a/src/aphront/console/plugin/DarkConsoleXHProfPlugin.php +++ b/src/aphront/console/plugin/DarkConsoleXHProfPlugin.php @@ -110,51 +110,3 @@ final class DarkConsoleXHProfPlugin extends DarkConsolePlugin { } } -/* - - public function render() { - $run = $this->getData(); - - if ($run) { - $uri = 'http://www.intern.facebook.com/intern/phprof/?run='.$run; - return - - XHProf Results - - Permalink - - - ; - } - - $uri = URI::getRequestURI(); - return - - XHProf - - - Enable Profiling - Profiling was not enabled for this request. Click the button - below to rerun the request with profiling enabled. - - Profile Page (With Includes) - - - Profile Page (No Includes) - - - - ; - } - - public function didShutdown() { - if ($this->xhprofData) { - require_module_lazy('profiling/phprof'); - $this->xhprofID = phprof_save_run($this->xhprofData); - } - } - -} -*/
Profiling was not enabled for this request. Click the button - below to rerun the request with profiling enabled.