XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total96,213266,542 us100.0%266,542 us100.0%
main()1266,542 us100.0%97 us0.0%
AphrontApplicationConfiguration::processRequest1265,124 us99.5%85 us0.0%
DarkConsoleController::handleRequest1239,493 us89.9%34 us0.0%
DarkConsoleController::writeDarkConsoleSetting1239,031 us89.7%88 us0.0%
PhabricatorApplicationTransactionEditor::applyTransactions1191,027 us71.7%277 us0.1%
queryfx20140,668 us52.8%248 us0.1%
AphrontBaseMySQLDatabaseConnection::executeQuery20133,620 us50.1%544 us0.2%
call_user_func_array523123,254 us46.2%1,355 us0.5%
call_user_func172107,756 us40.4%440 us0.2%
AphrontBaseMySQLDatabaseConnection::checkWrite20106,393 us39.9%100 us0.0%
AphrontWriteGuard::willWrite9106,209 us39.8%25 us0.0%
AphrontRequest::validateCSRF7106,157 us39.8%101 us0.0%
PhabricatorUser::validateCSRFToken7105,956 us39.8%39 us0.0%
AphrontDatabaseConnection::query6101,917 us38.2%45 us0.0%
LiskDAO::save496,811 us36.3%18 us0.0%
PhabricatorAuthCSRFEngine::isValidToken795,536 us35.8%313 us0.1%
PhabricatorAuthCSRFEngine::newRawToken4991,923 us34.5%890 us0.3%
PhutilOpaqueEnvelope::mask6981,056 us30.4%80,340 us30.1%
LiskDAO::insert378,277 us29.4%14 us0.0%
LiskDAO::insertRecordIntoDatabase378,260 us29.4%179 us0.1%
PhutilOpaqueEnvelope::openEnvelope5869,933 us26.2%235 us0.1%
PhabricatorApplicationTransactionEditor::queuePublishing162,117 us23.3%48 us0.0%
PhabricatorWorker::scheduleTask161,913 us23.2%40 us0.0%
PhabricatorWorkerActiveTask::save158,978 us22.1%7 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease158,970 us22.1%28 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage738,257 us14.4%43 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows737,283 us14.0%55 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection731,346 us11.8%61 us0.0%
LiskDAO::establishConnection2128,104 us10.5%230 us0.1%
PhabricatorLiskDAO::establishLiveConnection527,015 us10.1%66 us0.0%
PhutilSymbolLoader::selectAndLoadSymbols19326,928 us10.1%6,827 us2.6%
PhabricatorLiskDAO::newClusterConnection526,820 us10.1%45 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection16126,247 us9.8%145 us0.1%
PhabricatorDatabaseRef::isReachable526,218 us9.8%49 us0.0%
AphrontMySQLiDatabaseConnection::rawQuery2026,209 us9.8%369 us0.1%
AphrontBaseMySQLDatabaseConnection::openConnection526,131 us9.8%14 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection526,102 us9.8%101 us0.0%
PhabricatorPolicyAwareQuery::execute926,021 us9.8%536 us0.2%
AphrontMySQLiDatabaseConnection::connect525,854 us9.7%216 us0.1%
mysqli::poll2024,983 us9.4%24,983 us9.4%
qsprintf19824,887 us9.3%1,159 us0.4%
PhutilQueryString::__construct19823,388 us8.8%997 us0.4%
PhabricatorHash::digestWithNamedKey5022,725 us8.5%234 us0.1%
xsprintf39622,391 us8.4%5,938 us2.2%
LiskDAO::openTransaction122,036 us8.3%7 us0.0%
PhabricatorHash::getNamedHMACKey5021,849 us8.2%16,965 us6.4%
PhabricatorCursorPagedPolicyAwareQuery::buildStandardPageQuery721,094 us7.9%187 us0.1%
PhabricatorPeopleQuery::didFilterPage120,006 us7.5%4 us0.0%
PhabricatorPeopleQuery::fillUserCaches120,002 us7.5%64 us0.0%
PhabricatorController::willBeginExecution119,708 us7.4%95 us0.0%
mysqli::real_connect519,641 us7.4%19,641 us7.4%
PhutilSymbolLoader::loadSymbol36618,845 us7.1%3,391 us1.3%
queryfx_all1118,676 us7.0%80 us0.0%
spl_autoload_call17818,499 us6.9%512 us0.2%
LiskDAO::update118,469 us6.9%63 us0.0%
PhabricatorUserPreferencesEditor::validateTransaction418,412 us6.9%54 us0.0%
__phutil_autoload17818,078 us6.8%1,438 us0.5%
PhabricatorApplicationTransactionEditor::validateTransaction417,169 us6.4%36 us0.0%
PhabricatorApplicationTransactionEditor::validateMFATransactions117,096 us6.4%38 us0.0%
LiskDAO::loadNextCounterValue116,975 us6.4%7 us0.0%
PhabricatorUserPreferences::loadUserPreferences116,940 us6.4%25 us0.0%
PhabricatorAuthSessionEngine::loadUserForSession116,898 us6.3%158 us0.1%
AphrontDatabaseConnection::openTransaction116,657 us6.2%18 us0.0%
LiskDAO::saveTransaction116,588 us6.2%5 us0.0%
AphrontDatabaseConnection::saveTransaction116,556 us6.2%10 us0.0%
PhabricatorUserPreferencesQuery::loadPage416,274 us6.1%32 us0.0%
PhabricatorUserPreferencesCacheType::newValueForUsers115,685 us5.9%669 us0.3%
PhabricatorApplicationTransactionEditor::expandSupportTransactions115,066 us5.7%35 us0.0%
xsprintf_query51215,039 us5.6%6,599 us2.5%
PhutilBootloader::loadLibrarySource35014,994 us5.6%1,479 us0.6%
PhabricatorMarkupEngine::getEngine114,845 us5.6%10 us0.0%
PhabricatorMarkupEngine::newMarkupEngine114,834 us5.6%413 us0.2%
PhutilClassMapQuery::execute5514,759 us5.5%228 us0.1%
PhutilClassMapQuery::loadMap1514,280 us5.4%746 us0.3%
PhutilBootloader::executeInclude35013,333 us5.0%5,246 us2.0%
PhutilSymbolLoader::loadObjects1511,735 us4.4%493 us0.2%
PhutilOpaqueEnvelope::__construct1111,476 us4.3%50 us0.0%
PhabricatorAuthFactorConfigQuery::loadPage110,542 us4.0%8 us0.0%
PhabricatorPolicyAwareQuery::executeOne310,469 us3.9%30 us0.0%
PhabricatorUser::newCSRFEngine710,381 us3.9%157 us0.1%
PhabricatorPolicyFilter::apply119,170 us3.4%243 us0.1%
PhabricatorPeopleQuery::loadPage17,743 us2.9%7 us0.0%
HeraldTranscript::loadXHeraldRulesHeader17,121 us2.7%15 us0.0%
PhutilRemarkupEngine::setBlockRules16,103 us2.3%1,234 us0.5%
mysqli::set_charset55,824 us2.2%5,824 us2.2%
PhabricatorPolicyFilter::checkCapability75,817 us2.2%124 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClause75,578 us2.1%43 us0.0%
PhutilKeyValueCache::getKey1375,479 us2.1%627 us0.2%
PhabricatorAuthFactorConfigQuery::willFilterPage15,409 us2.0%39 us0.0%
PhabricatorUserPreferencesEditor::getSettings55,375 us2.0%381 us0.1%
PhabricatorPolicyCapability::getCapabilityByKey45,278 us2.0%17 us0.0%
PhabricatorPolicyCapability::getCapabilityMap45,257 us2.0%36 us0.0%
queryfx_one25,081 us1.9%25 us0.0%
PhutilKeyValueCacheStack::getKeys604,999 us1.9%589 us0.2%
PhabricatorSetting::getAllEnabledSettings64,979 us1.9%558 us0.2%
AphrontApplicationConfiguration::buildController14,727 us1.8%97 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns564,634 us1.7%408 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClauseParts74,607 us1.7%95 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderVector364,424 us1.7%87 us0.0%
PhabricatorApplicationTransactionEditor::expandTransactions14,241 us1.6%7 us0.0%