XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total32,59492,226 us100.0%92,226 us100.0%
main()192,226 us100.0%107 us0.1%
AphrontApplicationConfiguration::processRequest190,788 us98.4%72 us0.1%
DarkConsoleController::handleRequest162,007 us67.2%23 us0.0%
DarkConsoleController::writeDarkConsoleSetting161,826 us67.0%65 us0.1%
PhabricatorApplicationTransactionEditor::applyTransactions142,064 us45.6%191 us0.2%
PhabricatorPolicyAwareQuery::execute1233,664 us36.5%374 us0.4%
queryfx2133,396 us36.2%163 us0.2%
AphrontBaseMySQLDatabaseConnection::executeRawQuery2131,475 us34.1%345 us0.4%
AphrontMySQLiDatabaseConnection::rawQuery2127,967 us30.3%171 us0.2%
call_user_func_array25027,872 us30.2%483 us0.5%
mysqli::query2127,770 us30.1%27,770 us30.1%
PhabricatorController::willBeginExecution125,214 us27.3%165 us0.2%
AphrontDatabaseConnection::query622,447 us24.3%24 us0.0%
PhutilSymbolLoader::selectAndLoadSymbols20520,614 us22.4%5,421 us5.9%
PhabricatorPolicyFilter::apply1918,950 us20.5%786 us0.9%
LiskDAO::save418,431 us20.0%15 us0.0%
PhabricatorWorker::scheduleTask117,687 us19.2%29 us0.0%
LiskDAO::insert316,961 us18.4%11 us0.0%
LiskDAO::insertRecordIntoDatabase316,950 us18.4%128 us0.1%
PhabricatorWorkerActiveTask::save115,515 us16.8%5 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease115,510 us16.8%22 us0.0%
PhutilSymbolLoader::loadSymbol38115,338 us16.6%2,196 us2.4%
spl_autoload_call19314,277 us15.5%294 us0.3%
__phutil_autoload19314,035 us15.2%1,039 us1.1%
PhabricatorPeopleQuery::didFilterPage113,771 us14.9%8 us0.0%
PhabricatorPeopleQuery::fillUserCaches113,763 us14.9%49 us0.1%
PhabricatorSpacesNamespaceQuery::getViewerSpaces113,577 us14.7%24 us0.0%
PhutilBootloader::loadLibrarySource37013,321 us14.4%1,029 us1.1%
PhutilBootloader::executeInclude37012,396 us13.4%3,624 us3.9%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows811,920 us12.9%149 us0.2%
PhabricatorPolicyFilter::loadCustomPolicies111,801 us12.8%62 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage711,489 us12.5%30 us0.0%
PhutilClassMapQuery::execute929,819 us10.6%164 us0.2%
PhutilClassMapQuery::loadMap129,494 us10.3%399 us0.4%
PhutilSymbolLoader::loadObjects128,138 us8.8%280 us0.3%
LiskDAO::saveTransaction18,086 us8.8%4 us0.0%
AphrontDatabaseConnection::saveTransaction18,066 us8.7%10 us0.0%
PhabricatorApplicationTransactionEditor::expandSupportTransactions18,026 us8.7%21 us0.0%
PhabricatorMarkupEngine::getEngine17,879 us8.5%8 us0.0%
PhabricatorMarkupEngine::newMarkupEngine17,870 us8.5%303 us0.3%
PhabricatorUserPreferencesCacheType::newValueForUsers17,859 us8.5%247 us0.3%
LiskDAO::establishConnection206,135 us6.7%158 us0.2%
PhabricatorProjectQuery::loadPage25,845 us6.3%7 us0.0%
PhabricatorLiskDAO::establishLiveConnection75,583 us6.1%87 us0.1%
PhabricatorProjectsPolicyRule::willApplyRules15,483 us5.9%39 us0.0%
PhabricatorLiskDAO::newClusterConnection75,449 us5.9%41 us0.0%
PhabricatorUserCache::writeCaches15,408 us5.9%32 us0.0%
PhabricatorPinnedApplicationsSetting::getSettingDefaultValue15,363 us5.8%107 us0.1%
PhabricatorDatabaseRef::isReachable75,125 us5.6%41 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClause85,079 us5.5%26 us0.0%
AphrontBaseMySQLDatabaseConnection::openConnection75,070 us5.5%7 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection1065,067 us5.5%13 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection75,054 us5.5%103 us0.1%
PhabricatorPolicyFilter::checkCapability634,847 us5.3%497 us0.5%
AphrontMySQLiDatabaseConnection::connect74,835 us5.2%182 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClauseParts84,829 us5.2%47 us0.1%
qsprintf1094,726 us5.1%379 us0.4%
PhabricatorCursorPagedPolicyAwareQuery::buildApplicationSearchJoinClause84,331 us4.7%119 us0.1%
xsprintf1094,308 us4.7%1,541 us1.7%
PhabricatorApplication::isClassInstalledForViewer134,024 us4.4%77 us0.1%
mysqli::real_connect74,023 us4.4%4,023 us4.4%
PhabricatorPolicyAwareQuery::canViewerUseQueryApplication123,863 us4.2%43 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns323,811 us4.1%178 us0.2%
queryfx_all123,790 us4.1%86 us0.1%
PhabricatorPolicyCapability::getCapabilityByKey603,620 us3.9%89 us0.1%
PhabricatorPolicyCapability::getCapabilityMap603,530 us3.8%253 us0.3%
PhabricatorAuthSessionEngine::loadUserForSession13,487 us3.8%124 us0.1%
PhabricatorPolicyAwareQuery::executeOne43,425 us3.7%27 us0.0%
PhabricatorCustomField::getObjectFields23,405 us3.7%97 us0.1%
PhabricatorPolicyFilter::hasCapability83,378 us3.7%66 us0.1%
call_user_func1543,331 us3.6%177 us0.2%
PhabricatorUserPreferencesQuery::loadPage43,320 us3.6%21 us0.0%
PhabricatorProjectQuery::buildJoinClauseParts23,267 us3.5%15 us0.0%
AphrontApplicationConfiguration::buildController12,994 us3.2%87 us0.1%
PhabricatorProjectQuery::getOrderableColumns82,963 us3.2%42 us0.0%
PhabricatorSpacesNamespaceQuery::getAllSpaces22,904 us3.1%23 us0.0%
PhabricatorSpacesNamespaceQuery::getSpacesExist12,899 us3.1%2 us0.0%
AphrontBaseMySQLDatabaseConnection::checkWrite212,865 us3.1%60 us0.1%
AphrontWriteGuard::willWrite92,742 us3.0%18 us0.0%
AphrontRequest::validateCSRF72,708 us2.9%60 us0.1%
PhabricatorPolicyQuery::loadPage12,705 us2.9%31 us0.0%
PhabricatorCustomField::buildFieldList22,633 us2.9%88 us0.1%
PhabricatorSpacesNamespaceQuery::loadPage12,615 us2.8%11 us0.0%
PhabricatorUser::validateCSRFToken72,587 us2.8%235 us0.3%
xsprintf_query2362,519 us2.7%1,208 us1.3%
PhabricatorAuthSessionEngine::willServeRequestForUser12,376 us2.6%6 us0.0%
PhabricatorUser::getTranslation12,369 us2.6%7 us0.0%
PhabricatorUserPreferences::loadUserPreferences12,345 us2.5%20 us0.0%
PhabricatorApplication::getCapabilities562,265 us2.5%255 us0.3%
PhutilRemarkupEngine::setBlockRules12,249 us2.4%853 us0.9%
PhabricatorUser::getUserSetting32,235 us2.4%44 us0.0%
PhabricatorSetting::getAllSettings172,110 us2.3%80 us0.1%
LiskDAO::loadNextCounterValue11,930 us2.1%5 us0.0%
PhutilTypeSpec::checkMap11,706 us1.8%29 us0.0%
PhabricatorProjectConfiguredCustomField::createFields11,663 us1.8%11 us0.0%
PhutilTypeSpec::newFromString31,662 us1.8%34 us0.0%
PhabricatorPlatformSite::getRoutingMaps11,588 us1.7%490 us0.5%
LiskDAO::openTransaction11,520 us1.6%5 us0.0%
PhabricatorStandardCustomField::buildStandardFields31,516 us1.6%53 us0.1%
PhabricatorPolicyFilter::getObjectPolicy1261,465 us1.6%181 us0.2%