XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total114,935123,162 us100.0%123,162 us100.0%
main()1123,162 us100.0%71 us0.1%
AphrontApplicationConfiguration::processRequest1122,336 us99.3%51 us0.0%
DarkConsoleController::handleRequest183,720 us68.0%21 us0.0%
DarkConsoleController::writeDarkConsoleSetting183,449 us67.8%61 us0.0%
PhabricatorApplicationTransactionEditor::applyTransactions162,567 us50.8%199 us0.2%
queryfx2457,086 us46.4%194 us0.2%
call_user_func_array1,29253,442 us43.4%1,768 us1.4%
AphrontBaseMySQLDatabaseConnection::executeQuery2449,982 us40.6%468 us0.4%
PhabricatorPolicyAwareQuery::execute1444,304 us36.0%486 us0.4%
PhabricatorController::willBeginExecution135,524 us28.8%117 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage1033,184 us26.9%43 us0.0%
AphrontDatabaseConnection::query632,715 us26.6%24 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows1032,601 us26.5%51 us0.0%
LiskDAO::save431,053 us25.2%13 us0.0%
PhutilQueryString::renderString1,12630,936 us25.1%1,524 us1.2%
xsprintf1,12630,437 us24.7%9,701 us7.9%
call_user_func16830,338 us24.6%209 us0.2%
AphrontBaseMySQLDatabaseConnection::checkWrite2429,796 us24.2%58 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection1029,672 us24.1%102 us0.1%
AphrontWriteGuard::willWrite929,666 us24.1%15 us0.0%
AphrontRequest::validateCSRF729,635 us24.1%59 us0.0%
PhabricatorUser::validateCSRFToken729,525 us24.0%25 us0.0%
PhabricatorAuthCSRFEngine::isValidToken726,802 us21.8%184 us0.1%
xsprintf_query1,46726,356 us21.4%9,704 us7.9%
PhabricatorAuthCSRFEngine::newRawToken4925,749 us20.9%502 us0.4%
LiskDAO::insert324,891 us20.2%8 us0.0%
LiskDAO::insertRecordIntoDatabase324,883 us20.2%128 us0.1%
PhutilQueryString::getMaskedString33424,527 us19.9%265 us0.2%
PhabricatorPolicyFilter::apply2021,810 us17.7%295 us0.2%
PhutilQueryString::getUnmaskedString79221,433 us17.4%715 us0.6%
PhabricatorPolicyFilter::hasCapability620,751 us16.8%47 us0.0%
PhabricatorSpacesNamespaceQuery::getViewerSpaces120,626 us16.7%27 us0.0%
PhutilOpaqueEnvelope::mask7220,006 us16.2%19,989 us16.2%
PhabricatorWorker::scheduleTask118,985 us15.4%34 us0.0%
qsprintf26318,343 us14.9%828 us0.7%
queryfx_all1518,295 us14.9%64 us0.1%
PhutilQueryString::__construct26317,498 us14.2%339 us0.3%
PhutilSymbolLoader::selectAndLoadSymbols20217,391 us14.1%5,535 us4.5%
PhutilOpaqueEnvelope::openEnvelope6117,333 us14.1%139 us0.1%
PhabricatorWorkerActiveTask::save117,237 us14.0%5 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease117,232 us14.0%20 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildStandardPageQuery1016,736 us13.6%165 us0.1%
PhabricatorProjectQuery::loadPage313,073 us10.6%10 us0.0%
PhutilSymbolLoader::loadSymbol38812,083 us9.8%2,120 us1.7%
spl_autoload_call18611,716 us9.5%276 us0.2%
__phutil_autoload18611,496 us9.3%917 us0.7%
PhabricatorPeopleQuery::didFilterPage110,328 us8.4%3 us0.0%
PhabricatorPeopleQuery::fillUserCaches110,325 us8.4%45 us0.0%
PhutilBootloader::loadLibrarySource37210,168 us8.3%924 us0.8%
PhutilBootloader::executeInclude3729,336 us7.6%3,364 us2.7%
PhabricatorUserPreferencesQuery::loadPage49,142 us7.4%22 us0.0%
PhutilClassMapQuery::execute659,044 us7.3%147 us0.1%
PhutilClassMapQuery::loadMap168,773 us7.1%415 us0.3%
PhabricatorUserPreferencesCacheType::newValueForUsers18,540 us6.9%374 us0.3%
PhabricatorHash::digestWithNamedKey508,215 us6.7%126 us0.1%
PhabricatorPolicyAwareQuery::executeOne48,119 us6.6%27 us0.0%
PhabricatorAuthSessionEngine::loadUserForSession18,049 us6.5%91 us0.1%
PhabricatorHash::getNamedHMACKey507,731 us6.3%5,168 us4.2%
PhabricatorApplicationTransactionEditor::expandSupportTransactions17,622 us6.2%22 us0.0%
PhabricatorMarkupEngine::getEngine17,494 us6.1%7 us0.0%
PhabricatorMarkupEngine::newMarkupEngine17,486 us6.1%275 us0.2%
LiskDAO::establishConnection257,412 us6.0%187 us0.2%
PhutilSymbolLoader::loadObjects167,396 us6.0%301 us0.2%
PhabricatorLiskDAO::establishLiveConnection86,709 us5.4%59 us0.0%
PhabricatorPolicyFilter::loadCustomPolicies16,612 us5.4%62 us0.1%
PhabricatorLiskDAO::newClusterConnection86,588 us5.3%53 us0.0%
AphrontMySQLiDatabaseConnection::rawQuery246,323 us5.1%395 us0.3%
LiskDAO::update16,126 us5.0%43 us0.0%
PhabricatorDatabaseRef::isReachable86,094 us4.9%46 us0.0%
AphrontBaseMySQLDatabaseConnection::openConnection86,032 us4.9%10 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection3416,024 us4.9%16 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection86,008 us4.9%111 us0.1%
AphrontMySQLiDatabaseConnection::connect85,771 us4.7%206 us0.2%
LiskDAO::openTransaction15,446 us4.4%5 us0.0%
PhabricatorUserPreferencesEditor::validateTransaction45,373 us4.4%41 us0.0%
PhabricatorUserPreferences::loadUserPreferences15,352 us4.3%18 us0.0%
mysqli::poll244,897 us4.0%4,897 us4.0%
PhabricatorApplicationTransactionEditor::validateTransaction44,764 us3.9%23 us0.0%
mysqli::real_connect84,750 us3.9%4,750 us3.9%
PhabricatorApplicationTransactionEditor::validateMFATransactions14,726 us3.8%28 us0.0%
LiskDAO::loadNextCounterValue14,722 us3.8%6 us0.0%
AphrontDatabaseConnection::openTransaction14,622 us3.8%12 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClause104,611 us3.7%38 us0.0%
LiskDAO::saveTransaction14,468 us3.6%4 us0.0%
AphrontDatabaseConnection::saveTransaction14,454 us3.6%7 us0.0%
PhabricatorAuthFactorConfigQuery::loadPage14,384 us3.6%5 us0.0%
PhabricatorSpacesNamespaceQuery::getAllSpaces23,927 us3.2%25 us0.0%
PhabricatorSpacesNamespaceQuery::getSpacesExist13,922 us3.2%2 us0.0%
queryfx_one23,918 us3.2%16 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClauseParts103,822 us3.1%68 us0.1%
qsprintf_check_type1,4673,727 us3.0%2,089 us1.7%
PhabricatorSpacesNamespaceQuery::loadPage13,637 us3.0%7 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderVector343,595 us2.9%61 us0.0%
PhabricatorProjectsBasePolicyRule::willApplyRules13,483 us2.8%25 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns403,442 us2.8%228 us0.2%
PhabricatorPeopleQuery::loadPage13,322 us2.7%6 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::setOrderVector103,303 us2.7%185 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::buildFerretSelectClause103,280 us2.7%34 us0.0%
PhabricatorPolicyFilter::checkCapability113,273 us2.7%130 us0.1%
PhutilKeyValueCache::getKey1313,031 us2.5%393 us0.3%