XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total14,33037,750 us100.0%37,750 us100.0%
main()137,750 us100.0%44 us0.1%
AphrontApplicationConfiguration::processRequest136,735 us97.3%72 us0.2%
PhabricatorController::willBeginExecution118,639 us49.4%184 us0.5%
AphrontController::handleRequest116,232 us43.0%9 us0.0%
PhabricatorMarkupPreviewController::processRequest116,222 us43.0%41 us0.1%
PhabricatorMarkupEngine::renderOneObject115,804 us41.9%25 us0.1%
PhabricatorMarkupEngine::process115,555 us41.2%39 us0.1%
PhabricatorPolicyAwareQuery::execute613,901 us36.8%192 us0.5%
PhutilSymbolLoader::selectAndLoadSymbols15613,735 us36.4%3,666 us9.7%
PhabricatorPolicyFilter::apply1012,564 us33.3%241 us0.6%
PhabricatorSpacesNamespaceQuery::getViewerSpaces112,017 us31.8%28 us0.1%
PhabricatorMarkupOneOff::newMarkupEngine110,746 us28.5%5 us0.0%
PhabricatorMarkupEngine::getEngine110,741 us28.5%9 us0.0%
spl_autoload_call14410,737 us28.4%273 us0.7%
PhabricatorMarkupEngine::newMarkupEngine110,732 us28.4%403 us1.1%
__phutil_autoload14410,509 us27.8%925 us2.5%
PhutilSymbolLoader::loadSymbol2579,951 us26.4%1,737 us4.6%
PhabricatorPolicyFilter::loadCustomPolicies19,895 us26.2%102 us0.3%
PhutilBootloader::loadLibrarySource2428,362 us22.2%882 us2.3%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows37,873 us20.9%74 us0.2%
PhutilBootloader::executeInclude2427,479 us19.8%2,181 us5.8%
PhabricatorProjectQuery::loadPage26,604 us17.5%16 us0.0%
PhabricatorProjectsPolicyRule::willApplyRules15,556 us14.7%42 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClause35,097 us13.5%17 us0.0%
PhabricatorProjectQuery::buildJoinClauseParts24,719 us12.5%35 us0.1%
PhutilSymbolLoader::loadObjects114,536 us12.0%207 us0.5%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClauseParts34,313 us11.4%16 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildApplicationSearchJoinClause34,187 us11.1%63 us0.2%
PhutilRemarkupEngine::setBlockRules14,129 us10.9%1,124 us3.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns123,896 us10.3%89 us0.2%
PhabricatorProjectQuery::getOrderableColumns83,885 us10.3%45 us0.1%
PhabricatorCustomField::getObjectFields13,682 us9.8%56 us0.1%
PhabricatorCustomField::buildFieldList13,145 us8.3%51 us0.1%
PhabricatorMarkupEngine::loadPreprocessorCaches12,893 us7.7%39 us0.1%
PhabricatorPolicyFilter::checkCapability72,576 us6.8%125 us0.3%
PhutilClassMapQuery::execute72,555 us6.8%29 us0.1%
PhutilClassMapQuery::loadMap32,494 us6.6%146 us0.4%
PhutilRemarkupEngine::preprocessText12,452 us6.5%31 us0.1%
PhutilRemarkupBlockRule::setEngine122,428 us6.4%34 us0.1%
qsprintf272,426 us6.4%127 us0.3%
PhutilRemarkupBlockRule::updateRules242,419 us6.4%1,026 us2.7%
PhabricatorPolicyAwareQuery::canViewerUseQueryApplication62,405 us6.4%29 us0.1%
PhabricatorApplication::isClassInstalledForViewer42,376 us6.3%26 us0.1%
queryfx_all62,333 us6.2%33 us0.1%
PhabricatorPolicyFilter::hasCapability52,310 us6.1%59 us0.2%
xsprintf272,276 us6.0%494 us1.3%
queryfx62,220 us5.9%33 us0.1%
PhabricatorPolicyCapability::getCapabilityByKey52,219 us5.9%16 us0.0%
PhabricatorPolicyCapability::getCapabilityMap52,198 us5.8%47 us0.1%
PhutilRemarkupEngine::markupBlock12,056 us5.4%5 us0.0%
PhutilRemarkupDefaultBlockRule::markupText12,051 us5.4%115 us0.3%
PhutilRemarkupBlockRule::applyRules11,890 us5.0%119 us0.3%
PhabricatorSpacesNamespaceQuery::getAllSpaces21,884 us5.0%22 us0.1%
PhabricatorSpacesNamespaceQuery::getSpacesExist11,879 us5.0%2 us0.0%
PhabricatorPolicyQuery::loadPage11,756 us4.7%28 us0.1%
PhabricatorStandardCustomField::buildStandardFields21,693 us4.5%69 us0.2%
xsprintf_query661,681 us4.5%404 us1.1%
PhabricatorSpacesNamespaceQuery::loadPage11,606 us4.3%7 us0.0%
PhabricatorProjectConfiguredCustomField::createFields11,484 us3.9%13 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage11,470 us3.9%5 us0.0%
AphrontApplicationConfiguration::buildController11,447 us3.8%15 us0.0%
PhabricatorMarkupOneOff::didMarkupText11,413 us3.7%9 us0.0%
PhabricatorObjectRemarkupRule::apply201,398 us3.7%187 us0.5%
require_celerity_resource11,381 us3.7%12 us0.0%
msort151,378 us3.7%203 us0.5%
PhabricatorAuthSessionEngine::loadUserForSession11,293 us3.4%80 us0.2%
mpull221,215 us3.2%1,161 us3.1%
CelerityStaticResourceResponse::requireResource11,189 us3.1%15 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection221,169 us3.1%11 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection41,158 us3.1%68 us0.2%
CelerityResourceMap::getNamedInstance11,045 us2.8%14 us0.0%
AphrontMySQLiDatabaseConnection::escapeUTF8String101,039 us2.8%32 us0.1%
AphrontMySQLiDatabaseConnection::connect41,015 us2.7%107 us0.3%
AphrontBaseMySQLDatabaseConnection::executeRawQuery6981 us2.6%111 us0.3%
AphrontMySQLiDatabaseConnection::escapeBinaryString10930 us2.5%35 us0.1%
AphrontApplicationConfiguration::buildControllerForPath1921 us2.4%212 us0.6%
LiskDAO::loadRawDataWhere2899 us2.4%29 us0.1%
PhabricatorPolicyAwareQuery::executeOne1815 us2.2%12 us0.0%
PhabricatorEnv::getEnvConfig252743 us2.0%172 us0.5%
PhabricatorApplication::getAllInstalledApplications2743 us2.0%231 us0.6%
AphrontDatabaseConnection::queryData2714 us1.9%9 us0.0%
LiskDAO::loadAllWhere1714 us1.9%7 us0.0%
call_user_func_array78679 us1.8%184 us0.5%
LiskDAO::loadFromArray8657 us1.7%177 us0.5%
preg_replace_callback59619 us1.6%619 us1.6%
CelerityResourceMap::__construct1614 us1.6%107 us0.3%
queryfx_one1611 us1.6%10 us0.0%
mysqli::real_connect4607 us1.6%607 us1.6%
PhutilTypeSpec::checkMap1600 us1.6%11 us0.0%
PhutilTypeSpec::newFromString1589 us1.6%11 us0.0%
PhabricatorPolicyQuery::getObjectPolicies1574 us1.5%62 us0.2%
PhabricatorConfigStackSource::getKeys22570 us1.5%155 us0.4%
LiskDAO::checkProperty72528 us1.4%109 us0.3%
PhabricatorProjectDescriptionField::createFields1527 us1.4%15 us0.0%
PhutilRemarkupRule::getPostprocessKey468525 us1.4%490 us1.3%
PhabricatorApplication::isInstalled132512 us1.4%492 us1.3%
PhabricatorSetupCheck::willProcessRequest1505 us1.3%5 us0.0%
newv119491 us1.3%287 us0.8%
PhabricatorCursorPagedPolicyAwareQuery::buildWhereClause3489 us1.3%17 us0.0%
PhabricatorUser::loadPreferences1469 us1.2%14 us0.0%