XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total12,40529,376 us100.0%29,376 us100.0%
main()129,376 us100.0%74 us0.3%
AphrontApplicationConfiguration::processRequest128,112 us95.7%59 us0.2%
PhabricatorController::willBeginExecution122,741 us77.4%147 us0.5%
PhabricatorPolicyAwareQuery::execute614,890 us50.7%158 us0.5%
PhabricatorPolicyFilter::apply1013,119 us44.7%180 us0.6%
PhabricatorSpacesNamespaceQuery::getViewerSpaces112,903 us43.9%24 us0.1%
PhutilSymbolLoader::selectAndLoadSymbols8211,431 us38.9%2,792 us9.5%
PhabricatorPolicyFilter::loadCustomPolicies111,201 us38.1%59 us0.2%
PhutilSymbolLoader::loadSymbol2398,769 us29.9%1,370 us4.7%
PhutilClassMapQuery::execute158,005 us27.3%46 us0.2%
PhutilClassMapQuery::loadMap87,919 us27.0%301 us1.0%
PhutilBootloader::loadLibrarySource2367,531 us25.6%646 us2.2%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage37,467 us25.4%14 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows37,278 us24.8%60 us0.2%
PhutilBootloader::executeInclude2366,944 us23.6%2,019 us6.9%
PhutilSymbolLoader::loadObjects86,825 us23.2%221 us0.8%
spl_autoload_call745,579 us19.0%125 us0.4%
__phutil_autoload745,488 us18.7%403 us1.4%
PhabricatorProjectQuery::loadPage25,367 us18.3%15 us0.1%
PhabricatorProjectsPolicyRule::willApplyRules14,747 us16.2%31 us0.1%
LiskDAO::establishConnection64,117 us14.0%70 us0.2%
PhabricatorLiskDAO::establishLiveConnection53,870 us13.2%57 us0.2%
PhabricatorLiskDAO::newClusterConnection53,793 us12.9%30 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClause33,705 us12.6%14 us0.0%
PhabricatorDatabaseRef::isReachable53,559 us12.1%30 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClauseParts33,516 us12.0%18 us0.1%
AphrontBaseMySQLDatabaseConnection::openConnection53,516 us12.0%6 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection293,511 us12.0%11 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection53,500 us11.9%77 us0.3%
AphrontMySQLiDatabaseConnection::connect53,337 us11.4%134 us0.5%
PhabricatorPolicyFilter::checkCapability73,289 us11.2%89 us0.3%
PhabricatorProjectQuery::buildJoinClauseParts23,256 us11.1%16 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildApplicationSearchJoinClause33,255 us11.1%52 us0.2%
PhabricatorPolicyAwareQuery::canViewerUseQueryApplication63,243 us11.0%25 us0.1%
PhabricatorApplication::isClassInstalledForViewer43,218 us11.0%22 us0.1%
PhabricatorPolicyFilter::hasCapability53,149 us10.7%40 us0.1%
PhabricatorPolicyQuery::loadPage13,078 us10.5%33 us0.1%
PhabricatorPolicyCapability::getCapabilityByKey53,011 us10.2%14 us0.0%
PhabricatorPolicyCapability::getCapabilityMap52,997 us10.2%28 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns122,982 us10.2%69 us0.2%
PhabricatorProjectQuery::getOrderableColumns82,963 us10.1%38 us0.1%
PhabricatorAuthSessionEngine::loadUserForSession12,904 us9.9%96 us0.3%
call_user_func_array822,832 us9.6%171 us0.6%
PhabricatorCustomField::getObjectFields12,821 us9.6%51 us0.2%
mysqli::real_connect52,740 us9.3%2,740 us9.3%
AphrontApplicationConfiguration::buildController12,579 us8.8%77 us0.3%
PhabricatorSpacesNamespaceQuery::getAllSpaces22,572 us8.8%27 us0.1%
PhabricatorSpacesNamespaceQuery::getSpacesExist12,567 us8.7%2 us0.0%
AphrontController::handleRequest12,539 us8.6%6 us0.0%
DarkConsoleDataController::processRequest12,533 us8.6%30 us0.1%
PhabricatorSpacesNamespaceQuery::loadPage12,310 us7.9%6 us0.0%
PhabricatorCustomField::buildFieldList12,177 us7.4%25 us0.1%
PhabricatorAuthSessionEngine::willServeRequestForUser11,911 us6.5%15 us0.1%
PhabricatorUser::getTranslation11,896 us6.5%9 us0.0%
PhutilKeyValueCache::getKey241,781 us6.1%80 us0.3%
PhabricatorUser::getUserSetting21,753 us6.0%29 us0.1%
queryfx_all61,744 us5.9%28 us0.1%
PhabricatorProjectConfiguredCustomField::createFields11,645 us5.6%8 us0.0%
PhabricatorSetting::getAllSettings21,632 us5.6%12 us0.0%
queryfx61,626 us5.5%35 us0.1%
PhutilKeyValueCacheProfiler::getKeys31,619 us5.5%32 us0.1%
qsprintf361,550 us5.3%133 us0.5%
PhabricatorStandardCustomField::buildStandardFields21,550 us5.3%35 us0.1%
PhabricatorKeyValueDatabaseCache::getKeys11,511 us5.1%24 us0.1%
xsprintf361,412 us4.8%564 us1.9%
PhabricatorPlatformSite::getRoutingMaps11,256 us4.3%379 us1.3%
LiskDAO::loadAllWhere11,165 us4.0%6 us0.0%
LiskDAO::loadRawDataWhere11,082 us3.7%19 us0.1%
PhabricatorPolicyQuery::getObjectPolicies11,067 us3.6%95 us0.3%
AphrontBaseMySQLDatabaseConnection::executeRawQuery61,060 us3.6%92 us0.3%
PhabricatorKeyValueDatabaseCache::establishConnection11,059 us3.6%12 us0.0%
PhabricatorAuthSessionEngine::getUserCacheQueryParts1900 us3.1%59 us0.2%
AphrontMySQLiDatabaseConnection::rawQuery6853 us2.9%50 us0.2%
PhabricatorPolicyQuery::getObjectPolicyRules1796 us2.7%40 us0.1%
mysqli::query6796 us2.7%796 us2.7%
xsprintf_query94763 us2.6%391 us1.3%
PhabricatorPolicyQuery::getGlobalPolicies1758 us2.6%98 us0.3%
PhutilErrorHandler::handleError1714 us2.4%20 us0.1%
PhutilErrorHandler::dispatchErrorMessage1662 us2.3%20 us0.1%
PhabricatorEnv::getEnvConfig169598 us2.0%102 us0.3%
PhutilErrorHandler::outputStacktrace1580 us2.0%12 us0.0%
AphrontApplicationConfiguration::buildSiteForRequest1560 us1.9%10 us0.0%
PhutilErrorHandler::formatStacktrace1541 us1.8%63 us0.2%
LiskDAO::loadFromArray7534 us1.8%149 us0.5%
call_user_func133530 us1.8%151 us0.5%
newv165516 us1.8%344 us1.2%
PhabricatorConfigStackSource::getKeys19496 us1.7%148 us0.5%
AphrontApplicationConfiguration::routePath1442 us1.5%44 us0.1%
PhutilErrorHandler::getLibraryVersions1413 us1.4%149 us0.5%
mysqli::set_charset5401 us1.4%401 us1.4%
AphrontRoutingMap::routePath25398 us1.4%104 us0.4%
LiskDAO::checkProperty58396 us1.3%79 us0.3%
PhabricatorCursorPagedPolicyAwareQuery::buildWhereClause3376 us1.3%14 us0.0%
AphrontDefaultApplicationConfiguration::buildRequest1374 us1.3%44 us0.1%
queryfx_one1370 us1.3%8 us0.0%
run_init::query/PhabricatorSpacesNamespaceQuery.php1357 us1.2%41 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClause3351 us1.2%13 us0.0%
DarkConsoleCore::__construct1350 us1.2%19 us0.1%
PhabricatorConfigProxySource::getKeys95348 us1.2%170 us0.6%
pht27335 us1.1%102 us0.3%