XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total43,155289,255 us100.0%289,255 us100.0%
main()1289,255 us100.0%64 us0.0%
AphrontApplicationConfiguration::processRequest1282,171 us97.6%66 us0.0%
DiffusionBrowseMainController::processDiffusionRequest1226,495 us78.3%99 us0.0%
DiffusionController::callConduitWithDiffusionRequest2146,139 us50.5%60 us0.0%
DiffusionQuery::callConduitWithDiffusionRequest2145,887 us50.4%155 us0.1%
AphrontController::delegateToController1122,583 us42.4%41 us0.0%
DiffusionController::handleRequest2122,528 us42.4%87 us0.0%
DiffusionBrowseFileController::processDiffusionRequest1119,218 us41.2%173 us0.1%
ConduitCall::execute2106,010 us36.6%42 us0.0%
ConduitCall::executeMethod2105,892 us36.6%104 us0.0%
ConduitAPIMethod::executeMethod2105,331 us36.4%13 us0.0%
DiffusionQueryConduitAPIMethod::execute2105,318 us36.4%89 us0.0%
PhutilSymbolLoader::selectAndLoadSymbols102102,113 us35.3%6,644 us2.3%
ExecFuture::resolvex295,609 us33.1%40 us0.0%
Future::resolve395,586 us33.0%2,767 us1.0%
PhutilSymbolLoader::loadSymbol40794,325 us32.6%4,302 us1.5%
PhutilBootloader::loadLibrarySource40089,702 us31.0%2,090 us0.7%
PhutilBootloader::executeInclude40087,326 us30.2%63,131 us21.8%
PhutilSymbolLoader::loadObjects473,053 us25.3%820 us0.3%
ExecFuture::isReady42967,332 us23.3%6,857 us2.4%
DiffusionBrowseFileController::buildCorpus163,350 us21.9%148 us0.1%
PhabricatorPolicyAwareQuery::execute1159,712 us20.6%567 us0.2%
DiffusionBrowseFileController::buildDisplayRows156,262 us19.5%4,241 us1.5%
DiffusionBrowseQueryConduitAPIMethod::getResult154,151 us18.7%17 us0.0%
DiffusionQueryConduitAPIMethod::getResult154,088 us18.7%18 us0.0%
DiffusionBrowseQueryConduitAPIMethod::getGitResult154,057 us18.7%95 us0.0%
PhabricatorRepository::execxLocalCommand153,907 us18.6%28 us0.0%
DiffusionFileContentQueryConduitAPIMethod::getResult147,144 us16.3%2,766 us1.0%
proc_open243,804 us15.1%43,804 us15.1%
DiffusionFileContentQuery::loadFileContent143,331 us15.0%7 us0.0%
DiffusionFileContentQuery::executeQuery143,324 us15.0%15 us0.0%
DiffusionFileContentQuery::loadFileContentFromFuture142,955 us14.9%47 us0.0%
DiffusionGitFileContentQuery::executeQueryFromFuture142,894 us14.8%42 us0.0%
ConduitAPIMethod::getConduitMethod438,810 us13.4%3,186 us1.1%
PhabricatorPolicyAwareQuery::executeOne535,519 us12.3%50 us0.0%
DiffusionController::willBeginExecution135,218 us12.2%16 us0.0%
PhabricatorController::willBeginExecution134,847 us12.0%288 us0.1%
__phutil_autoload9730,975 us10.7%896 us0.3%
queryfx_all1224,525 us8.5%106 us0.0%
Future::waitForSockets624,453 us8.5%158 us0.1%
stream_select624,272 us8.4%24,272 us8.4%
PhabricatorController::loadViewerHandles124,261 us8.4%42 us0.0%
queryfx1224,125 us8.3%89 us0.0%
PhabricatorHandleQuery::loadPage123,784 us8.2%12 us0.0%
PhabricatorPHIDType::getAllTypes123,771 us8.2%577 us0.2%
DiffusionRequest::newFromCallsign419,380 us6.7%116 us0.0%
PhabricatorPolicyFilter::apply1317,970 us6.2%442 us0.2%
AphrontBaseMySQLDatabaseConnection::executeRawQuery1216,936 us5.9%468 us0.2%
AphrontMySQLiDatabaseConnection::rawQuery1215,973 us5.5%100 us0.0%
DiffusionRequest::newFromAphrontRequestDictionary215,968 us5.5%71 us0.0%
mysqli::query1215,869 us5.5%15,869 us5.5%
PhabricatorRepositoryQuery::loadPage415,727 us5.4%256 us0.1%
PhabricatorPolicyFilter::checkCapability1215,517 us5.4%211 us0.1%
PhabricatorPolicyCapability::getCapabilityByKey1215,083 us5.2%64 us0.0%
PhabricatorPolicyCapability::getCapabilityMap1215,007 us5.2%135 us0.0%
phutil_tag50212,501 us4.3%4,940 us1.7%
DiffusionRequest::generateURI12512,173 us4.2%1,956 us0.7%
DiffusionRequest::generateDiffusionURI12510,191 us3.5%4,312 us1.5%
xsprintf389,081 us3.1%1,017 us0.4%
qsprintf328,945 us3.1%180 us0.1%
xsprintf_query827,758 us2.7%617 us0.2%
PhabricatorAuthSessionEngine::loadUserForSession17,450 us2.6%113 us0.0%
DiffusionRequest::getStableCommit1277,443 us2.6%28 us0.0%
DiffusionRequest::queryStableCommit27,399 us2.6%42 us0.0%
DiffusionRequest::resolveRefs27,222 us2.5%49 us0.0%
AphrontApplicationConfiguration::buildController16,977 us2.4%42 us0.0%
queryfx_one26,881 us2.4%26 us0.0%
DiffusionLowLevelQuery::execute26,773 us2.3%18 us0.0%
DiffusionCachedResolveRefsQuery::executeQuery26,755 us2.3%33 us0.0%
phutil_escape_html1,6326,738 us2.3%5,151 us1.8%
DiffusionCachedResolveRefsQuery::resolveGitAndMercurialRefs26,705 us2.3%113 us0.0%
AphrontMySQLiDatabaseConnection::escapeUTF8String146,654 us2.3%60 us0.0%
AphrontApplicationConfiguration::buildControllerForPath16,636 us2.3%335 us0.1%
AphrontMySQLiDatabaseConnection::escapeBinaryString146,439 us2.2%66 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection386,365 us2.2%34 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection26,331 us2.2%48 us0.0%
AphrontMySQLiDatabaseConnection::connect26,211 us2.1%70 us0.0%
ExecFuture::readAndDiscard8545,828 us2.0%3,933 us1.4%
mysqli::real_connect25,802 us2.0%5,802 us2.0%
PhutilErrorHandler::handleError25,787 us2.0%50 us0.0%
PhutilErrorHandler::dispatchErrorMessage25,563 us1.9%52 us0.0%
PhabricatorSetupCheck::willProcessRequest15,520 us1.9%7 us0.0%
PhabricatorSetupCheck::getOpenSetupIssueKeys15,432 us1.9%10 us0.0%
load::phid/PhabricatorDashboardDashboardPHIDType.php15,253 us1.8%5,253 us1.8%
PhutilErrorHandler::outputStacktrace25,173 us1.8%139 us0.0%
PhabricatorCaches::getSetupCache25,152 us1.8%9 us0.0%
PhutilURI::__construct1324,583 us1.6%2,652 us0.9%
PhabricatorCaches::buildSetupCaches14,382 us1.5%9 us0.0%
run_init::cache/PhutilAPCKeyValueCache.php14,223 us1.5%13 us0.0%
load::conduit/DiffusionBranchQueryConduitAPIMethod.php14,075 us1.4%4,075 us1.4%
DiffusionRequest::newFromDictionary23,850 us1.3%18 us0.0%
PhabricatorSyntaxHighlighter::highlightWithFilename13,582 us1.2%12 us0.0%
javelin_tag1263,522 us1.2%856 us0.3%
newv2883,398 us1.2%824 us0.3%
PhutilErrorHandler::formatStacktrace23,022 us1.0%614 us0.2%
PhutilSyntaxHighlighterEngine::highlightSource12,922 us1.0%7 us0.0%
PhutilDefaultSyntaxHighlighterEngine::getHighlightFuture12,898 us1.0%18 us0.0%
PhutilDivinerSyntaxHighlighter::getHighlightFuture12,662 us0.9%143 us0.0%
DiffusionBrowseFileController::loadLintMessages12,616 us0.9%56 us0.0%
ExecFuture::procGetStatus4272,545 us0.9%1,021 us0.4%