XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total34,048124,115 us100.0%124,115 us100.0%
main()1124,115 us100.0%79 us0.1%
AphrontApplicationConfiguration::processRequest1121,881 us98.2%62 us0.0%
DarkConsoleController::handleRequest172,765 us58.6%24 us0.0%
DarkConsoleController::writeDarkConsoleSetting172,481 us58.4%82 us0.1%
PhabricatorApplicationTransactionEditor::applyTransactions152,603 us42.4%236 us0.2%
PhabricatorPolicyAwareQuery::execute1248,068 us38.7%426 us0.3%
PhabricatorController::willBeginExecution145,862 us37.0%112 us0.1%
call_user_func_array29538,063 us30.7%510 us0.4%
LiskDAO::establishConnection2437,162 us29.9%183 us0.1%
queryfx2336,871 us29.7%174 us0.1%
PhabricatorLiskDAO::establishLiveConnection736,537 us29.4%55 us0.0%
PhabricatorLiskDAO::newClusterConnection736,426 us29.3%45 us0.0%
PhabricatorDatabaseRef::isReachable735,982 us29.0%41 us0.0%
AphrontBaseMySQLDatabaseConnection::openConnection735,927 us28.9%9 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection11335,919 us28.9%16 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection735,903 us28.9%96 us0.1%
AphrontMySQLiDatabaseConnection::connect735,692 us28.8%187 us0.2%
AphrontBaseMySQLDatabaseConnection::executeRawQuery2335,325 us28.5%376 us0.3%
AphrontMySQLiDatabaseConnection::rawQuery2331,376 us25.3%297 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows930,609 us24.7%44 us0.0%
mysqli::poll2330,232 us24.4%30,232 us24.4%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage828,493 us23.0%30 us0.0%
mysqli::real_connect727,418 us22.1%27,418 us22.1%
PhabricatorPolicyFilter::apply1827,016 us21.8%280 us0.2%
PhabricatorPolicyFilter::hasCapability625,952 us20.9%47 us0.0%
PhabricatorSpacesNamespaceQuery::getViewerSpaces125,826 us20.8%25 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection920,013 us16.1%49 us0.0%
queryfx_all1419,181 us15.5%59 us0.0%
LiskDAO::save418,246 us14.7%16 us0.0%
PhutilSymbolLoader::selectAndLoadSymbols19617,823 us14.4%5,378 us4.3%
LiskDAO::insert315,898 us12.8%15 us0.0%
LiskDAO::insertRecordIntoDatabase315,883 us12.8%141 us0.1%
PhabricatorWorker::scheduleTask113,980 us11.3%35 us0.0%
PhabricatorProjectQuery::loadPage313,307 us10.7%12 us0.0%
AphrontDatabaseConnection::query612,858 us10.4%30 us0.0%
PhutilSymbolLoader::loadSymbol38312,696 us10.2%2,031 us1.6%
spl_autoload_call18112,146 us9.8%263 us0.2%
PhabricatorWorkerActiveTask::save111,991 us9.7%5 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease111,986 us9.7%23 us0.0%
__phutil_autoload18111,935 us9.6%873 us0.7%
PhutilBootloader::loadLibrarySource36710,870 us8.8%939 us0.8%
PhabricatorPeopleQuery::didFilterPage110,583 us8.5%3 us0.0%
PhabricatorPeopleQuery::fillUserCaches110,580 us8.5%48 us0.0%
PhabricatorPolicyFilter::loadCustomPolicies110,180 us8.2%64 us0.1%
PhutilBootloader::executeInclude36710,025 us8.1%3,498 us2.8%
PhabricatorAuthSessionEngine::loadUserForSession19,115 us7.3%101 us0.1%
PhutilClassMapQuery::execute568,980 us7.2%130 us0.1%
PhutilClassMapQuery::loadMap158,741 us7.0%433 us0.3%
PhabricatorApplicationTransactionEditor::expandSupportTransactions18,285 us6.7%23 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildStandardPageQuery98,160 us6.6%122 us0.1%
PhabricatorMarkupEngine::getEngine18,148 us6.6%8 us0.0%
PhabricatorMarkupEngine::newMarkupEngine18,139 us6.6%292 us0.2%
PhabricatorSpacesNamespaceQuery::getAllSpaces28,065 us6.5%24 us0.0%
PhabricatorSpacesNamespaceQuery::getSpacesExist18,060 us6.5%2 us0.0%
mysqli::set_charset77,976 us6.4%7,976 us6.4%
PhabricatorPolicyQuery::loadPage17,965 us6.4%31 us0.0%
LiskDAO::loadRawDataWhere27,931 us6.4%34 us0.0%
PhabricatorSpacesNamespaceQuery::loadPage17,816 us6.3%6 us0.0%
PhabricatorUserPreferencesQuery::loadPage47,603 us6.1%25 us0.0%
PhutilSymbolLoader::loadObjects157,349 us5.9%302 us0.2%
PhabricatorUserPreferencesCacheType::newValueForUsers17,183 us5.8%408 us0.3%
LiskDAO::openTransaction17,063 us5.7%11 us0.0%
PhabricatorPolicyAwareQuery::executeOne46,921 us5.6%28 us0.0%
HeraldTranscript::loadXHeraldRulesHeader16,851 us5.5%17 us0.0%
LiskDAO::loadAllWhere16,547 us5.3%6 us0.0%
qsprintf1314,961 us4.0%435 us0.4%
PhabricatorUserPreferences::loadUserPreferences14,527 us3.6%18 us0.0%
xsprintf1314,508 us3.6%1,666 us1.3%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClause93,854 us3.1%27 us0.0%
call_user_func1683,779 us3.0%200 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClauseParts93,699 us3.0%62 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderVector313,486 us2.8%53 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns363,282 us2.6%191 us0.2%
AphrontBaseMySQLDatabaseConnection::checkWrite233,253 us2.6%62 us0.0%
PhabricatorPolicyFilter::checkCapability113,224 us2.6%130 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildFerretSelectClause93,211 us2.6%37 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::setOrderVector93,208 us2.6%163 us0.1%
queryfx_one23,175 us2.6%16 us0.0%
AphrontWriteGuard::willWrite93,118 us2.5%19 us0.0%
AphrontRequest::validateCSRF73,084 us2.5%64 us0.1%
PhabricatorUser::validateCSRFToken72,956 us2.4%250 us0.2%
PhabricatorCustomField::getObjectFields22,859 us2.3%101 us0.1%
PhutilRemarkupEngine::setBlockRules12,773 us2.2%966 us0.8%
AphrontDatabaseConnection::queryData22,762 us2.2%10 us0.0%
PhabricatorPolicyCapability::getCapabilityByKey62,748 us2.2%14 us0.0%
PhabricatorPolicyCapability::getCapabilityMap62,734 us2.2%34 us0.0%
PhabricatorPeopleQuery::loadPage12,660 us2.1%8 us0.0%
xsprintf_query2772,566 us2.1%1,318 us1.1%
PhabricatorUserPreferencesEditor::getSettings42,466 us2.0%246 us0.2%
AphrontApplicationConfiguration::buildController12,447 us2.0%86 us0.1%
PhabricatorProjectQuery::getOrderableColumns122,415 us1.9%55 us0.0%
PhabricatorSetting::getAllEnabledSettings52,316 us1.9%263 us0.2%
LiskDAO::update12,305 us1.9%46 us0.0%
PhabricatorCustomField::buildFieldList22,090 us1.7%87 us0.1%
PhabricatorApplicationTransactionEditor::expandTransactions12,055 us1.7%3 us0.0%
PhabricatorUserPreferencesEditor::expandTransaction12,052 us1.7%14 us0.0%
PhabricatorProjectsBasePolicyRule::willApplyRules11,995 us1.6%24 us0.0%
LiskDAO::loadNextCounterValue11,904 us1.5%7 us0.0%
PhabricatorSetting::getAllSettings321,832 us1.5%122 us0.1%
PhabricatorUserPreferencesEditor::applyFinalEffects11,797 us1.4%5 us0.0%