XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total41,71992,020 us100.0%92,020 us100.0%
main()192,020 us100.0%81 us0.1%
AphrontApplicationConfiguration::processRequest190,774 us98.6%58 us0.1%
PhabricatorConfigEditController::handleRequest158,652 us63.7%280 us0.3%
PhabricatorApplicationTransactionEditor::applyTransactions145,550 us49.5%192 us0.2%
PhabricatorController::willBeginExecution128,495 us31.0%169 us0.2%
call_user_func_array1,27926,382 us28.7%1,680 us1.8%
queryfx1420,603 us22.4%114 us0.1%
AphrontBaseMySQLDatabaseConnection::executeRawQuery1419,406 us21.1%217 us0.2%
PhutilSymbolLoader::selectAndLoadSymbols18618,692 us20.3%5,029 us5.5%
PhabricatorApplicationConfigOptions::loadAllOptions217,677 us19.2%613 us0.7%
LiskDAO::save417,085 us18.6%14 us0.0%
PhabricatorPolicyFilter::apply916,937 us18.4%170 us0.2%
PhabricatorPolicyAwareQuery::execute616,768 us18.2%198 us0.2%
PhabricatorSpacesNamespaceQuery::getViewerSpaces116,714 us18.2%24 us0.0%
PhabricatorPolicyFilter::hasCapability416,669 us18.1%37 us0.0%
AphrontMySQLiDatabaseConnection::rawQuery1416,431 us17.9%112 us0.1%
mysqli::query1416,301 us17.7%16,301 us17.7%
PhabricatorWorker::scheduleTask116,162 us17.6%32 us0.0%
LiskDAO::insert315,693 us17.1%9 us0.0%
LiskDAO::insertRecordIntoDatabase315,684 us17.0%157 us0.2%
AphrontDatabaseConnection::query615,289 us16.6%31 us0.0%
PhabricatorWorkerActiveTask::save114,083 us15.3%4 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease114,079 us15.3%24 us0.0%
PhutilSymbolLoader::loadSymbol39713,823 us15.0%1,860 us2.0%
spl_autoload_call17213,139 us14.3%265 us0.3%
__phutil_autoload17212,930 us14.1%849 us0.9%
LiskDAO::establishConnection1312,720 us13.8%122 us0.1%
PhabricatorLiskDAO::establishLiveConnection712,302 us13.4%49 us0.1%
PhabricatorLiskDAO::newClusterConnection712,220 us13.3%42 us0.0%
PhutilBootloader::loadLibrarySource31312,164 us13.2%876 us1.0%
PhabricatorDatabaseRef::isReachable711,768 us12.8%39 us0.0%
AphrontBaseMySQLDatabaseConnection::openConnection711,715 us12.7%9 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection8211,706 us12.7%14 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection711,692 us12.7%98 us0.1%
PhabricatorPolicyFilter::loadCustomPolicies111,631 us12.6%66 us0.1%
AphrontMySQLiDatabaseConnection::connect711,484 us12.5%168 us0.2%
PhutilBootloader::executeInclude31311,399 us12.4%2,937 us3.2%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage311,201 us12.2%17 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows310,670 us11.6%58 us0.1%
mysqli::real_connect79,085 us9.9%9,085 us9.9%
PhabricatorApplicationTransactionEditor::applyInternalEffects18,775 us9.5%15 us0.0%
PhabricatorConfigEditor::applyCustomInternalTransaction18,751 us9.5%162 us0.2%
pht1,1338,591 us9.3%2,656 us2.9%
PhabricatorApplicationTransactionEditor::expandSupportTransactions18,199 us8.9%23 us0.0%
PhabricatorMarkupEngine::getEngine18,042 us8.7%9 us0.0%
PhabricatorMarkupEngine::newMarkupEngine18,032 us8.7%319 us0.3%
PhabricatorProjectQuery::loadPage28,002 us8.7%7 us0.0%
PhabricatorProjectsPolicyRule::willApplyRules17,576 us8.2%40 us0.0%
PhutilClassMapQuery::execute197,576 us8.2%68 us0.1%
PhutilClassMapQuery::loadMap127,458 us8.1%325 us0.4%
PhutilSymbolLoader::loadObjects126,291 us6.8%215 us0.2%
PhutilTranslator::translate1,1334,486 us4.9%4,031 us4.4%
PhabricatorAuthSessionEngine::loadUserForSession14,186 us4.5%91 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClause33,802 us4.1%11 us0.0%
PhabricatorPolicyQuery::loadPage13,776 us4.1%44 us0.0%
PhabricatorSpacesNamespaceQuery::getAllSpaces23,751 us4.1%24 us0.0%
PhabricatorSpacesNamespaceQuery::getSpacesExist13,746 us4.1%2 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClauseParts33,612 us3.9%18 us0.0%
PhabricatorSpacesNamespaceQuery::loadPage13,422 us3.7%8 us0.0%
PhabricatorPolicyFilter::checkCapability63,357 us3.6%73 us0.1%
LiskDAO::saveTransaction13,338 us3.6%4 us0.0%
AphrontDatabaseConnection::saveTransaction13,318 us3.6%6 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildApplicationSearchJoinClause33,307 us3.6%52 us0.1%
PhabricatorProjectQuery::buildJoinClauseParts23,296 us3.6%15 us0.0%
AphrontApplicationConfiguration::buildController13,266 us3.5%81 us0.1%
queryfx_all73,227 us3.5%33 us0.0%
PhabricatorPolicyCapability::getCapabilityByKey43,149 us3.4%10 us0.0%
PhabricatorPolicyCapability::getCapabilityMap43,139 us3.4%25 us0.0%
qsprintf763,066 us3.3%259 us0.3%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns123,029 us3.3%83 us0.1%
PhabricatorProjectQuery::getOrderableColumns82,998 us3.3%35 us0.0%
call_user_func1212,965 us3.2%143 us0.2%
AphrontRequest::validateCSRF82,916 us3.2%47 us0.1%
PhabricatorCustomField::getObjectFields12,856 us3.1%53 us0.1%
PhabricatorUser::validateCSRFToken82,836 us3.1%255 us0.3%
xsprintf762,772 us3.0%1,031 us1.1%
LiskDAO::loadRawDataWhere22,608 us2.8%39 us0.0%
AphrontBaseMySQLDatabaseConnection::checkWrite142,579 us2.8%40 us0.0%
AphrontWriteGuard::willWrite72,498 us2.7%13 us0.0%
PhutilRemarkupEngine::setBlockRules12,493 us2.7%928 us1.0%
LiskDAO::openTransaction12,362 us2.6%5 us0.0%
PhabricatorCustomField::buildFieldList12,304 us2.5%28 us0.0%
LiskDAO::loadNextCounterValue12,266 us2.5%6 us0.0%
LiskDAO::loadAllWhere12,194 us2.4%7 us0.0%
mysqli::set_charset72,149 us2.3%2,149 us2.3%
HeraldTranscript::loadXHeraldRulesHeader11,999 us2.2%12 us0.0%
PhabricatorProjectConfiguredCustomField::createFields11,739 us1.9%32 us0.0%
PhutilTypeSpec::checkMap11,626 us1.8%28 us0.0%
PhabricatorApplicationConfigOptions::newOption3841,612 us1.8%1,607 us1.7%
xsprintf_query1561,594 us1.7%774 us0.8%
PhutilTypeSpec::newFromString31,584 us1.7%30 us0.0%
PhabricatorStandardCustomField::buildStandardFields21,580 us1.7%47 us0.1%
PhabricatorManiphestConfigOptions::getOptions21,572 us1.7%229 us0.2%
PhutilRemarkupBlockRule::setEngine121,515 us1.6%16 us0.0%
PhutilRemarkupBlockRule::updateRules241,512 us1.6%611 us0.7%
PhabricatorUser::getRawCSRFToken561,496 us1.6%166 us0.2%
PhabricatorApplicationConfigOptions::loadAll21,452 us1.6%250 us0.3%
PhabricatorDifferentialConfigOptions::getOptions21,364 us1.5%470 us0.5%
LiskDAO::update11,353 us1.5%45 us0.0%
PhabricatorCoreConfigOptions::getOptions21,341 us1.5%281 us0.3%