XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total73,237521,166 us100.0%521,166 us100.0%
main()1521,166 us100.0%72 us0.0%
AphrontApplicationConfiguration::processRequest1517,990 us99.4%47 us0.0%
DiffusionBrowseMainController::processDiffusionRequest1465,508 us89.3%95 us0.0%
AphrontController::delegateToController1318,596 us61.1%31 us0.0%
DiffusionController::handleRequest2318,551 us61.1%78 us0.0%
DiffusionBrowseFileController::processDiffusionRequest1313,701 us60.2%172 us0.0%
DiffusionController::callConduitWithDiffusionRequest2203,068 us39.0%57 us0.0%
DiffusionQuery::callConduitWithDiffusionRequest2202,830 us38.9%173 us0.0%
ConduitCall::execute2155,615 us29.9%57 us0.0%
ConduitCall::executeMethod2155,476 us29.8%77 us0.0%
ConduitAPIMethod::executeMethod2155,005 us29.7%18 us0.0%
DiffusionQueryConduitAPIMethod::execute2154,987 us29.7%95 us0.0%
ExecFuture::resolvex2142,441 us27.3%26 us0.0%
Future::resolve3142,438 us27.3%2,823 us0.5%
PhabricatorPolicyAwareQuery::execute32139,764 us26.8%1,784 us0.3%
PhabricatorController::buildApplicationPage1121,286 us23.3%100 us0.0%
PhabricatorController::buildPageResponse1119,896 us23.0%25 us0.0%
AphrontPageView::render1119,241 us22.9%41 us0.0%
phutil_tag1,001114,398 us22.0%15,379 us3.0%
PhutilSymbolLoader::selectAndLoadSymbols171107,499 us20.6%10,675 us2.0%
PhabricatorStandardPageView::willRenderPage1106,930 us20.5%136 us0.0%
DiffusionBrowseFileController::buildCorpus1102,358 us19.6%209 us0.0%
PhutilSymbolLoader::loadSymbol47695,794 us18.4%14,712 us2.8%
ExecFuture::isReady39793,129 us17.9%6,518 us1.3%
DiffusionBrowseQueryConduitAPIMethod::getResult192,960 us17.8%21 us0.0%
DiffusionQueryConduitAPIMethod::getResult192,890 us17.8%27 us0.0%
DiffusionBrowseFileController::buildDisplayRows192,882 us17.8%5,465 us1.0%
DiffusionBrowseQueryConduitAPIMethod::getGitResult192,850 us17.8%60 us0.0%
PhabricatorRepository::execxLocalCommand192,750 us17.8%29 us0.0%
phutil_escape_html3,56988,288 us16.9%25,168 us4.8%
PhutilBootloader::loadLibrarySource46980,808 us15.5%2,442 us0.5%
PhutilBootloader::executeInclude46977,990 us15.0%58,330 us11.2%
javelin_tag24973,452 us14.1%1,544 us0.3%
PhutilSymbolLoader::loadObjects470,825 us13.6%588 us0.1%
AphrontTagView::render6570,533 us13.5%1,591 us0.3%
phutil_implode_html459,984 us11.5%45 us0.0%
PhabricatorBarePageView::willRenderPage159,890 us11.5%16 us0.0%
AphrontSideNavFilterView::render159,815 us11.5%15 us0.0%
AphrontSideNavFilterView::renderFlexNav159,776 us11.5%50 us0.0%
proc_open257,219 us11.0%57,219 us11.0%
PhabricatorHandleQuery::loadPage256,960 us10.9%116 us0.0%
DiffusionFileContentQueryConduitAPIMethod::getResult155,983 us10.7%75 us0.0%
DiffusionFileContentQuery::loadFileContent154,868 us10.5%2,657 us0.5%
DiffusionFileContentQuery::executeQuery152,211 us10.0%14 us0.0%
DiffusionFileContentQuery::loadFileContentFromFuture151,831 us9.9%47 us0.0%
DiffusionGitFileContentQuery::executeQueryFromFuture151,768 us9.9%30 us0.0%
PHUIHeaderView::render249,873 us9.6%96 us0.0%
ConduitAPIMethod::getConduitMethod446,129 us8.9%582 us0.1%
PhabricatorMainMenuView::render145,710 us8.8%94 us0.0%
Future::waitForSockets645,237 us8.7%281 us0.1%
stream_select644,933 us8.6%44,933 us8.6%
AphrontBaseMySQLDatabaseConnection::requireConnection9244,709 us8.6%95 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection844,614 us8.6%193 us0.0%
PHUIHeaderView::renderPolicyProperty144,536 us8.5%44 us0.0%
AphrontMySQLiDatabaseConnection::connect844,148 us8.5%283 us0.1%
PhabricatorPolicyQuery::loadPolicies144,146 us8.5%43 us0.0%
qsprintf10044,054 us8.5%561 us0.1%
xsprintf10743,669 us8.4%2,317 us0.4%
PhabricatorPolicyAwareQuery::executeOne643,649 us8.4%71 us0.0%
PhabricatorPolicyQuery::loadPage143,448 us8.3%68 us0.0%
queryfx_all2740,903 us7.8%210 us0.0%
xsprintf_query21640,776 us7.8%1,659 us0.3%
queryfx2740,138 us7.7%197 us0.0%
__phutil_autoload16638,881 us7.5%1,537 us0.3%
AphrontMySQLiDatabaseConnection::escapeUTF8String3837,858 us7.3%155 us0.0%
PhabricatorPolicyFilter::apply4137,550 us7.2%2,766 us0.5%
mysqli::real_connect837,391 us7.2%37,391 us7.2%
AphrontMySQLiDatabaseConnection::escapeBinaryString3837,300 us7.2%158 us0.0%
DiffusionController::willBeginExecution134,149 us6.6%16 us0.0%
PhabricatorController::willBeginExecution133,784 us6.5%2,485 us0.5%
PhabricatorPHIDType::loadObjects132,282 us6.2%30 us0.0%
AphrontBaseMySQLDatabaseConnection::executeRawQuery2730,140 us5.8%978 us0.2%
DiffusionRequest::newFromCallsign425,506 us4.9%121 us0.0%
DiffusionRequest::generateURI13625,402 us4.9%2,151 us0.4%
DiffusionRequest::generateDiffusionURI13623,197 us4.5%4,635 us0.9%
PhabricatorMainMenuView::renderNotificationMenu122,536 us4.3%394 us0.1%
PhabricatorRepositoryQuery::loadPage421,816 us4.2%210 us0.0%
PhabricatorProjectQuery::didFilterPage121,424 us4.1%73 us0.0%
AphrontMySQLiDatabaseConnection::rawQuery2720,495 us3.9%210 us0.0%
mysqli::query2720,274 us3.9%20,274 us3.9%
PhabricatorFileQuery::loadPage120,107 us3.9%198 us0.0%
DiffusionRequest::newFromAphrontRequestDictionary219,983 us3.8%70 us0.0%
PhabricatorHomeApplication::loadAllQuickCreateItems219,713 us3.8%341 us0.1%
PhabricatorPolicyFilter::checkCapability16317,268 us3.3%1,894 us0.4%
DiffusionBrowseController::buildOpenRevisions117,042 us3.3%121 us0.0%
PhabricatorController::loadViewerHandles116,043 us3.1%55 us0.0%
PhabricatorPHIDType::getAllTypes515,639 us3.0%502 us0.1%
DifferentialRevisionQuery::loadPage115,106 us2.9%15 us0.0%
PhutilErrorHandler::handleError214,971 us2.9%51 us0.0%
DifferentialRevisionQuery::loadData114,880 us2.9%33 us0.0%
PhutilErrorHandler::dispatchErrorMessage214,753 us2.8%58 us0.0%
PhabricatorMainMenuView::renderApplicationMenu113,222 us2.5%191 us0.0%
PhabricatorHomeApplication::buildMainMenuExtraNodes112,508 us2.4%37 us0.0%
PhabricatorPolicyCapability::getCapabilityByKey15612,306 us2.4%663 us0.1%
PhabricatorProjectQuery::loadPage312,081 us2.3%133 us0.0%
PhabricatorPolicyCapability::getCapabilityMap15611,574 us2.2%807 us0.2%
error_log4211,426 us2.2%11,426 us2.2%
Javelin::initBehavior14810,970 us2.1%585 us0.1%
PhabricatorFileQuery::buildWhereClause110,894 us2.1%27 us0.0%
PhabricatorRepositoryQuery::buildWhereClause410,843 us2.1%71 us0.0%