XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total21,54054,353 us100.0%54,353 us100.0%
main()154,353 us100.0%80 us0.1%
AphrontApplicationConfiguration::processRequest152,904 us97.3%62 us0.1%
PhabricatorSettingsMainController::handleRequest132,119 us59.1%57 us0.1%
PhabricatorAccountSettingsPanel::processRequest122,766 us41.9%48 us0.1%
PhabricatorUser::save122,012 us40.5%20 us0.0%
queryfx1321,027 us38.7%61 us0.1%
AphrontBaseMySQLDatabaseConnection::executeRawQuery1319,309 us35.5%215 us0.4%
PhabricatorController::willBeginExecution118,296 us33.7%202 us0.4%
AphrontMySQLiDatabaseConnection::rawQuery1316,048 us29.5%76 us0.1%
mysqli::query1315,972 us29.4%15,972 us29.4%
LiskDAO::save315,608 us28.7%9 us0.0%
PhabricatorPolicyAwareQuery::execute714,165 us26.1%196 us0.4%
PhutilSymbolLoader::selectAndLoadSymbols10912,605 us23.2%2,991 us5.5%
AphrontDatabaseConnection::query310,220 us18.8%15 us0.0%
PhabricatorPolicyFilter::apply1110,127 us18.6%182 us0.3%
PhabricatorSpacesNamespaceQuery::getViewerSpaces19,912 us18.2%24 us0.0%
PhutilSymbolLoader::loadSymbol2449,698 us17.8%1,573 us2.9%
PhabricatorPolicyFilter::loadCustomPolicies18,478 us15.6%62 us0.1%
PhabricatorSearchIndexer::queueDocumentForIndexing18,416 us15.5%8 us0.0%
PhabricatorWorker::scheduleTask18,344 us15.4%23 us0.0%
PhutilBootloader::loadLibrarySource2428,277 us15.2%764 us1.4%
PhabricatorWorkerActiveTask::save17,900 us14.5%4 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease17,896 us14.5%23 us0.0%
LiskDAO::update17,880 us14.5%101 us0.2%
PhabricatorSettingsMainController::buildPanels17,711 us14.2%127 us0.2%
LiskDAO::insert27,692 us14.2%7 us0.0%
LiskDAO::insertRecordIntoDatabase27,685 us14.1%89 us0.2%
PhutilBootloader::executeInclude2427,573 us13.9%2,312 us4.3%
spl_autoload_call1017,487 us13.8%182 us0.3%
__phutil_autoload1017,350 us13.5%616 us1.1%
PhutilClassMapQuery::execute127,063 us13.0%42 us0.1%
PhutilClassMapQuery::loadMap76,984 us12.8%296 us0.5%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows36,853 us12.6%72 us0.1%
PhutilSymbolLoader::loadObjects86,373 us11.7%229 us0.4%
PhabricatorUser::updateNameTokens15,599 us10.3%32 us0.1%
qsprintf774,713 us8.7%265 us0.5%
PhabricatorPasswordSettingsPanel::isEnabled14,697 us8.6%6 us0.0%
PhabricatorProjectQuery::loadPage24,570 us8.4%14 us0.0%
PhabricatorPasswordAuthProvider::getPasswordProvider14,537 us8.3%3 us0.0%
PhabricatorAuthProvider::getAllEnabledProviders14,534 us8.3%14 us0.0%
PhabricatorAuthProvider::getAllProviders14,475 us8.2%78 us0.1%
xsprintf774,431 us8.2%954 us1.8%
PhabricatorProjectsPolicyRule::willApplyRules13,953 us7.3%30 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClause33,914 us7.2%17 us0.0%
xsprintf_query1613,307 us6.1%809 us1.5%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClauseParts33,270 us6.0%18 us0.0%
PhabricatorProjectQuery::buildJoinClauseParts23,255 us6.0%22 us0.0%
PhabricatorSpacesNamespaceQuery::getAllSpaces23,214 us5.9%32 us0.1%
PhabricatorSpacesNamespaceQuery::getSpacesExist13,210 us5.9%3 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildApplicationSearchJoinClause33,051 us5.6%67 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns152,924 us5.4%100 us0.2%
queryfx_all72,921 us5.4%30 us0.1%
LiskDAO::loadNextCounterValue12,807 us5.2%6 us0.0%
PhabricatorSpacesNamespaceQuery::loadPage12,731 us5.0%10 us0.0%
PhabricatorProjectQuery::getOrderableColumns82,593 us4.8%29 us0.1%
AphrontRequest::validateCSRF72,586 us4.8%40 us0.1%
PhabricatorPolicyAwareQuery::canViewerUseQueryApplication72,576 us4.7%35 us0.1%
PhabricatorApplication::isClassInstalledForViewer52,541 us4.7%29 us0.1%
PhabricatorPolicyFilter::checkCapability72,525 us4.6%93 us0.2%
PhabricatorUser::validateCSRFToken72,516 us4.6%241 us0.4%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage12,474 us4.6%7 us0.0%
call_user_func1302,472 us4.5%163 us0.3%
PhabricatorPolicyFilter::hasCapability52,466 us4.5%41 us0.1%
PhabricatorCustomField::getObjectFields12,458 us4.5%46 us0.1%
PhabricatorPolicyCapability::getCapabilityByKey52,309 us4.2%13 us0.0%
PhabricatorPolicyCapability::getCapabilityMap52,296 us4.2%30 us0.1%
AphrontBaseMySQLDatabaseConnection::checkWrite132,242 us4.1%29 us0.1%
AphrontBaseMySQLDatabaseConnection::requireConnection742,209 us4.1%14 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection72,195 us4.0%111 us0.2%
AphrontWriteGuard::willWrite62,174 us4.0%14 us0.0%
AphrontApplicationConfiguration::buildController12,103 us3.9%63 us0.1%
AphrontMySQLiDatabaseConnection::escapeUTF8String462,082 us3.8%114 us0.2%
PhabricatorCustomField::buildFieldList11,991 us3.7%44 us0.1%
AphrontMySQLiDatabaseConnection::connect71,965 us3.6%174 us0.3%
PhabricatorPolicyQuery::loadPage11,829 us3.4%29 us0.1%
PhabricatorAuthProvider::getProviderKey121,764 us3.2%36 us0.1%
AphrontMySQLiDatabaseConnection::escapeBinaryString461,722 us3.2%108 us0.2%
PhabricatorSettingsMainController::renderSideNav11,563 us2.9%200 us0.4%
PhabricatorAuthProviderConfigQuery::loadPage11,381 us2.5%29 us0.1%
PhabricatorAuthSessionEngine::loadUserForSession11,375 us2.5%78 us0.1%
PhabricatorUser::getRawCSRFToken491,313 us2.4%141 us0.3%
mysqli::real_connect71,219 us2.2%1,219 us2.2%
pht1171,179 us2.2%320 us0.6%
PhabricatorUser::generateToken491,143 us2.1%486 us0.9%
PhabricatorAuthProvider::getAllBaseProviders11,030 us1.9%8 us0.0%
PhabricatorPlatformSite::getRoutingMaps11,018 us1.9%334 us0.6%
LiskDAO::loadFromArray161,005 us1.8%289 us0.5%
PhabricatorOAuth2AuthProvider::configureAdapter6995 us1.8%82 us0.2%
LiskDAO::loadRawDataWhere2930 us1.7%34 us0.1%
LiskDAO::__call171882 us1.6%149 us0.3%
PhabricatorProjectConfiguredCustomField::createFields1878 us1.6%9 us0.0%
phutil_hashes_are_identical49864 us1.6%864 us1.6%
PhabricatorStandardCustomField::buildStandardFields2815 us1.5%38 us0.1%
msort3800 us1.5%21 us0.0%
mpull6783 us1.4%77 us0.1%
LiskDAO::establishConnection11768 us1.4%113 us0.2%
AphrontDatabaseConnection::queryData2745 us1.4%11 us0.0%
LiskDAO::loadAllWhere1735 us1.4%7 us0.0%
LiskDAO::call171733 us1.3%398 us0.7%
PhabricatorEnv::getEnvConfig311723 us1.3%169 us0.3%