XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total151,0573,595,697 us100.0%3,595,697 us100.0%
main()13,595,697 us100.0%70 us0.0%
AphrontApplicationConfiguration::processRequest13,540,892 us98.5%91 us0.0%
AphrontController::handleRequest13,275,227 us91.1%10 us0.0%
PhabricatorNotificationPanelController::processRequest13,275,216 us91.1%1,102 us0.0%
PhabricatorPolicyAwareQuery::execute753,272,096 us91.0%13,539 us0.4%
PhabricatorNotificationQuery::loadPage13,144,622 us87.5%116 us0.0%
PhabricatorFeedStory::loadAllFromRows13,097,613 us86.1%1,440 us0.0%
PhabricatorApplicationTransactionTransactionPHIDType::loadObjects21,986,925 us55.3%1,021 us0.0%
PhabricatorHandleQuery::loadPage51,471,721 us40.9%34,687 us1.0%
PhabricatorApplicationTransactionQuery::willFilterPage41,401,614 us39.0%1,005 us0.0%
PhabricatorPHIDType::loadObjects251,364,119 us37.9%615 us0.0%
PhutilSymbolLoader::selectAndLoadSymbols2931,176,426 us32.7%102,046 us2.8%
PhutilSymbolLoader::loadSymbol6651,072,787 us29.8%106,858 us3.0%
iterator_to_array7956,278 us26.6%1,545 us0.0%
PhabricatorHandleList::current321954,703 us26.6%16,943 us0.5%
PhabricatorObjectQuery::loadPage11942,214 us26.2%510 us0.0%
PhabricatorObjectQuery::loadObjectsByPHID11941,680 us26.2%21,555 us0.6%
PhabricatorHandleList::getHandle321937,760 us26.1%73 us0.0%
PhabricatorHandleList::loadHandles7937,687 us26.1%31 us0.0%
PhabricatorHandlePool::loadPHIDs7937,656 us26.1%444 us0.0%
PhutilBootloader::loadLibrarySource542921,458 us25.6%78,946 us2.2%
PhutilBootloader::executeInclude542842,228 us23.4%418,032 us11.6%
queryfx_all62800,562 us22.3%583 us0.0%
queryfx62794,580 us22.1%558 us0.0%
AphrontBaseMySQLDatabaseConnection::executeRawQuery62728,130 us20.3%3,291 us0.1%
__phutil_autoload257649,439 us18.1%2,496 us0.1%
AphrontMySQLiDatabaseConnection::rawQuery62637,402 us17.7%576 us0.0%
mysqli::query62636,802 us17.7%636,802 us17.7%
PhutilSymbolLoader::loadObjects35533,606 us14.8%1,175 us0.0%
PhabricatorPolicyFilter::apply107459,044 us12.8%74,995 us2.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows21456,339 us12.7%712 us0.0%
ManiphestTaskQuery::loadPage10390,643 us10.9%724 us0.0%
PhabricatorMarkupEngine::process1375,803 us10.5%270 us0.0%
PhabricatorCustomField::getObjectFields7369,113 us10.3%855 us0.0%
qsprintf368326,094 us9.1%7,544 us0.2%
xsprintf368317,988 us8.8%8,111 us0.2%
xsprintf_query806292,260 us8.1%35,458 us1.0%
PhabricatorCustomField::buildFieldList5279,776 us7.8%1,314 us0.0%
DifferentialRevisionQuery::loadPage7277,300 us7.7%232 us0.0%
PhabricatorApplicationTransaction::getRequiredHandlePHIDs72265,680 us7.4%1,233 us0.0%
DifferentialTransaction::getRequiredHandlePHIDs45251,898 us7.0%358 us0.0%
AphrontMySQLiDatabaseConnection::escapeUTF8String679250,072 us7.0%70,151 us2.0%
PhabricatorApplicationTransaction::getTransactionCustomField4248,442 us6.9%82 us0.0%
PhabricatorCustomField::getObjectField4248,280 us6.9%59 us0.0%
DifferentialRevisionQuery::loadData7247,414 us6.9%136 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection803238,091 us6.6%240 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection10237,851 us6.6%295 us0.0%
AphrontMySQLiDatabaseConnection::connect10237,183 us6.6%423 us0.0%
PhabricatorApplicationTransactionQuery::loadPage4233,540 us6.5%822 us0.0%
PhabricatorController::willBeginExecution1225,972 us6.3%302 us0.0%
mysqli::real_connect10220,702 us6.1%220,702 us6.1%
PhabricatorFeedStory::newMarkupEngine9216,876 us6.0%32 us0.0%
PhabricatorMarkupEngine::newMarkupEngine9216,844 us6.0%2,245 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClauseParts38210,496 us5.9%267 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildApplicationSearchJoinClause38209,478 us5.8%59,836 us1.7%
PhabricatorPolicyFilter::checkCapability864197,938 us5.5%25,965 us0.7%
DifferentialRevisionQuery::willFilterPage7195,406 us5.4%1,114 us0.0%
AphrontMySQLiDatabaseConnection::escapeBinaryString679175,847 us4.9%1,821 us0.1%
PhabricatorRepositoryQuery::loadPage10174,215 us4.8%122 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildWhereClauseParts38171,084 us4.8%367 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildSpacesWhereClause38166,077 us4.6%589 us0.0%
PhabricatorPHIDType::getAllTypes32157,461 us4.4%20,880 us0.6%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns162156,412 us4.3%1,234 us0.0%
PhutilRemarkupEngine::postprocessText9145,298 us4.0%1,037 us0.0%
mpull229141,489 us3.9%54,835 us1.5%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClause31138,396 us3.8%209 us0.0%
PhabricatorPeopleQuery::loadPage7132,309 us3.7%136 us0.0%
PhabricatorApplicationTransactionCommentQuery::loadPage4128,076 us3.6%135 us0.0%
PhutilRemarkupEngine::setBlockRules9125,620 us3.5%24,137 us0.7%
PhabricatorPolicyCapability::getCapabilityByKey854120,175 us3.3%13,871 us0.4%
DifferentialJIRAIssuesField::isFieldEnabled2110,199 us3.1%25 us0.0%
PhabricatorProjectQuery::loadPage2109,795 us3.1%79 us0.0%
PhabricatorJIRAAuthProvider::getJIRAProvider2109,280 us3.0%18 us0.0%
PhabricatorAuthProvider::getAllEnabledProviders2109,262 us3.0%51 us0.0%
PhabricatorAuthProvider::getAllProviders2109,043 us3.0%172 us0.0%
PhabricatorObjectRemarkupRule::didMarkupText180108,663 us3.0%1,099 us0.0%
PhabricatorNotificationBuilder::buildView1108,538 us3.0%200 us0.0%
LiskDAO::__call5,258106,698 us3.0%60,021 us1.7%
PhabricatorPolicyCapability::getCapabilityMap854106,091 us3.0%21,560 us0.6%
PhabricatorApplicationTransactionFeedStory::renderView12106,081 us3.0%967 us0.0%
PhabricatorPolicyFilter::hasCapability3695,865 us2.7%483 us0.0%
PhabricatorSpacesNamespaceQuery::getViewerSpaces1091,947 us2.6%129 us0.0%
DifferentialRevisionQuery::buildSelectStatement789,973 us2.5%220 us0.0%
PhutilRemarkupBlockRule::setEngine10886,987 us2.4%197 us0.0%
PhutilRemarkupBlockRule::updateRules21686,923 us2.4%37,104 us1.0%
PhabricatorPolicyAwareQuery::executeOne186,528 us2.4%12 us0.0%
DifferentialRevisionQuery::buildJoinsClause781,150 us2.3%73 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildOrderClause5278,100 us2.2%1,445 us0.0%
PhabricatorPeopleQuery::buildJoinClauseParts768,816 us1.9%33 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildWhereClause2167,895 us1.9%151 us0.0%
PhabricatorProjectQuery::buildJoinClauseParts266,736 us1.9%51 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderVector15865,930 us1.8%605 us0.0%
DiffusionCommitQuery::loadPage363,375 us1.8%151 us0.0%
DifferentialRevision::getRepositoryPHID47762,311 us1.7%60,696 us1.7%
PhabricatorPeopleQuery::getOrderableColumns2860,638 us1.7%115 us0.0%
PhutilTypeSpec::checkMap560,583 us1.7%101 us0.0%
PhutilTypeSpec::newFromString560,477 us1.7%93 us0.0%
run_init::query/PhabricatorDashboardPanelTransactionQuery.php160,118 us1.7%60,118 us1.7%
PhutilTypeSpec::parseTokens559,330 us1.7%28,324 us0.8%
PhabricatorProjectQuery::getOrderableColumns858,640 us1.6%78 us0.0%