XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total96,213156,834 us100.0%156,834 us100.0%
main()1156,834 us100.0%83 us0.1%
AphrontApplicationConfiguration::processRequest1155,840 us99.4%64 us0.0%
DarkConsoleController::handleRequest1133,111 us84.9%26 us0.0%
DarkConsoleController::writeDarkConsoleSetting1132,796 us84.7%88 us0.1%
PhabricatorApplicationTransactionEditor::applyTransactions198,758 us63.0%255 us0.2%
queryfx2064,634 us41.2%163 us0.1%
AphrontBaseMySQLDatabaseConnection::executeQuery2061,205 us39.0%381 us0.2%
call_user_func_array52355,325 us35.3%766 us0.5%
LiskDAO::save439,365 us25.1%12 us0.0%
AphrontDatabaseConnection::query636,744 us23.4%34 us0.0%
LiskDAO::establishConnection2133,339 us21.3%172 us0.1%
PhabricatorLiskDAO::establishLiveConnection532,737 us20.9%47 us0.0%
PhabricatorLiskDAO::newClusterConnection532,637 us20.8%40 us0.0%
LiskDAO::insert332,415 us20.7%13 us0.0%
LiskDAO::insertRecordIntoDatabase332,402 us20.7%157 us0.1%
PhabricatorDatabaseRef::isReachable532,222 us20.5%41 us0.0%
AphrontBaseMySQLDatabaseConnection::openConnection532,171 us20.5%9 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection16132,164 us20.5%13 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection532,151 us20.5%80 us0.1%
call_user_func17232,071 us20.4%216 us0.1%
AphrontMySQLiDatabaseConnection::connect531,983 us20.4%142 us0.1%
AphrontBaseMySQLDatabaseConnection::checkWrite2031,452 us20.1%63 us0.0%
AphrontWriteGuard::willWrite931,322 us20.0%17 us0.0%
AphrontRequest::validateCSRF731,287 us19.9%66 us0.0%
PhabricatorUser::validateCSRFToken731,161 us19.9%25 us0.0%
AphrontMySQLiDatabaseConnection::rawQuery2029,100 us18.6%276 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage728,626 us18.3%31 us0.0%
PhabricatorAuthCSRFEngine::isValidToken728,173 us18.0%181 us0.1%
mysqli::poll2028,130 us17.9%28,130 us17.9%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows727,999 us17.9%34 us0.0%
PhabricatorApplicationTransactionEditor::queuePublishing127,690 us17.7%47 us0.0%
PhabricatorWorker::scheduleTask127,519 us17.5%35 us0.0%
PhabricatorAuthCSRFEngine::newRawToken4927,001 us17.2%511 us0.3%
mysqli::real_connect525,799 us16.4%25,799 us16.4%
PhabricatorWorkerActiveTask::save125,221 us16.1%6 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease125,215 us16.1%21 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection721,821 us13.9%45 us0.0%
PhutilOpaqueEnvelope::mask6921,524 us13.7%21,470 us13.7%
PhutilSymbolLoader::selectAndLoadSymbols19320,500 us13.1%5,465 us3.5%
PhabricatorController::willBeginExecution118,793 us12.0%76 us0.0%
PhutilOpaqueEnvelope::openEnvelope5818,656 us11.9%150 us0.1%
queryfx_all1117,237 us11.0%54 us0.0%
PhabricatorAuthSessionEngine::loadUserForSession117,010 us10.8%108 us0.1%
PhabricatorPolicyAwareQuery::execute916,719 us10.7%443 us0.3%
PhutilSymbolLoader::loadSymbol36615,216 us9.7%2,033 us1.3%
PhabricatorPeopleQuery::didFilterPage114,681 us9.4%6 us0.0%
PhabricatorPeopleQuery::fillUserCaches114,675 us9.4%56 us0.0%
PhabricatorUserPreferencesEditor::validateTransaction414,608 us9.3%45 us0.0%
spl_autoload_call17814,077 us9.0%285 us0.2%
PhabricatorApplicationTransactionEditor::validateTransaction413,929 us8.9%27 us0.0%
PhabricatorApplicationTransactionEditor::validateMFATransactions113,884 us8.9%35 us0.0%
__phutil_autoload17813,854 us8.8%933 us0.6%
PhutilBootloader::loadLibrarySource35013,377 us8.5%943 us0.6%
PhutilBootloader::executeInclude35012,533 us8.0%4,013 us2.6%
qsprintf19812,054 us7.7%676 us0.4%
PhabricatorCursorPagedPolicyAwareQuery::buildStandardPageQuery711,960 us7.6%139 us0.1%
LiskDAO::openTransaction111,589 us7.4%5 us0.0%
PhutilQueryString::__construct19811,350 us7.2%576 us0.4%
PhabricatorUserPreferences::loadUserPreferences111,059 us7.1%19 us0.0%
PhabricatorUserPreferencesQuery::loadPage411,033 us7.0%24 us0.0%
xsprintf39610,774 us6.9%3,417 us2.2%
PhutilClassMapQuery::execute559,717 us6.2%134 us0.1%
PhabricatorAuthFactorConfigQuery::loadPage19,482 us6.0%5 us0.0%
PhabricatorUserPreferencesCacheType::newValueForUsers19,462 us6.0%424 us0.3%
PhutilClassMapQuery::loadMap159,461 us6.0%437 us0.3%
PhabricatorApplicationTransactionEditor::expandSupportTransactions18,883 us5.7%25 us0.0%
PhabricatorMarkupEngine::getEngine18,722 us5.6%8 us0.0%
PhabricatorMarkupEngine::newMarkupEngine18,713 us5.6%318 us0.2%
PhabricatorHash::digestWithNamedKey508,196 us5.2%122 us0.1%
PhutilSymbolLoader::loadObjects158,104 us5.2%297 us0.2%
PhabricatorHash::getNamedHMACKey507,721 us4.9%5,153 us3.3%
HeraldTranscript::loadXHeraldRulesHeader17,025 us4.5%14 us0.0%
LiskDAO::update16,903 us4.4%45 us0.0%
xsprintf_query5126,672 us4.3%3,363 us2.1%
PhabricatorPolicyAwareQuery::executeOne36,597 us4.2%22 us0.0%
LiskDAO::loadNextCounterValue16,071 us3.9%8 us0.0%
AphrontDatabaseConnection::openTransaction16,064 us3.9%12 us0.0%
mysqli::set_charset55,937 us3.8%5,937 us3.8%
LiskDAO::saveTransaction15,900 us3.8%3 us0.0%
AphrontDatabaseConnection::saveTransaction15,885 us3.8%7 us0.0%
PhabricatorPeopleQuery::loadPage15,702 us3.6%4 us0.0%
PhabricatorPolicyFilter::apply115,605 us3.6%188 us0.1%
queryfx_one24,240 us2.7%16 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClause74,050 us2.6%29 us0.0%
PhabricatorAuthFactorConfigQuery::willFilterPage13,707 us2.4%29 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClauseParts73,506 us2.2%72 us0.0%
PhabricatorUserCache::writeCaches13,478 us2.2%32 us0.0%
PhabricatorPolicyFilter::checkCapability73,453 us2.2%97 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns563,417 us2.2%264 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::getOrderVector363,380 us2.2%50 us0.0%
AphrontApplicationConfiguration::buildController13,142 us2.0%98 us0.1%
PhabricatorPolicyCapability::getCapabilityByKey43,140 us2.0%14 us0.0%
PhabricatorUserPreferencesEditor::getSettings53,129 us2.0%321 us0.2%
PhabricatorPolicyCapability::getCapabilityMap43,125 us2.0%25 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::setOrderVector73,096 us2.0%130 us0.1%
PhutilOpaqueEnvelope::__construct113,049 us1.9%28 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildFerretSelectClause73,008 us1.9%26 us0.0%
PhabricatorPeopleQuery::getOrderableColumns82,965 us1.9%18 us0.0%
PhabricatorUser::newCSRFEngine72,963 us1.9%108 us0.1%
PhutilKeyValueCache::getKey1372,960 us1.9%376 us0.2%