XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total101,849136,516 us100.0%136,516 us100.0%
main()1136,516 us100.0%89 us0.1%
AphrontApplicationConfiguration::processRequest1135,156 us99.0%56 us0.0%
DarkConsoleController::handleRequest175,448 us55.3%23 us0.0%
DarkConsoleController::writeDarkConsoleSetting175,159 us55.1%80 us0.1%
queryfx2355,566 us40.7%225 us0.2%
PhabricatorController::willBeginExecution155,356 us40.5%150 us0.1%
PhabricatorApplicationTransactionEditor::applyTransactions154,053 us39.6%231 us0.2%
call_user_func_array1,14153,451 us39.2%1,935 us1.4%
PhabricatorPolicyAwareQuery::execute1251,717 us37.9%553 us0.4%
AphrontBaseMySQLDatabaseConnection::executeQuery2347,676 us34.9%511 us0.4%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage937,953 us27.8%49 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows936,621 us26.8%59 us0.0%
PhutilQueryString::renderString97534,577 us25.3%1,686 us1.2%
xsprintf97534,048 us24.9%10,747 us7.9%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection933,986 us24.9%108 us0.1%
PhabricatorPolicyFilter::apply1832,902 us24.1%403 us0.3%
PhabricatorPolicyFilter::hasCapability631,799 us23.3%67 us0.0%
PhabricatorSpacesNamespaceQuery::getViewerSpaces131,639 us23.2%37 us0.0%
xsprintf_query1,29229,329 us21.5%10,500 us7.7%
call_user_func16727,200 us19.9%221 us0.2%
PhutilQueryString::getMaskedString29227,122 us19.9%295 us0.2%
AphrontDatabaseConnection::query526,700 us19.6%25 us0.0%
AphrontBaseMySQLDatabaseConnection::checkWrite2326,631 us19.5%59 us0.0%
AphrontWriteGuard::willWrite826,486 us19.4%19 us0.0%
AphrontRequest::validateCSRF626,451 us19.4%59 us0.0%
PhabricatorUser::validateCSRFToken626,338 us19.3%22 us0.0%
LiskDAO::save324,017 us17.6%11 us0.0%
PhutilQueryString::getUnmaskedString68323,974 us17.6%784 us0.6%
PhabricatorAuthCSRFEngine::isValidToken623,862 us17.5%167 us0.1%
PhabricatorAuthCSRFEngine::newRawToken4222,919 us16.8%448 us0.3%
queryfx_all1522,657 us16.6%91 us0.1%
PhutilSymbolLoader::selectAndLoadSymbols20222,329 us16.4%6,497 us4.8%
PhabricatorCursorPagedPolicyAwareQuery::buildStandardPageQuery920,556 us15.1%191 us0.1%
qsprintf22820,126 us14.7%890 us0.7%
PhabricatorProjectQuery::loadPage319,827 us14.5%14 us0.0%
PhabricatorWorker::scheduleTask119,327 us14.2%33 us0.0%
PhutilQueryString::__construct22819,163 us14.0%353 us0.3%
PhutilOpaqueEnvelope::mask6418,588 us13.6%18,458 us13.5%
PhabricatorWorkerActiveTask::save117,524 us12.8%5 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease117,519 us12.8%24 us0.0%
LiskDAO::insert217,330 us12.7%8 us0.0%
LiskDAO::insertRecordIntoDatabase217,322 us12.7%84 us0.1%
PhutilSymbolLoader::loadSymbol38915,961 us11.7%2,509 us1.8%
PhutilOpaqueEnvelope::openEnvelope5415,956 us11.7%140 us0.1%
spl_autoload_call18714,694 us10.8%347 us0.3%
__phutil_autoload18714,418 us10.6%1,082 us0.8%
PhutilBootloader::loadLibrarySource37413,639 us10.0%1,079 us0.8%
PhutilBootloader::executeInclude37412,590 us9.2%4,244 us3.1%
PhabricatorAuthSessionEngine::loadUserForSession112,475 us9.1%146 us0.1%
PhutilClassMapQuery::execute4511,632 us8.5%142 us0.1%
PhutilClassMapQuery::loadMap1511,367 us8.3%483 us0.4%
PhabricatorPeopleQuery::didFilterPage110,121 us7.4%3 us0.0%
PhabricatorPeopleQuery::fillUserCaches110,118 us7.4%56 us0.0%
PhabricatorPolicyFilter::loadCustomPolicies19,814 us7.2%87 us0.1%
PhutilSymbolLoader::loadObjects159,745 us7.1%353 us0.3%
PhabricatorUserPreferencesQuery::loadPage49,330 us6.8%23 us0.0%
LiskDAO::establishConnection249,060 us6.6%221 us0.2%
PhabricatorPolicyAwareQuery::executeOne48,397 us6.2%29 us0.0%
PhabricatorLiskDAO::establishLiveConnection88,224 us6.0%80 us0.1%
PhabricatorLiskDAO::newClusterConnection88,060 us5.9%72 us0.1%
PhabricatorApplicationTransactionEditor::expandSupportTransactions17,967 us5.8%25 us0.0%
PhabricatorUserPreferencesCacheType::newValueForUsers17,917 us5.8%422 us0.3%
PhabricatorMarkupEngine::getEngine17,818 us5.7%8 us0.0%
PhabricatorMarkupEngine::newMarkupEngine17,809 us5.7%294 us0.2%
PhabricatorHash::digestWithNamedKey437,306 us5.4%109 us0.1%
PhabricatorDatabaseRef::isReachable87,285 us5.3%70 us0.1%
AphrontBaseMySQLDatabaseConnection::requireConnection2687,199 us5.3%39 us0.0%
AphrontBaseMySQLDatabaseConnection::openConnection87,193 us5.3%15 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection87,160 us5.2%140 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClause96,983 us5.1%45 us0.0%
PhabricatorHash::getNamedHMACKey436,897 us5.1%4,628 us3.4%
AphrontMySQLiDatabaseConnection::connect86,856 us5.0%252 us0.2%
queryfx_one26,777 us5.0%24 us0.0%
LiskDAO::update16,656 us4.9%43 us0.0%
PhabricatorSpacesNamespaceQuery::getAllSpaces26,340 us4.6%42 us0.0%
PhabricatorSpacesNamespaceQuery::getSpacesExist16,330 us4.6%3 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClauseParts96,017 us4.4%88 us0.1%
LiskDAO::openTransaction15,969 us4.4%5 us0.0%
PhabricatorSpacesNamespaceQuery::loadPage15,867 us4.3%11 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderVector315,639 us4.1%78 us0.1%
mysqli::real_connect85,597 us4.1%5,597 us4.1%
PhabricatorUserPreferences::loadUserPreferences15,451 us4.0%20 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns365,298 us3.9%250 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::buildFerretSelectClause95,263 us3.9%46 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::setOrderVector95,216 us3.8%204 us0.1%
AphrontMySQLiDatabaseConnection::rawQuery235,156 us3.8%381 us0.3%
AphrontDatabaseConnection::openTransaction14,986 us3.7%11 us0.0%
LiskDAO::loadNextCounterValue14,951 us3.6%5 us0.0%
PhabricatorPolicyQuery::loadPage14,756 us3.5%50 us0.0%
PhabricatorCustomField::getObjectFields24,727 us3.5%134 us0.1%
PhabricatorProjectsBasePolicyRule::willApplyRules14,661 us3.4%43 us0.0%
LiskDAO::saveTransaction14,628 us3.4%4 us0.0%
AphrontDatabaseConnection::saveTransaction14,614 us3.4%7 us0.0%
LiskDAO::loadRawDataWhere34,407 us3.2%61 us0.0%
PhabricatorProjectQuery::getOrderableColumns124,403 us3.2%102 us0.1%
qsprintf_check_type1,2924,223 us3.1%2,322 us1.7%
LiskDAO::loadAllWhere24,076 us3.0%18 us0.0%
PhabricatorPolicyFilter::checkCapability113,711 us2.7%146 us0.1%
AphrontApplicationConfiguration::buildController13,610 us2.6%97 us0.1%
PhabricatorCustomField::buildFieldList23,538 us2.6%114 us0.1%