Update Phabricator to new PhutilServiceProfiler APIs

Summary:
Get rid of the Phabricator-level DarkConsole-specific API and use the more
general Phutil-level one.

Test Plan:
Loaded DarkConsole services plugin, viewed Diffusion, got execs in the trace.

Reviewed By: aran
Reviewers: aran, jungejason, tuomaspelkonen
CC: aran
Differential Revision: 293
This commit is contained in:
epriestley
2011-05-16 16:18:33 -07:00
parent a69f217f98
commit 417ca39703
10 changed files with 57 additions and 103 deletions

View File

@@ -76,8 +76,6 @@ if (isset($argv[2]) && $argv[2] == '--herald') {
$workers[] = new PhabricatorRepositoryCommitHeraldWorker($spec);
}
ExecFuture::pushEchoMode(true);
foreach ($workers as $worker) {
echo "Running ".get_class($worker)."...\n";
$worker->doWork();