XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total17,39683,380 us100.0%83,380 us100.0%
main()183,380 us100.0%117 us0.1%
AphrontApplicationConfiguration::processRequest181,076 us97.2%93 us0.1%
PhabricatorController::willBeginExecution140,891 us49.0%241 us0.3%
PhabricatorPolicyAwareQuery::execute731,575 us37.9%265 us0.3%
PhabricatorSettingsMainController::handleRequest129,740 us35.7%58 us0.1%
PhabricatorPolicyFilter::apply1127,539 us33.0%278 us0.3%
PhabricatorSpacesNamespaceQuery::getViewerSpaces127,206 us32.6%35 us0.0%
PhabricatorPolicyFilter::loadCustomPolicies120,858 us25.0%93 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage319,822 us23.8%23 us0.0%
PhabricatorSettingsMainController::buildPanels119,817 us23.8%3,170 us3.8%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows319,505 us23.4%91 us0.1%
PhutilSymbolLoader::selectAndLoadSymbols10217,793 us21.3%4,135 us5.0%
PhabricatorProjectQuery::loadPage217,461 us20.9%16 us0.0%
qsprintf3616,808 us20.2%198 us0.2%
xsprintf3616,559 us19.9%4,902 us5.9%
PhutilClassMapQuery::execute1214,207 us17.0%67 us0.1%
PhutilClassMapQuery::loadMap714,083 us16.9%436 us0.5%
queryfx813,833 us16.6%62 us0.1%
PhutilSymbolLoader::loadSymbol24513,570 us16.3%2,289 us2.7%
PhabricatorProjectsPolicyRule::willApplyRules112,553 us15.1%46 us0.1%
xsprintf_query8211,493 us13.8%627 us0.8%
PhutilBootloader::loadLibrarySource24311,371 us13.6%969 us1.2%
PhabricatorPasswordSettingsPanel::isEnabled111,217 us13.5%9 us0.0%
queryfx_all711,203 us13.4%51 us0.1%
PhabricatorPasswordAuthProvider::getPasswordProvider110,987 us13.2%7 us0.0%
PhabricatorAuthProvider::getAllEnabledProviders110,980 us13.2%23 us0.0%
PhabricatorAuthProvider::getAllProviders110,873 us13.0%120 us0.1%
AphrontBaseMySQLDatabaseConnection::requireConnection2810,859 us13.0%28 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection610,831 us13.0%120 us0.1%
AphrontMySQLiDatabaseConnection::connect610,562 us12.7%191 us0.2%
AphrontMySQLiDatabaseConnection::escapeUTF8String1210,503 us12.6%48 us0.1%
PhutilSymbolLoader::loadObjects810,359 us12.4%373 us0.4%
AphrontMySQLiDatabaseConnection::escapeBinaryString1210,325 us12.4%50 us0.1%
PhutilBootloader::executeInclude24310,310 us12.4%2,831 us3.4%
mysqli::real_connect69,899 us11.9%9,899 us11.9%
AphrontApplicationConfiguration::buildController19,811 us11.8%107 us0.1%
spl_autoload_call949,369 us11.2%312 us0.4%
__phutil_autoload949,118 us10.9%754 us0.9%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClause39,075 us10.9%23 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClauseParts38,740 us10.5%31 us0.0%
PhabricatorProjectQuery::buildJoinClauseParts28,372 us10.0%21 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildApplicationSearchJoinClause38,327 us10.0%77 us0.1%
PhabricatorDeveloperPreferencesSettingsPanel::processRequest18,022 us9.6%45 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns157,996 us9.6%138 us0.2%
PhabricatorProjectQuery::getOrderableColumns87,874 us9.4%44 us0.1%
PhabricatorCustomField::getObjectFields17,658 us9.2%76 us0.1%
PhabricatorAuthProvider::getProviderKey127,047 us8.5%49 us0.1%
LiskDAO::save16,881 us8.3%6 us0.0%
PhabricatorCustomField::buildFieldList16,857 us8.2%57 us0.1%
LiskDAO::update16,854 us8.2%65 us0.1%
AphrontApplicationConfiguration::routePath16,577 us7.9%92 us0.1%
AphrontRoutingMap::routePath406,485 us7.8%236 us0.3%
AphrontRoutingMap::tryRoute666,015 us7.2%5,880 us7.1%
PhabricatorAuthSessionEngine::loadUserForSession15,780 us6.9%127 us0.2%
PhabricatorPolicyAwareQuery::canViewerUseQueryApplication74,866 us5.8%49 us0.1%
PhabricatorProjectConfiguredCustomField::createFields14,848 us5.8%15 us0.0%
PhabricatorPolicyFilter::checkCapability74,818 us5.8%134 us0.2%
PhabricatorApplication::isClassInstalledForViewer54,817 us5.8%42 us0.1%
PhabricatorStandardCustomField::buildStandardFields24,735 us5.7%61 us0.1%
PhabricatorPolicyFilter::hasCapability54,653 us5.6%71 us0.1%
AphrontBaseMySQLDatabaseConnection::executeRawQuery84,627 us5.5%174 us0.2%
queryfx_one14,520 us5.4%14 us0.0%
PhabricatorPolicyCapability::getCapabilityByKey54,449 us5.3%17 us0.0%
PhabricatorPolicyCapability::getCapabilityMap54,427 us5.3%46 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildWhereClause33,476 us4.2%23 us0.0%
PhabricatorProjectQuery::buildWhereClauseParts23,322 us4.0%27 us0.0%
PhabricatorPolicyQuery::loadPage13,236 us3.9%43 us0.1%
pht1153,192 us3.8%482 us0.6%
class_exists5033,175 us3.8%2,876 us3.4%
PhabricatorSpacesNamespaceQuery::getAllSpaces23,082 us3.7%36 us0.0%
PhabricatorSpacesNamespaceQuery::getSpacesExist13,072 us3.7%2 us0.0%
AphrontMySQLiDatabaseConnection::rawQuery82,935 us3.5%57 us0.1%
AphrontDatabaseConnection::query12,895 us3.5%9 us0.0%
mysqli::query82,878 us3.5%2,878 us3.5%
msort32,836 us3.4%36 us0.0%
mpull62,811 us3.4%181 us0.2%
PhabricatorSpacesNamespaceQuery::loadPage12,621 us3.1%11 us0.0%
PhabricatorSettingsPanel::getPanelSortKey222,573 us3.1%212 us0.3%
PhutilTranslator::translate1152,442 us2.9%2,155 us2.6%
PhabricatorPlatformSite::getRoutingMaps12,089 us2.5%520 us0.6%
PhabricatorAuthProviderConfigQuery::loadPage11,925 us2.3%41 us0.0%
PhabricatorSettingsMainController::renderSideNav11,808 us2.2%199 us0.2%
LiskDAO::loadFromArray161,795 us2.2%443 us0.5%
PhabricatorOAuth2AuthProvider::configureAdapter61,717 us2.1%130 us0.2%
AphrontRequest::validateCSRF21,471 us1.8%18 us0.0%
PhabricatorPolicyQuery::getObjectPolicies11,466 us1.8%131 us0.2%
PhabricatorAuthProvider::getAllBaseProviders11,452 us1.7%10 us0.0%
PhabricatorUser::validateCSRFToken21,442 us1.7%117 us0.1%
PhabricatorPasswordSettingsPanel::getPanelGroup21,409 us1.7%4 us0.0%
call_user_func1291,347 us1.6%252 us0.3%
PhabricatorEnv::getEnvConfig2301,242 us1.5%302 us0.4%
LiskDAO::loadRawDataWhere21,231 us1.5%53 us0.1%
PhutilTypeSpec::checkMap11,191 us1.4%18 us0.0%
PhutilTypeSpec::newFromString11,172 us1.4%20 us0.0%
PhabricatorApplication::getByClass101,167 us1.4%1,080 us1.3%
PhutilOpaqueEnvelope::__construct121,082 us1.3%52 us0.1%
PhabricatorPolicyQuery::getObjectPolicyRules11,052 us1.3%49 us0.1%
LiskDAO::loadAllFromArray51,045 us1.3%64 us0.1%
PhutilOpaqueEnvelope::mask181,039 us1.2%1,035 us1.2%
LiskDAO::establishConnection81,014 us1.2%129 us0.2%