XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total116,154350,979 us100.0%350,979 us100.0%
main()1350,979 us100.0%96 us0.0%
AphrontApplicationConfiguration::processRequest1349,700 us99.6%84 us0.0%
DarkConsoleController::handleRequest1252,774 us72.0%41 us0.0%
DarkConsoleController::writeDarkConsoleSetting1252,080 us71.8%92 us0.0%
PhabricatorApplicationTransactionEditor::applyTransactions1187,913 us53.5%325 us0.1%
queryfx24177,174 us50.5%295 us0.1%
call_user_func_array1,207170,862 us48.7%3,348 us1.0%
AphrontBaseMySQLDatabaseConnection::executeQuery24163,541 us46.6%670 us0.2%
PhabricatorPolicyAwareQuery::execute12116,684 us33.2%623 us0.2%
AphrontDatabaseConnection::query6106,159 us30.2%43 us0.0%
call_user_func399104,788 us29.9%945 us0.3%
AphrontBaseMySQLDatabaseConnection::checkWrite2499,945 us28.5%112 us0.0%
AphrontWriteGuard::willWrite999,731 us28.4%27 us0.0%
LiskDAO::save499,684 us28.4%21 us0.0%
AphrontRequest::validateCSRF799,675 us28.4%105 us0.0%
PhabricatorUser::validateCSRFToken799,470 us28.3%40 us0.0%
PhabricatorController::willBeginExecution190,578 us25.8%157 us0.0%
PhabricatorAuthCSRFEngine::isValidToken789,909 us25.6%303 us0.1%
PhabricatorAuthCSRFEngine::newRawToken4986,479 us24.6%894 us0.3%
LiskDAO::insert380,443 us22.9%14 us0.0%
LiskDAO::insertRecordIntoDatabase380,426 us22.9%191 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage977,605 us22.1%61 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows975,688 us21.6%75 us0.0%
PhutilOpaqueEnvelope::mask7274,650 us21.3%73,382 us20.9%
PhabricatorPolicyFilter::apply1865,703 us18.7%430 us0.1%
PhutilOpaqueEnvelope::openEnvelope6164,567 us18.4%257 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection963,122 us18.0%120 us0.0%
PhabricatorWorker::scheduleTask161,526 us17.5%45 us0.0%
PhutilQueryString::renderString1,03860,884 us17.3%2,879 us0.8%
xsprintf1,03859,936 us17.1%15,502 us4.4%
PhabricatorWorkerActiveTask::save158,503 us16.7%7 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease158,495 us16.7%29 us0.0%
xsprintf_query1,36052,910 us15.1%16,918 us4.8%
PhabricatorPolicyFilter::hasCapability652,835 us15.1%68 us0.0%
PhabricatorSpacesNamespaceQuery::getViewerSpaces152,550 us15.0%34 us0.0%
queryfx_all1550,082 us14.3%105 us0.0%
PhutilQueryString::getMaskedString30947,515 us13.5%656 us0.2%
LiskDAO::establishConnection2546,283 us13.2%767 us0.2%
PhabricatorLiskDAO::establishLiveConnection844,289 us12.6%110 us0.0%
PhabricatorLiskDAO::newClusterConnection843,944 us12.5%74 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection32343,113 us12.3%346 us0.1%
PhabricatorDatabaseRef::isReachable842,952 us12.2%78 us0.0%
AphrontBaseMySQLDatabaseConnection::openConnection842,816 us12.2%22 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection842,767 us12.2%156 us0.0%
PhutilQueryString::getUnmaskedString72942,479 us12.1%1,671 us0.5%
AphrontMySQLiDatabaseConnection::connect842,371 us12.1%299 us0.1%
PhutilSymbolLoader::selectAndLoadSymbols20140,789 us11.6%8,291 us2.4%
qsprintf24435,626 us10.2%1,479 us0.4%
AphrontMySQLiDatabaseConnection::rawQuery2435,576 us10.1%449 us0.1%
PhabricatorPolicyAwareQuery::executeOne434,312 us9.8%46 us0.0%
mysqli::poll2433,920 us9.7%33,920 us9.7%
PhutilQueryString::__construct24433,696 us9.6%664 us0.2%
PhabricatorProjectQuery::loadPage332,695 us9.3%18 us0.0%
mysqli::real_connect832,116 us9.2%32,116 us9.2%
PhutilSymbolLoader::loadSymbol50231,037 us8.8%4,648 us1.3%
PhabricatorCursorPagedPolicyAwareQuery::buildStandardPageQuery930,066 us8.6%240 us0.1%
PhabricatorUserPreferences::loadUserPreferences128,581 us8.1%40 us0.0%
PhabricatorUserPreferencesQuery::loadPage426,344 us7.5%34 us0.0%
PhutilClassMapQuery::execute4726,123 us7.4%203 us0.1%
PhutilClassMapQuery::loadMap1725,713 us7.3%1,033 us0.3%
PhutilBootloader::loadLibrarySource48225,560 us7.3%2,074 us0.6%
spl_autoload_call18424,297 us6.9%545 us0.2%
__phutil_autoload18423,852 us6.8%1,498 us0.4%
PhabricatorPeopleQuery::didFilterPage123,731 us6.8%4 us0.0%
PhabricatorPeopleQuery::fillUserCaches123,727 us6.8%67 us0.0%
PhutilBootloader::executeInclude48223,216 us6.6%7,702 us2.2%
PhabricatorHash::digestWithNamedKey5022,545 us6.4%243 us0.1%
LiskDAO::openTransaction122,379 us6.4%8 us0.0%
PhabricatorHash::getNamedHMACKey5021,678 us6.2%16,626 us4.7%
PhutilSymbolLoader::loadObjects1720,779 us5.9%779 us0.2%
PhabricatorAuthSessionEngine::loadUserForSession120,575 us5.9%175 us0.0%
LiskDAO::update119,173 us5.5%64 us0.0%
PhabricatorPolicyFilter::loadCustomPolicies118,698 us5.3%83 us0.0%
PhabricatorUserPreferencesCacheType::newValueForUsers118,253 us5.2%654 us0.2%
LiskDAO::loadRawDataWhere317,656 us5.0%70 us0.0%
LiskDAO::loadNextCounterValue116,935 us4.8%7 us0.0%
AphrontDatabaseConnection::openTransaction116,724 us4.8%17 us0.0%
LiskDAO::saveTransaction116,008 us4.6%5 us0.0%
AphrontDatabaseConnection::saveTransaction115,976 us4.6%9 us0.0%
LiskDAO::loadAllWhere215,791 us4.5%18 us0.0%
PhabricatorApplicationTransactionEditor::expandSupportTransactions115,131 us4.3%32 us0.0%
PhabricatorMarkupEngine::getEngine114,920 us4.3%11 us0.0%
PhabricatorMarkupEngine::newMarkupEngine114,908 us4.2%435 us0.1%
PhabricatorPolicyFilter::applyApplicationChecks1113,211 us3.8%152 us0.0%
PhabricatorPolicyFilter::getApplicationForPHID1112,414 us3.5%83 us0.0%
PhabricatorSpacesNamespaceQuery::getAllSpaces212,125 us3.5%34 us0.0%
PhabricatorSpacesNamespaceQuery::getSpacesExist112,115 us3.5%4 us0.0%
PhabricatorPHIDType::getTypes412,109 us3.5%61 us0.0%
PhabricatorCachedClassMapQuery::loadClasses411,913 us3.4%69 us0.0%
PhabricatorSpacesNamespaceQuery::loadPage111,707 us3.3%11 us0.0%
PhabricatorCachedClassMapQuery::newObjectMap110,974 us3.1%274 us0.1%
PhutilOpaqueEnvelope::__construct1110,464 us3.0%52 us0.0%
PhabricatorPolicyQuery::loadPage110,427 us3.0%39 us0.0%
PhabricatorUserPreferencesEditor::validateTransaction49,924 us2.8%52 us0.0%
mysqli::set_charset89,673 us2.8%9,673 us2.8%
PhabricatorUser::newCSRFEngine79,521 us2.7%155 us0.0%
queryfx_one29,045 us2.6%25 us0.0%
qsprintf_check_type1,3609,031 us2.6%4,448 us1.3%
PhabricatorApplicationTransactionEditor::validateTransaction48,676 us2.5%33 us0.0%
PhabricatorApplicationTransactionEditor::validateMFATransactions18,605 us2.5%21 us0.0%