XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total134,6322,640,861 us100.0%2,640,861 us100.0%
main()12,640,861 us100.0%74 us0.0%
AphrontApplicationConfiguration::processRequest12,614,819 us99.0%96 us0.0%
AphrontController::handleRequest12,437,155 us92.3%12 us0.0%
PhabricatorNotificationPanelController::processRequest12,437,142 us92.3%1,053 us0.0%
PhabricatorPolicyAwareQuery::execute812,381,277 us90.2%15,297 us0.6%
PhabricatorNotificationQuery::loadPage12,294,197 us86.9%106 us0.0%
PhabricatorFeedStory::loadAllFromRows12,259,740 us85.6%1,241 us0.0%
PhabricatorApplicationTransactionTransactionPHIDType::loadObjects21,354,081 us51.3%1,175 us0.0%
PhabricatorHandleQuery::loadPage61,192,910 us45.2%21,370 us0.8%
PhabricatorPHIDType::loadObjects291,137,636 us43.1%655 us0.0%
PhabricatorApplicationTransactionQuery::willFilterPage7930,426 us35.2%873 us0.0%
iterator_to_array8729,237 us27.6%1,876 us0.1%
PhabricatorHandleList::current383727,332 us27.5%581 us0.0%
PhabricatorHandleList::getHandle383726,751 us27.5%76 us0.0%
PhabricatorHandleList::loadHandles8726,675 us27.5%46 us0.0%
PhabricatorHandlePool::loadPHIDs8726,629 us27.5%535 us0.0%
PhabricatorObjectQuery::loadPage16713,831 us27.0%547 us0.0%
PhabricatorObjectQuery::loadObjectsByPHID16713,179 us27.0%1,731 us0.1%
PhutilSymbolLoader::selectAndLoadSymbols268574,066 us21.7%99,178 us3.8%
queryfx_all72571,431 us21.6%603 us0.0%
queryfx72561,606 us21.3%585 us0.0%
AphrontBaseMySQLDatabaseConnection::executeRawQuery72510,782 us19.3%3,142 us0.1%
PhutilSymbolLoader::loadSymbol569473,614 us17.9%29,948 us1.1%
AphrontMySQLiDatabaseConnection::rawQuery72462,891 us17.5%621 us0.0%
mysqli::query72462,237 us17.5%462,237 us17.5%
PhutilBootloader::loadLibrarySource513443,324 us16.8%19,335 us0.7%
PhutilBootloader::executeInclude513423,755 us16.0%213,998 us8.1%
PhabricatorPolicyFilter::apply104416,322 us15.8%53,135 us2.0%
__phutil_autoload247361,444 us13.7%2,320 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows21315,487 us11.9%673 us0.0%
qsprintf356300,367 us11.4%2,212 us0.1%
xsprintf356297,681 us11.3%32,530 us1.2%
xsprintf_query785263,651 us10.0%32,110 us1.2%
PhutilSymbolLoader::loadObjects20262,552 us9.9%841 us0.0%
PhabricatorMarkupEngine::process1233,980 us8.9%116 us0.0%
PhabricatorApplicationTransactionQuery::loadPage7233,147 us8.8%683 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection814228,505 us8.7%16,308 us0.6%
AphrontMySQLiDatabaseConnection::escapeUTF8String670220,899 us8.4%8,958 us0.3%
ManiphestTaskQuery::loadPage8218,862 us8.3%553 us0.0%
PhabricatorPolicyFilter::checkCapability888218,459 us8.3%60,778 us2.3%
AphrontBaseMySQLDatabaseConnection::establishConnection11212,197 us8.0%311 us0.0%
AphrontMySQLiDatabaseConnection::connect11211,474 us8.0%452 us0.0%
mysqli::real_connect11208,177 us7.9%208,177 us7.9%
AphrontMySQLiDatabaseConnection::escapeBinaryString670205,243 us7.8%1,784 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildWhereClauseParts32158,135 us6.0%308 us0.0%
PhabricatorController::willBeginExecution1148,539 us5.6%285 us0.0%
PhabricatorFeedStory::newMarkupEngine3132,988 us5.0%13 us0.0%
PhabricatorMarkupEngine::newMarkupEngine3132,975 us5.0%13,026 us0.5%
PhabricatorNotificationBuilder::buildView1130,885 us5.0%149 us0.0%
PhabricatorPeopleQuery::loadPage6121,196 us4.6%176 us0.0%
LiskDAO::__call4,986115,622 us4.4%5,426 us0.2%
PhabricatorPolicyCapability::getCapabilityByKey883111,705 us4.2%31,225 us1.2%
DifferentialRevisionQuery::willFilterPage3110,938 us4.2%850 us0.0%
LiskDAO::call4,986110,196 us4.2%62,782 us2.4%
DifferentialRevisionQuery::loadPage3108,303 us4.1%143 us0.0%
PhabricatorRepositoryQuery::loadPage995,848 us3.6%114 us0.0%
mpull16894,227 us3.6%46,026 us1.7%
PhabricatorApplicationTransactionFeedStory::renderView891,337 us3.5%600 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildSpacesWhereClause3288,907 us3.4%474 us0.0%
DifferentialRevisionQuery::loadData387,910 us3.3%62 us0.0%
ManiphestTransaction::getTitleForFeed687,647 us3.3%165 us0.0%
PhabricatorApplicationTransaction::getTitleForFeed787,454 us3.3%307 us0.0%
PhabricatorPolicyCapability::getCapabilityMap88380,278 us3.0%19,809 us0.8%
PhutilRemarkupEngine::postprocessText380,244 us3.0%377 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns17380,100 us3.0%1,241 us0.0%
PhabricatorPolicyAwareQuery::executeOne176,968 us2.9%14 us0.0%
PhabricatorPeopleQuery::didFilterPage672,810 us2.8%798 us0.0%
PhabricatorPeopleUserPHIDType::loadHandles472,162 us2.7%2,213 us0.1%
DiffusionCommitQuery::loadPage671,998 us2.7%271 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildPagingClause4970,809 us2.7%375 us0.0%
PhabricatorApplicationTransactionQuery::buildWhereClause769,594 us2.6%144 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildWhereClause2169,517 us2.6%155 us0.0%
PhabricatorEdgeType::getByConstant368,036 us2.6%31 us0.0%
PhabricatorEdgeType::getAllTypes368,002 us2.6%15,920 us0.6%
PhabricatorPHIDType::getAllTypes3567,722 us2.6%870 us0.0%
PhabricatorObjectRemarkupRule::didMarkupText6066,295 us2.5%838 us0.0%
PhutilKeyValueCache::getKey29364,050 us2.4%11,666 us0.4%
PhabricatorPolicyFilter::applyExtendedPolicyChecks360,843 us2.3%450 us0.0%
PhabricatorPolicyFilter::executeExtendedPolicyChecks360,390 us2.3%2,292 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage359,431 us2.3%32 us0.0%
DifferentialRevisionQuery::buildSelectStatement358,945 us2.2%105 us0.0%
PhutilRemarkupEngine::setBlockRules358,124 us2.2%2,375 us0.1%
PhabricatorCustomField::getObjectFields356,458 us2.1%353 us0.0%
PhabricatorProjectQuery::loadPage355,949 us2.1%107 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClause2955,379 us2.1%220 us0.0%
PhabricatorProjectQuery::didFilterPage355,374 us2.1%113 us0.0%
DifferentialRevisionQuery::buildWhereClause355,131 us2.1%55 us0.0%
PhabricatorUser::getProfileImageCache10454,646 us2.1%7,790 us0.3%
PhabricatorApplicationTransactionCommentQuery::loadPage354,186 us2.1%91 us0.0%
LiskDAO::loadAllFromArray6453,855 us2.0%2,388 us0.1%
PhabricatorFileQuery::loadPage253,698 us2.0%280 us0.0%
PhabricatorCustomField::buildFieldList353,638 us2.0%20,262 us0.8%
PhrictionDocumentQuery::loadPage453,351 us2.0%263 us0.0%
LiskDAO::loadFromArray49052,330 us2.0%32,232 us1.2%
msort3952,172 us2.0%605 us0.0%
PhutilInRequestKeyValueCache::getKeys29151,887 us2.0%51,854 us2.0%
PhabricatorPolicyAwareQuery::canViewerUseQueryApplication11749,649 us1.9%693 us0.0%
PhabricatorApplication::isClassInstalledForViewer7248,951 us1.9%690 us0.0%
ManiphestTaskQuery::getOrderableColumns3248,009 us1.8%1,032 us0.0%
PhabricatorUser::getProfileImageVersion10446,722 us1.8%899 us0.0%