XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total96,267322,728 us100.0%322,728 us100.0%
main()1322,728 us100.0%107 us0.0%
AphrontApplicationConfiguration::processRequest1321,217 us99.5%112 us0.0%
DarkConsoleController::handleRequest1287,717 us89.2%49 us0.0%
DarkConsoleController::writeDarkConsoleSetting1287,106 us89.0%106 us0.0%
PhabricatorApplicationTransactionEditor::applyTransactions1233,035 us72.2%415 us0.1%
queryfx20167,562 us51.9%292 us0.1%
AphrontBaseMySQLDatabaseConnection::executeQuery20159,121 us49.3%615 us0.2%
call_user_func_array523150,498 us46.6%1,752 us0.5%
call_user_func172132,674 us41.1%653 us0.2%
AphrontBaseMySQLDatabaseConnection::checkWrite20130,331 us40.4%111 us0.0%
AphrontWriteGuard::willWrite9130,122 us40.3%36 us0.0%
AphrontRequest::validateCSRF7130,054 us40.3%124 us0.0%
PhabricatorUser::validateCSRFToken7129,803 us40.2%51 us0.0%
AphrontDatabaseConnection::query6126,625 us39.2%60 us0.0%
PhabricatorAuthCSRFEngine::isValidToken7118,201 us36.6%373 us0.1%
PhabricatorAuthCSRFEngine::newRawToken49113,704 us35.2%1,098 us0.3%
LiskDAO::save4110,862 us34.4%25 us0.0%
PhutilOpaqueEnvelope::mask6997,425 us30.2%79,830 us24.7%
PhutilOpaqueEnvelope::openEnvelope5884,640 us26.2%309 us0.1%
LiskDAO::insert384,287 us26.1%21 us0.0%
LiskDAO::insertRecordIntoDatabase384,262 us26.1%248 us0.1%
PhabricatorApplicationTransactionEditor::queuePublishing161,837 us19.2%68 us0.0%
PhabricatorWorker::scheduleTask161,570 us19.1%42 us0.0%
PhabricatorWorkerActiveTask::save158,614 us18.2%7 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease158,606 us18.2%28 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage743,015 us13.3%53 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows741,774 us12.9%62 us0.0%
PhutilSymbolLoader::selectAndLoadSymbols19335,604 us11.0%8,864 us2.7%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection735,238 us10.9%73 us0.0%
PhabricatorPolicyAwareQuery::execute931,778 us9.8%606 us0.2%
qsprintf19830,733 us9.5%1,421 us0.4%
LiskDAO::establishConnection2129,887 us9.3%288 us0.1%
PhabricatorHash::digestWithNamedKey5029,875 us9.3%312 us0.1%
PhutilQueryString::__construct19828,911 us9.0%1,191 us0.4%
PhabricatorHash::getNamedHMACKey5028,713 us8.9%17,704 us5.5%
PhabricatorLiskDAO::establishLiveConnection528,450 us8.8%78 us0.0%
PhabricatorLiskDAO::newClusterConnection528,168 us8.7%61 us0.0%
xsprintf39627,720 us8.6%6,803 us2.1%
AphrontMySQLiDatabaseConnection::rawQuery2027,590 us8.5%428 us0.1%
LiskDAO::openTransaction127,579 us8.5%9 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection16127,347 us8.5%163 us0.1%
PhabricatorDatabaseRef::isReachable527,337 us8.5%65 us0.0%
AphrontBaseMySQLDatabaseConnection::openConnection527,219 us8.4%16 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection527,184 us8.4%128 us0.0%
AphrontMySQLiDatabaseConnection::connect526,877 us8.3%234 us0.1%
LiskDAO::update126,492 us8.2%74 us0.0%
mysqli::poll2026,121 us8.1%26,121 us8.1%
PhabricatorController::willBeginExecution125,341 us7.9%145 us0.0%
PhutilSymbolLoader::loadSymbol36624,936 us7.7%4,160 us1.3%
spl_autoload_call17824,552 us7.6%630 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::buildStandardPageQuery724,416 us7.6%226 us0.1%
__phutil_autoload17824,032 us7.4%1,726 us0.5%
LiskDAO::saveTransaction123,929 us7.4%9 us0.0%
AphrontDatabaseConnection::saveTransaction123,872 us7.4%15 us0.0%
PhabricatorUserPreferencesEditor::validateTransaction422,572 us7.0%60 us0.0%
AphrontDatabaseConnection::openTransaction122,133 us6.9%19 us0.0%
PhabricatorUserPreferences::loadUserPreferences121,756 us6.7%25 us0.0%
PhabricatorApplicationTransactionEditor::expandSupportTransactions121,559 us6.7%52 us0.0%
PhabricatorApplicationTransactionEditor::validateTransaction421,303 us6.6%45 us0.0%
PhabricatorApplicationTransactionEditor::validateMFATransactions121,215 us6.6%39 us0.0%
PhabricatorAuthSessionEngine::loadUserForSession121,195 us6.6%216 us0.1%
PhabricatorMarkupEngine::getEngine121,179 us6.6%18 us0.0%
PhabricatorMarkupEngine::newMarkupEngine121,159 us6.6%544 us0.2%
queryfx_all1120,550 us6.4%100 us0.0%
mysqli::real_connect520,421 us6.3%20,421 us6.3%
PhutilBootloader::loadLibrarySource35020,091 us6.2%1,869 us0.6%
PhabricatorPeopleQuery::didFilterPage120,013 us6.2%5 us0.0%
PhabricatorPeopleQuery::fillUserCaches120,008 us6.2%66 us0.0%
PhutilClassMapQuery::execute5819,834 us6.1%254 us0.1%
PhutilClassMapQuery::loadMap1519,319 us6.0%963 us0.3%
xsprintf_query51218,570 us5.8%7,461 us2.3%
PhutilBootloader::executeInclude35017,974 us5.6%6,655 us2.1%
PhabricatorUserPreferencesQuery::loadPage417,849 us5.5%33 us0.0%
LiskDAO::loadNextCounterValue116,992 us5.3%8 us0.0%
PhabricatorUserPreferencesCacheType::newValueForUsers115,625 us4.8%646 us0.2%
PhutilSymbolLoader::loadObjects1515,349 us4.8%629 us0.2%
PhabricatorPolicyAwareQuery::executeOne314,498 us4.5%36 us0.0%
PhutilOpaqueEnvelope::__construct1113,256 us4.1%69 us0.0%
PhabricatorPolicyFilter::apply1112,700 us3.9%308 us0.1%
PhabricatorAuthFactorConfigQuery::loadPage112,650 us3.9%10 us0.0%
PhabricatorUser::newCSRFEngine711,551 us3.6%190 us0.1%
strlen23,6049,814 us3.0%9,730 us3.0%
PhutilRemarkupEngine::setBlockRules18,432 us2.6%1,671 us0.5%
PhabricatorPolicyFilter::checkCapability78,386 us2.6%156 us0.0%
PhabricatorPeopleQuery::loadPage18,009 us2.5%7 us0.0%
PhabricatorPolicyCapability::getCapabilityByKey47,682 us2.4%22 us0.0%
PhabricatorPolicyCapability::getCapabilityMap47,653 us2.4%56 us0.0%
HeraldTranscript::loadXHeraldRulesHeader17,387 us2.3%16 us0.0%
PhabricatorAuthFactorConfigQuery::willFilterPage17,256 us2.2%58 us0.0%
PhutilKeyValueCache::getKey1377,249 us2.2%740 us0.2%
ord20,1317,035 us2.2%7,035 us2.2%
AphrontApplicationConfiguration::buildController16,889 us2.1%144 us0.0%
PhabricatorUserPreferencesEditor::getSettings56,737 us2.1%463 us0.1%
PhutilKeyValueCacheStack::getKeys606,704 us2.1%734 us0.2%
PhabricatorSetting::getAllEnabledSettings66,352 us2.0%594 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClause76,251 us1.9%54 us0.0%
mysqli::set_charset55,988 us1.9%5,988 us1.9%
queryfx_one25,988 us1.9%33 us0.0%
PhabricatorApplicationTransactionEditor::expandTransactions15,610 us1.7%11 us0.0%
PhabricatorUserPreferencesEditor::expandTransaction15,599 us1.7%31 us0.0%