XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total172,5951,343,143 us100.0%1,343,143 us100.0%
main()11,343,143 us100.0%77 us0.0%
AphrontApplicationConfiguration::processRequest11,340,423 us99.8%85 us0.0%
AphrontController::handleRequest11,257,400 us93.6%13 us0.0%
PhabricatorNotificationPanelController::processRequest11,257,386 us93.6%1,269 us0.1%
PhabricatorPolicyAwareQuery::execute991,256,440 us93.5%6,994 us0.5%
PhabricatorNotificationQuery::loadPage11,230,856 us91.6%114 us0.0%
PhabricatorFeedStory::loadAllFromRows11,182,055 us88.0%1,594 us0.1%
PhabricatorApplicationTransactionTransactionPHIDType::loadObjects2802,379 us59.7%1,166 us0.1%
PhabricatorHandleQuery::loadPage7606,615 us45.2%6,090 us0.5%
PhabricatorPHIDType::loadObjects33577,872 us43.0%626 us0.0%
PhabricatorApplicationTransactionQuery::willFilterPage8527,322 us39.3%1,225 us0.1%
PhabricatorObjectQuery::loadPage18395,342 us29.4%567 us0.0%
PhabricatorObjectQuery::loadObjectsByPHID18394,652 us29.4%4,245 us0.3%
iterator_to_array11373,903 us27.8%2,131 us0.2%
PhabricatorHandleList::current436355,657 us26.5%666 us0.0%
PhabricatorHandleList::getHandle436354,991 us26.4%107 us0.0%
PhabricatorHandleList::loadHandles11354,884 us26.4%47 us0.0%
PhabricatorHandlePool::loadPHIDs11354,837 us26.4%535 us0.0%
queryfx_all89293,300 us21.8%635 us0.0%
queryfx89286,941 us21.4%639 us0.0%
PhutilSymbolLoader::selectAndLoadSymbols294266,080 us19.8%13,240 us1.0%
AphrontBaseMySQLDatabaseConnection::executeRawQuery89257,576 us19.2%3,607 us0.3%
PhutilSymbolLoader::loadSymbol670247,445 us18.4%6,081 us0.5%
AphrontMySQLiDatabaseConnection::rawQuery89242,529 us18.1%714 us0.1%
mysqli::query89241,792 us18.0%241,792 us18.0%
PhutilBootloader::loadLibrarySource547241,001 us17.9%28,611 us2.1%
PhutilBootloader::executeInclude547237,973 us17.7%122,248 us9.1%
qsprintf472204,832 us15.3%7,062 us0.5%
xsprintf472197,170 us14.7%16,387 us1.2%
PhabricatorPolicyFilter::apply126182,832 us13.6%22,099 us1.6%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows27177,808 us13.2%736 us0.1%
xsprintf_query1,028168,860 us12.6%9,335 us0.7%
PhutilSymbolLoader::loadObjects31161,020 us12.0%1,047 us0.1%
PhabricatorApplicationTransactionQuery::loadPage8149,172 us11.1%785 us0.1%
AphrontMySQLiDatabaseConnection::escapeUTF8String758147,373 us11.0%2,254 us0.2%
__phutil_autoload262146,733 us10.9%18,361 us1.4%
AphrontBaseMySQLDatabaseConnection::requireConnection936133,532 us9.9%263 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection12133,269 us9.9%327 us0.0%
AphrontMySQLiDatabaseConnection::escapeBinaryString758132,683 us9.9%1,932 us0.1%
AphrontMySQLiDatabaseConnection::connect12132,536 us9.9%444 us0.0%
mysqli::real_connect12127,847 us9.5%127,847 us9.5%
PhabricatorPolicyFilter::checkCapability1,03894,718 us7.1%19,146 us1.4%
ManiphestTaskQuery::loadPage1094,704 us7.1%642 us0.0%
PhabricatorRepositoryQuery::loadPage1379,717 us5.9%142 us0.0%
PhabricatorController::willBeginExecution179,466 us5.9%252 us0.0%
PhabricatorMarkupEngine::process173,523 us5.5%158 us0.0%
DifferentialRevisionQuery::loadPage767,262 us5.0%188 us0.0%
LiskDAO::loadAllFromArray8161,390 us4.6%7,520 us0.6%
PhabricatorPHIDType::getAllTypes4558,682 us4.4%942 us0.1%
DifferentialRevisionQuery::loadData758,296 us4.3%130 us0.0%
DifferentialRevisionQuery::willFilterPage757,901 us4.3%1,021 us0.1%
PhabricatorCustomField::getObjectFields757,701 us4.3%652 us0.0%
PhabricatorPeopleQuery::loadPage855,881 us4.2%192 us0.0%
LiskDAO::loadFromArray58054,682 us4.1%20,916 us1.6%
PhabricatorCustomField::buildFieldList553,318 us4.0%1,218 us0.1%
LiskDAO::__call6,12651,659 us3.8%8,491 us0.6%
PhabricatorPolicyCapability::getCapabilityByKey1,03351,195 us3.8%12,972 us1.0%
PhabricatorApplicationTransactionQuery::buildWhereClause849,957 us3.7%146 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildWhereClause2744,585 us3.3%169 us0.0%
LiskDAO::call6,12643,168 us3.2%29,836 us2.2%
PhabricatorApplicationTransaction::getRequiredHandlePHIDs7842,639 us3.2%1,394 us0.1%
PhabricatorFeedStory::newMarkupEngine741,621 us3.1%20 us0.0%
PhabricatorMarkupEngine::newMarkupEngine741,601 us3.1%1,617 us0.1%
PhabricatorProjectQuery::didFilterPage338,416 us2.9%123 us0.0%
DiffusionCommitQuery::loadPage637,160 us2.8%216 us0.0%
PhabricatorFileQuery::loadPage236,825 us2.7%273 us0.0%
PhabricatorPeopleQuery::didFilterPage835,254 us2.6%919 us0.1%
DifferentialTransaction::getRequiredHandlePHIDs4235,232 us2.6%416 us0.0%
DifferentialRevisionQuery::buildSelectStatement734,402 us2.6%229 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage334,339 us2.6%26 us0.0%
PhabricatorPolicyCapability::getCapabilityMap1,03333,867 us2.5%12,500 us0.9%
LiskDAO::establishConnection9933,408 us2.5%1,142 us0.1%
PhabricatorUser::getProfileImageCache12632,855 us2.4%625 us0.0%
PhabricatorApplicationTransactionCommentQuery::loadPage432,775 us2.4%116 us0.0%
PhabricatorApplicationTransaction::getTransactionCustomField432,236 us2.4%83 us0.0%
PhabricatorUser::getProfileImageVersion12632,094 us2.4%1,584 us0.1%
PhabricatorCustomField::getObjectField432,082 us2.4%44 us0.0%
PhabricatorPolicyFilter::getObjectPolicy2,07632,026 us2.4%4,341 us0.3%
DiffusionCommitQuery::willFilterPage631,548 us2.3%739 us0.1%
PhabricatorPolicyFilter::applyExtendedPolicyChecks730,704 us2.3%465 us0.0%
PhabricatorAuthSessionEngine::loadUserForSession130,606 us2.3%128 us0.0%
PhabricatorPolicyFilter::executeExtendedPolicyChecks730,238 us2.3%5,860 us0.4%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns21929,837 us2.2%1,484 us0.1%
PhutilRemarkupEngine::postprocessText727,552 us2.1%666 us0.0%
PhabricatorPeopleUserPHIDType::loadHandles527,089 us2.0%2,425 us0.2%
run_init::storage/PhabricatorFeedStoryData.php126,226 us2.0%47 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildPagingClause6524,373 us1.8%418 us0.0%
newv43623,870 us1.8%1,494 us0.1%
PhabricatorEnv::getEnvConfig2,86323,698 us1.8%22,349 us1.7%
PhabricatorPolicyAwareQuery::executeOne123,226 us1.7%11 us0.0%
PhabricatorFileQuery::buildWhereClauseParts222,831 us1.7%24 us0.0%
DifferentialRevision::getExtendedPolicy16022,710 us1.7%5,464 us0.4%
PhabricatorProjectQuery::loadPage322,433 us1.7%98 us0.0%
PhutilRemarkupEngine::setBlockRules722,327 us1.7%5,516 us0.4%
PhabricatorLiskDAO::willReadData58022,263 us1.7%2,650 us0.2%
DifferentialJIRAIssuesField::isFieldEnabled221,609 us1.6%11 us0.0%
PhabricatorLiskDAO::establishLiveConnection1221,356 us1.6%319 us0.0%
ReflectionClass::newInstance39721,013 us1.6%21,013 us1.6%
PhabricatorNotificationBuilder::buildView121,001 us1.6%188 us0.0%
ManiphestTaskQuery::getOrderableColumns4020,804 us1.5%380 us0.0%