XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total96,213138,286 us100.0%138,286 us100.0%
main()1138,286 us100.0%72 us0.1%
AphrontApplicationConfiguration::processRequest1137,414 us99.4%52 us0.0%
DarkConsoleController::handleRequest1126,608 us91.6%26 us0.0%
DarkConsoleController::writeDarkConsoleSetting1126,335 us91.4%71 us0.1%
PhabricatorApplicationTransactionEditor::applyTransactions1103,992 us75.2%213 us0.2%
queryfx2081,373 us58.8%154 us0.1%
AphrontBaseMySQLDatabaseConnection::executeQuery2078,096 us56.5%361 us0.3%
call_user_func_array52376,784 us55.5%745 us0.5%
AphrontDatabaseConnection::query670,999 us51.3%28 us0.0%
LiskDAO::save470,163 us50.7%11 us0.0%
LiskDAO::insert364,464 us46.6%10 us0.0%
LiskDAO::insertRecordIntoDatabase364,454 us46.6%140 us0.1%
AphrontMySQLiDatabaseConnection::rawQuery2045,123 us32.6%336 us0.2%
mysqli::poll2043,963 us31.8%43,963 us31.8%
call_user_func17232,904 us23.8%204 us0.1%
AphrontBaseMySQLDatabaseConnection::checkWrite2032,351 us23.4%59 us0.0%
AphrontWriteGuard::willWrite932,231 us23.3%16 us0.0%
AphrontRequest::validateCSRF732,199 us23.3%64 us0.0%
PhabricatorUser::validateCSRFToken732,085 us23.2%24 us0.0%
PhabricatorAuthCSRFEngine::isValidToken729,120 us21.1%175 us0.1%
PhabricatorAuthCSRFEngine::newRawToken4927,915 us20.2%540 us0.4%
PhutilOpaqueEnvelope::mask6922,362 us16.2%22,136 us16.0%
PhabricatorApplicationTransactionEditor::queuePublishing119,863 us14.4%37 us0.0%
PhabricatorWorker::scheduleTask119,730 us14.3%33 us0.0%
PhutilOpaqueEnvelope::openEnvelope5819,480 us14.1%154 us0.1%
PhabricatorWorkerActiveTask::save117,850 us12.9%6 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease117,843 us12.9%55 us0.0%
PhutilSymbolLoader::selectAndLoadSymbols19316,360 us11.8%5,068 us3.7%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage714,593 us10.6%27 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows714,007 us10.1%37 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection712,883 us9.3%41 us0.0%
qsprintf19811,698 us8.5%665 us0.5%
PhabricatorPolicyAwareQuery::execute911,534 us8.3%392 us0.3%
PhutilSymbolLoader::loadSymbol36611,466 us8.3%1,908 us1.4%
spl_autoload_call17811,295 us8.2%270 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::buildStandardPageQuery711,097 us8.0%125 us0.1%
__phutil_autoload17811,075 us8.0%863 us0.6%
PhutilQueryString::__construct19811,016 us8.0%586 us0.4%
xsprintf39610,430 us7.5%3,409 us2.5%
PhutilBootloader::loadLibrarySource3509,737 us7.0%947 us0.7%
PhutilBootloader::executeInclude3508,880 us6.4%3,153 us2.3%
PhabricatorPeopleQuery::didFilterPage18,459 us6.1%2 us0.0%
PhabricatorPeopleQuery::fillUserCaches18,457 us6.1%60 us0.0%
PhabricatorHash::digestWithNamedKey508,211 us5.9%140 us0.1%
PhutilClassMapQuery::execute558,132 us5.9%136 us0.1%
PhabricatorUserPreferences::loadUserPreferences18,017 us5.8%20 us0.0%
PhutilClassMapQuery::loadMap157,867 us5.7%387 us0.3%
PhabricatorApplicationTransactionEditor::expandSupportTransactions17,817 us5.7%24 us0.0%
PhabricatorHash::getNamedHMACKey507,708 us5.6%5,170 us3.7%
PhabricatorMarkupEngine::getEngine17,683 us5.6%8 us0.0%
PhabricatorMarkupEngine::newMarkupEngine17,674 us5.5%281 us0.2%
PhabricatorController::willBeginExecution17,631 us5.5%71 us0.1%
PhabricatorUserPreferencesCacheType::newValueForUsers17,122 us5.2%422 us0.3%
PhutilSymbolLoader::loadObjects156,674 us4.8%273 us0.2%
PhabricatorUserPreferencesEditor::validateTransaction46,634 us4.8%37 us0.0%
PhabricatorUserPreferencesQuery::loadPage46,456 us4.7%23 us0.0%
xsprintf_query5126,420 us4.6%3,266 us2.4%
PhabricatorAuthSessionEngine::loadUserForSession16,057 us4.4%95 us0.1%
PhabricatorApplicationTransactionEditor::validateTransaction46,013 us4.3%25 us0.0%
PhabricatorApplicationTransactionEditor::validateMFATransactions15,971 us4.3%31 us0.0%
LiskDAO::update15,659 us4.1%46 us0.0%
LiskDAO::openTransaction15,657 us4.1%5 us0.0%
LiskDAO::loadNextCounterValue15,202 us3.8%7 us0.0%
PhabricatorPolicyAwareQuery::executeOne34,948 us3.6%21 us0.0%
PhabricatorPolicyFilter::apply114,939 us3.6%173 us0.1%
AphrontDatabaseConnection::openTransaction14,834 us3.5%12 us0.0%
LiskDAO::saveTransaction14,834 us3.5%4 us0.0%
AphrontDatabaseConnection::saveTransaction14,819 us3.5%7 us0.0%
LiskDAO::establishConnection214,712 us3.4%146 us0.1%
queryfx_all114,453 us3.2%51 us0.0%
PhabricatorLiskDAO::establishLiveConnection54,162 us3.0%37 us0.0%
PhabricatorLiskDAO::newClusterConnection54,077 us2.9%30 us0.0%
PhabricatorPeopleQuery::loadPage13,920 us2.8%5 us0.0%
PhabricatorDatabaseRef::isReachable53,766 us2.7%31 us0.0%
AphrontBaseMySQLDatabaseConnection::openConnection53,723 us2.7%5 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection1613,723 us2.7%13 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection53,710 us2.7%71 us0.1%
AphrontMySQLiDatabaseConnection::connect53,555 us2.6%129 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClause73,295 us2.4%25 us0.0%
PhutilOpaqueEnvelope::__construct113,066 us2.2%28 us0.0%
PhabricatorPolicyFilter::checkCapability73,038 us2.2%77 us0.1%
PhabricatorAuthFactorConfigQuery::loadPage12,961 us2.1%4 us0.0%
PhabricatorUser::newCSRFEngine72,941 us2.1%102 us0.1%
PhutilKeyValueCache::getKey1372,894 us2.1%375 us0.3%
mysqli::real_connect52,882 us2.1%2,882 us2.1%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClauseParts72,801 us2.0%51 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns562,793 us2.0%252 us0.2%
PhutilRemarkupEngine::setBlockRules12,777 us2.0%934 us0.7%
PhabricatorUserPreferencesEditor::getSettings52,764 us2.0%301 us0.2%
PhabricatorPolicyCapability::getCapabilityByKey42,755 us2.0%11 us0.0%
PhabricatorPolicyCapability::getCapabilityMap42,744 us2.0%23 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderVector362,740 us2.0%44 us0.0%
PhutilKeyValueCacheStack::getKeys602,661 us1.9%355 us0.3%
PhabricatorSetting::getAllEnabledSettings62,552 us1.8%305 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::setOrderVector72,466 us1.8%125 us0.1%
AphrontApplicationConfiguration::buildController12,442 us1.8%90 us0.1%
PhabricatorAuthFactorConfigQuery::willFilterPage12,377 us1.7%29 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildFerretSelectClause72,357 us1.7%22 us0.0%
PhabricatorPeopleQuery::getOrderableColumns82,333 us1.7%17 us0.0%
PhutilKeyValueCacheProfiler::getKeys602,228 us1.6%606 us0.4%