XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total32,59282,077 us100.0%82,077 us100.0%
main()182,077 us100.0%81 us0.1%
AphrontApplicationConfiguration::processRequest180,763 us98.4%55 us0.1%
DarkConsoleController::handleRequest153,678 us65.4%20 us0.0%
DarkConsoleController::writeDarkConsoleSetting153,508 us65.2%65 us0.1%
PhabricatorApplicationTransactionEditor::applyTransactions133,583 us40.9%186 us0.2%
PhabricatorPolicyAwareQuery::execute1233,007 us40.2%447 us0.5%
queryfx2124,422 us29.8%172 us0.2%
PhabricatorController::willBeginExecution124,001 us29.2%157 us0.2%
AphrontBaseMySQLDatabaseConnection::executeRawQuery2122,515 us27.4%373 us0.5%
PhutilSymbolLoader::selectAndLoadSymbols20519,786 us24.1%5,373 us6.5%
AphrontMySQLiDatabaseConnection::rawQuery2119,070 us23.2%186 us0.2%
mysqli::query2118,856 us23.0%18,856 us23.0%
PhabricatorPolicyFilter::apply1918,648 us22.7%837 us1.0%
call_user_func_array25017,990 us21.9%470 us0.6%
PhutilSymbolLoader::loadSymbol38114,608 us17.8%2,157 us2.6%
LiskDAO::save414,287 us17.4%14 us0.0%
spl_autoload_call19313,770 us16.8%294 us0.4%
PhabricatorPeopleQuery::didFilterPage113,549 us16.5%7 us0.0%
PhabricatorPeopleQuery::fillUserCaches113,542 us16.5%57 us0.1%
__phutil_autoload19313,524 us16.5%968 us1.2%
PhabricatorWorker::scheduleTask113,471 us16.4%32 us0.0%
PhabricatorSpacesNamespaceQuery::getViewerSpaces113,088 us15.9%26 us0.0%
LiskDAO::insert312,797 us15.6%8 us0.0%
LiskDAO::insertRecordIntoDatabase312,789 us15.6%131 us0.2%
PhutilBootloader::loadLibrarySource37012,659 us15.4%1,003 us1.2%
AphrontDatabaseConnection::query612,493 us15.2%26 us0.0%
PhutilBootloader::executeInclude37011,764 us14.3%3,377 us4.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows811,644 us14.2%143 us0.2%
PhabricatorWorkerActiveTask::save111,473 us14.0%4 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease111,469 us14.0%55 us0.1%
PhabricatorPolicyFilter::loadCustomPolicies111,414 us13.9%65 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage711,030 us13.4%33 us0.0%
PhutilClassMapQuery::execute929,423 us11.5%160 us0.2%
PhutilClassMapQuery::loadMap129,098 us11.1%394 us0.5%
PhabricatorUserPreferencesCacheType::newValueForUsers18,189 us10.0%245 us0.3%
PhabricatorApplicationTransactionEditor::expandSupportTransactions18,067 us9.8%27 us0.0%
PhabricatorMarkupEngine::getEngine17,909 us9.6%8 us0.0%
PhabricatorMarkupEngine::newMarkupEngine17,900 us9.6%323 us0.4%
PhutilSymbolLoader::loadObjects127,742 us9.4%280 us0.3%
LiskDAO::establishConnection206,107 us7.4%155 us0.2%
PhabricatorLiskDAO::establishLiveConnection75,572 us6.8%89 us0.1%
PhabricatorPinnedApplicationsSetting::getSettingDefaultValue15,560 us6.8%111 us0.1%
PhabricatorProjectQuery::loadPage25,493 us6.7%8 us0.0%
PhabricatorLiskDAO::newClusterConnection75,450 us6.6%43 us0.1%
PhabricatorProjectsPolicyRule::willApplyRules15,185 us6.3%38 us0.0%
PhabricatorDatabaseRef::isReachable75,117 us6.2%39 us0.0%
AphrontBaseMySQLDatabaseConnection::openConnection75,063 us6.2%9 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection1065,055 us6.2%13 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClause85,053 us6.2%28 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection75,042 us6.1%104 us0.1%
AphrontMySQLiDatabaseConnection::connect74,816 us5.9%183 us0.2%
PhabricatorPolicyFilter::checkCapability634,805 us5.9%508 us0.6%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClauseParts84,802 us5.9%47 us0.1%
PhabricatorUserCache::writeCaches14,802 us5.9%31 us0.0%
qsprintf1094,737 us5.8%385 us0.5%
xsprintf1094,318 us5.3%1,567 us1.9%
PhabricatorCursorPagedPolicyAwareQuery::buildApplicationSearchJoinClause84,307 us5.2%121 us0.1%
PhabricatorApplication::isClassInstalledForViewer133,989 us4.9%82 us0.1%
mysqli::real_connect73,988 us4.9%3,988 us4.9%
queryfx_all123,876 us4.7%58 us0.1%
PhabricatorPolicyAwareQuery::canViewerUseQueryApplication123,825 us4.7%48 us0.1%
LiskDAO::saveTransaction13,758 us4.6%4 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns323,747 us4.6%182 us0.2%
AphrontDatabaseConnection::saveTransaction13,738 us4.6%6 us0.0%
PhabricatorPolicyCapability::getCapabilityByKey603,570 us4.3%86 us0.1%
PhabricatorPolicyAwareQuery::executeOne43,495 us4.3%29 us0.0%
PhabricatorPolicyCapability::getCapabilityMap603,483 us4.2%254 us0.3%
PhabricatorAuthSessionEngine::loadUserForSession13,457 us4.2%102 us0.1%
LiskDAO::loadNextCounterValue13,443 us4.2%6 us0.0%
PhabricatorUserPreferencesQuery::loadPage43,397 us4.1%24 us0.0%
PhabricatorCustomField::getObjectFields23,336 us4.1%118 us0.1%
PhabricatorPolicyFilter::hasCapability83,322 us4.0%71 us0.1%
call_user_func1543,237 us3.9%170 us0.2%
PhabricatorProjectQuery::buildJoinClauseParts23,103 us3.8%13 us0.0%
PhabricatorProjectQuery::getOrderableColumns82,797 us3.4%39 us0.0%
AphrontBaseMySQLDatabaseConnection::checkWrite212,768 us3.4%58 us0.1%
PhabricatorSpacesNamespaceQuery::getAllSpaces22,679 us3.3%23 us0.0%
PhabricatorSpacesNamespaceQuery::getSpacesExist12,673 us3.3%1 us0.0%
PhabricatorPolicyQuery::loadPage12,672 us3.3%31 us0.0%
AphrontWriteGuard::willWrite92,645 us3.2%16 us0.0%
AphrontRequest::validateCSRF72,614 us3.2%61 us0.1%
AphrontApplicationConfiguration::buildController12,594 us3.2%86 us0.1%
PhabricatorCustomField::buildFieldList22,520 us3.1%124 us0.2%
PhabricatorUser::validateCSRFToken72,497 us3.0%230 us0.3%
xsprintf_query2362,491 us3.0%1,191 us1.5%
PhabricatorSpacesNamespaceQuery::loadPage12,413 us2.9%6 us0.0%
PhabricatorUserPreferences::loadUserPreferences12,371 us2.9%18 us0.0%
PhabricatorApplication::getCapabilities562,355 us2.9%261 us0.3%
PhutilRemarkupEngine::setBlockRules12,248 us2.7%847 us1.0%
PhabricatorAuthSessionEngine::willServeRequestForUser12,123 us2.6%6 us0.0%
PhabricatorUser::getTranslation12,116 us2.6%6 us0.0%
PhabricatorUser::getUserSetting31,993 us2.4%43 us0.1%
PhabricatorSetting::getAllSettings171,875 us2.3%88 us0.1%
PhabricatorPeopleQuery::loadPage11,655 us2.0%8 us0.0%
LiskDAO::openTransaction11,647 us2.0%5 us0.0%
PhabricatorProjectConfiguredCustomField::createFields11,561 us1.9%32 us0.0%
PhutilTypeSpec::checkMap11,536 us1.9%27 us0.0%
PhutilTypeSpec::newFromString31,496 us1.8%34 us0.0%
PhabricatorPolicyFilter::getObjectPolicy1261,470 us1.8%185 us0.2%
LiskDAO::update11,450 us1.8%46 us0.1%