XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total17,66873,803 us100.0%73,803 us100.0%
main()173,803 us100.0%65 us0.1%
AphrontApplicationConfiguration::processRequest170,636 us95.7%69 us0.1%
AphrontController::handleRequest148,952 us66.3%7 us0.0%
PhabricatorFileCommentController::processRequest148,944 us66.3%194 us0.3%
PhutilSymbolLoader::selectAndLoadSymbols14240,698 us55.1%4,889 us6.6%
PhutilSymbolLoader::loadSymbol27935,576 us48.2%2,862 us3.9%
PhutilBootloader::loadLibrarySource27532,667 us44.3%1,302 us1.8%
PhutilBootloader::executeInclude27531,251 us42.3%21,562 us29.2%
PhabricatorPolicyAwareQuery::execute426,842 us36.4%189 us0.3%
PhabricatorPolicyAwareQuery::executeOne226,463 us35.9%19 us0.0%
__phutil_autoload13524,340 us33.0%1,161 us1.6%
PhabricatorApplicationTransactionEditor::applyTransactions123,235 us31.5%54 us0.1%
PhabricatorApplicationTransactionEditor::expandSupportTransactions122,716 us30.8%32 us0.0%
PhabricatorMarkupEngine::newMarkupEngine217,550 us23.8%614 us0.8%
PhabricatorController::willBeginExecution117,363 us23.5%232 us0.3%
PhutilSymbolLoader::loadObjects617,335 us23.5%309 us0.4%
PhabricatorFileQuery::loadPage117,301 us23.4%121 us0.2%
PhabricatorApplicationTransactionEditor::buildSubscribeTransaction116,413 us22.2%34 us0.0%
PhabricatorMarkupEngine::extractPHIDsFromMentions116,174 us21.9%17 us0.0%
PhabricatorMarkupEngine::newDifferentialMarkupEngine113,843 us18.8%8 us0.0%
PhabricatorEdgeQuery::execute213,598 us18.4%83 us0.1%
PhabricatorEdgeConfig::establishConnection211,695 us15.8%25 us0.0%
PhabricatorPHIDType::getAllTypes211,571 us15.7%366 us0.5%
PhabricatorPolicyFilter::apply48,386 us11.4%130 us0.2%
PhabricatorPolicyFilter::checkCapability47,185 us9.7%66 us0.1%
PhabricatorPolicyCapability::getCapabilityByKey47,018 us9.5%22 us0.0%
PhabricatorPolicyCapability::getCapabilityMap46,992 us9.5%47 us0.1%
queryfx76,244 us8.5%50 us0.1%
PhutilRemarkupEngine::setBlockRules25,696 us7.7%1,439 us1.9%
queryfx_all64,805 us6.5%40 us0.1%
AphrontBaseMySQLDatabaseConnection::executeRawQuery73,981 us5.4%187 us0.3%
PhabricatorMarkupEngine::getEngine13,730 us5.1%13 us0.0%
PhutilRemarkupEngine::markupText23,465 us4.7%10 us0.0%
PhutilRemarkupBlockRule::setEngine243,263 us4.4%39 us0.1%
PhutilRemarkupBlockRule::updateRules483,255 us4.4%1,259 us1.7%
AphrontApplicationConfiguration::buildController13,151 us4.3%46 us0.1%
PhutilRemarkupEngine::preprocessText22,851 us3.9%46 us0.1%
AphrontApplicationConfiguration::buildControllerForPath12,811 us3.8%489 us0.7%
PhabricatorAuthSessionEngine::loadUserForSession12,722 us3.7%137 us0.2%
qsprintf152,650 us3.6%77 us0.1%
xsprintf152,553 us3.5%386 us0.5%
AphrontMySQLiDatabaseConnection::rawQuery72,511 us3.4%53 us0.1%
mysqli::query72,453 us3.3%2,453 us3.3%
PhutilRemarkupEngine::markupBlock22,307 us3.1%9 us0.0%
PhutilRemarkupDefaultBlockRule::markupText22,298 us3.1%37 us0.1%
PhutilRemarkupBlockRule::applyRules22,192 us3.0%174 us0.2%
xsprintf_query332,107 us2.9%300 us0.4%
msort262,058 us2.8%292 us0.4%
AphrontBaseMySQLDatabaseConnection::requireConnection242,055 us2.8%29 us0.0%
mpull312,037 us2.8%1,792 us2.4%
AphrontBaseMySQLDatabaseConnection::establishConnection32,026 us2.7%78 us0.1%
AphrontRequest::validateCSRF52,000 us2.7%44 us0.1%
PhabricatorUser::validateCSRFToken51,919 us2.6%237 us0.3%
AphrontMySQLiDatabaseConnection::connect31,853 us2.5%103 us0.1%
PhabricatorDraft::replaceOrDelete11,763 us2.4%17 us0.0%
AphrontRequest::isFormPost41,666 us2.3%34 us0.0%
AphrontMySQLiDatabaseConnection::escapeUTF8String101,603 us2.2%41 us0.1%
PhabricatorObjectRemarkupRule::apply361,598 us2.2%252 us0.3%
PhabricatorUser::getRawCSRFToken351,564 us2.1%151 us0.2%
queryfx_one11,553 us2.1%14 us0.0%
PhabricatorSetupCheck::willProcessRequest11,488 us2.0%7 us0.0%
AphrontMySQLiDatabaseConnection::escapeBinaryString101,463 us2.0%36 us0.0%
PhabricatorSetupCheck::getOpenSetupIssueKeys11,399 us1.9%11 us0.0%
PhabricatorUser::generateToken351,348 us1.8%565 us0.8%
mysqli::real_connect31,299 us1.8%1,299 us1.8%
PhabricatorApplication::getAllInstalledApplications31,288 us1.7%424 us0.6%
PhabricatorApplicationTransactionEditor::loadSubscribers11,228 us1.7%20 us0.0%
LiskDAO::loadRawDataWhere21,198 us1.6%47 us0.1%
PhabricatorApplicationTransactionEditor::expandRemarkupBlockTransactions11,183 us1.6%22 us0.0%
PhabricatorCaches::getSetupCache21,127 us1.5%9 us0.0%
newv1521,118 us1.5%442 us0.6%
LiskDAO::__call1091,099 us1.5%140 us0.2%
PhabricatorEnv::getEnvConfig4031,051 us1.4%279 us0.4%
PhabricatorSubscribersQuery::loadSubscribersForPHID11,032 us1.4%12 us0.0%
PhabricatorUser::loadPreferences11,019 us1.4%23 us0.0%
PhabricatorSubscribersQuery::execute11,019 us1.4%26 us0.0%
LiskDAO::loadFromArray41,018 us1.4%238 us0.3%
LiskDAO::checkProperty821,009 us1.4%161 us0.2%
AphrontDatabaseConnection::queryData2995 us1.3%12 us0.0%
LiskDAO::call109959 us1.3%405 us0.5%
call_user_func_array42946 us1.3%152 us0.2%
DarkConsoleCore::__construct1926 us1.3%53 us0.1%
error_reporting550912 us1.2%912 us1.2%
PhutilRemarkupRule::getPostprocessKey888899 us1.2%892 us1.2%
LiskDAO::getAllLiskProperties7847 us1.1%529 us0.7%
PhabricatorApplication::isInstalled196845 us1.1%832 us1.1%
run_init::query/PhabricatorApplicationQuery.php1830 us1.1%40 us0.1%
AphrontRequest::isPreviewRequest2797 us1.1%10 us0.0%
PhabricatorCaches::newStackFromCaches1782 us1.1%16 us0.0%
LiskDAO::loadOneWhere1773 us1.0%14 us0.0%
PhabricatorConfigStackSource::getKeys22771 us1.0%217 us0.3%
PhabricatorObjectRemarkupRule::getObjectEmbedPattern36759 us1.0%220 us0.3%
PhabricatorController::didProcessRequest1706 us1.0%20 us0.0%
LiskDAO::establishConnection7695 us0.9%102 us0.1%
ReflectionClass::__construct437686 us0.9%149 us0.2%
LiskDAO::hasProperty54668 us0.9%65 us0.1%
AphrontURIMapper::mapPath50623 us0.8%229 us0.3%
PhabricatorDraft::buildFromRequest1622 us0.8%41 us0.1%
LiskDAO::loadAllWhere1619 us0.8%8 us0.0%
PhutilRemarkupEngine::postprocessText2604 us0.8%186 us0.3%