XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total101,849260,133 us100.0%260,133 us100.0%
main()1260,133 us100.0%86 us0.0%
AphrontApplicationConfiguration::processRequest1258,725 us99.5%75 us0.0%
DarkConsoleController::handleRequest1196,382 us75.5%32 us0.0%
DarkConsoleController::writeDarkConsoleSetting1195,899 us75.3%120 us0.0%
queryfx23145,847 us56.1%242 us0.1%
PhabricatorApplicationTransactionEditor::applyTransactions1145,052 us55.8%286 us0.1%
call_user_func_array1,141144,267 us55.5%2,343 us0.9%
AphrontBaseMySQLDatabaseConnection::executeQuery23136,246 us52.4%568 us0.2%
AphrontDatabaseConnection::query586,926 us33.4%29 us0.0%
PhabricatorPolicyAwareQuery::execute1286,637 us33.3%572 us0.2%
LiskDAO::save382,889 us31.9%13 us0.0%
AphrontMySQLiDatabaseConnection::rawQuery2374,384 us28.6%387 us0.1%
mysqli::poll2372,994 us28.1%72,994 us28.1%
PhabricatorController::willBeginExecution158,526 us22.5%133 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage957,615 us22.1%51 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows956,291 us21.6%59 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection947,717 us18.3%117 us0.0%
PhabricatorWorker::scheduleTask146,945 us18.0%44 us0.0%
queryfx_all1544,359 us17.1%90 us0.0%
call_user_func16744,291 us17.0%272 us0.1%
AphrontBaseMySQLDatabaseConnection::checkWrite2343,491 us16.7%83 us0.0%
PhabricatorWorkerActiveTask::save143,356 us16.7%6 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease143,350 us16.7%31 us0.0%
AphrontWriteGuard::willWrite843,313 us16.7%22 us0.0%
AphrontRequest::validateCSRF643,273 us16.6%74 us0.0%
PhabricatorUser::validateCSRFToken643,127 us16.6%28 us0.0%
LiskDAO::insert243,031 us16.5%9 us0.0%
LiskDAO::insertRecordIntoDatabase243,021 us16.5%106 us0.0%
PhabricatorPolicyFilter::apply1841,101 us15.8%422 us0.2%
PhutilQueryString::renderString97539,898 us15.3%2,037 us0.8%
LiskDAO::update139,813 us15.3%64 us0.0%
PhabricatorAuthCSRFEngine::isValidToken639,702 us15.3%259 us0.1%
PhabricatorPolicyFilter::hasCapability639,481 us15.2%69 us0.0%
PhabricatorSpacesNamespaceQuery::getViewerSpaces139,346 us15.1%31 us0.0%
xsprintf97539,293 us15.1%12,158 us4.7%
PhabricatorAuthCSRFEngine::newRawToken4238,163 us14.7%719 us0.3%
xsprintf_query1,29234,173 us13.1%12,133 us4.7%
LiskDAO::establishConnection2433,880 us13.0%238 us0.1%
PhabricatorLiskDAO::establishLiveConnection832,944 us12.7%76 us0.0%
PhabricatorLiskDAO::newClusterConnection832,761 us12.6%69 us0.0%
PhabricatorDatabaseRef::isReachable832,064 us12.3%63 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection26832,033 us12.3%93 us0.0%
AphrontBaseMySQLDatabaseConnection::openConnection831,971 us12.3%13 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection831,940 us12.3%131 us0.1%
AphrontMySQLiDatabaseConnection::connect831,645 us12.2%235 us0.1%
PhutilQueryString::getMaskedString29231,546 us12.1%357 us0.1%
PhutilOpaqueEnvelope::mask6428,859 us11.1%28,577 us11.0%
PhutilQueryString::getUnmaskedString68327,963 us10.7%996 us0.4%
PhabricatorPeopleQuery::didFilterPage127,795 us10.7%4 us0.0%
PhabricatorPeopleQuery::fillUserCaches127,791 us10.7%81 us0.0%
mysqli::real_connect826,667 us10.3%26,667 us10.3%
PhutilOpaqueEnvelope::openEnvelope5425,628 us9.9%173 us0.1%
PhabricatorProjectQuery::loadPage324,069 us9.3%14 us0.0%
qsprintf22823,409 us9.0%1,016 us0.4%
PhutilSymbolLoader::selectAndLoadSymbols20223,241 us8.9%6,429 us2.5%
PhabricatorUserPreferencesQuery::loadPage422,453 us8.6%31 us0.0%
PhutilQueryString::__construct22822,310 us8.6%385 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildStandardPageQuery920,270 us7.8%188 us0.1%
PhabricatorPolicyAwareQuery::executeOne419,421 us7.5%38 us0.0%
PhutilSymbolLoader::loadSymbol38916,938 us6.5%2,655 us1.0%
spl_autoload_call18715,000 us5.8%331 us0.1%
PhabricatorUserPreferencesCacheType::newValueForUsers114,824 us5.7%641 us0.2%
__phutil_autoload18714,742 us5.7%1,049 us0.4%
LiskDAO::loadRawDataWhere314,645 us5.6%59 us0.0%
PhutilBootloader::loadLibrarySource37414,417 us5.5%1,123 us0.4%
PhabricatorUserPreferences::loadUserPreferences114,122 us5.4%29 us0.0%
LiskDAO::loadAllWhere213,295 us5.1%16 us0.0%
PhutilBootloader::executeInclude37413,293 us5.1%4,535 us1.7%
PhutilClassMapQuery::execute4512,558 us4.8%160 us0.1%
PhabricatorPolicyFilter::loadCustomPolicies112,472 us4.8%70 us0.0%
PhutilClassMapQuery::loadMap1512,240 us4.7%534 us0.2%
PhabricatorHash::digestWithNamedKey4312,086 us4.6%174 us0.1%
PhabricatorHash::getNamedHMACKey4311,360 us4.4%7,668 us2.9%
PhabricatorApplicationTransactionEditor::expandSupportTransactions111,081 us4.3%33 us0.0%
PhabricatorMarkupEngine::getEngine110,903 us4.2%12 us0.0%
PhabricatorMarkupEngine::newMarkupEngine110,890 us4.2%330 us0.1%
LiskDAO::openTransaction110,773 us4.1%7 us0.0%
PhutilSymbolLoader::loadObjects1510,366 us4.0%397 us0.2%
LiskDAO::saveTransaction110,230 us3.9%6 us0.0%
AphrontDatabaseConnection::saveTransaction110,201 us3.9%9 us0.0%
PhabricatorUserPreferencesEditor::validateTransaction49,413 us3.6%74 us0.0%
PhabricatorAuthSessionEngine::loadUserForSession19,313 us3.6%104 us0.0%
PhabricatorApplicationTransactionEditor::validateTransaction48,166 us3.1%38 us0.0%
PhabricatorApplicationTransactionEditor::validateMFATransactions18,086 us3.1%23 us0.0%
AphrontDatabaseConnection::openTransaction17,761 us3.0%17 us0.0%
LiskDAO::loadNextCounterValue17,672 us2.9%8 us0.0%
HeraldTranscript::loadXHeraldRulesHeader17,013 us2.7%16 us0.0%
PhabricatorPolicyQuery::loadPage16,884 us2.6%30 us0.0%
PhabricatorPolicyFilter::checkCapability116,148 us2.4%177 us0.1%
PhabricatorSpacesNamespaceQuery::getAllSpaces25,834 us2.2%26 us0.0%
PhabricatorSpacesNamespaceQuery::getSpacesExist15,829 us2.2%2 us0.0%
PhabricatorPeopleQuery::loadPage15,819 us2.2%7 us0.0%
queryfx_one25,584 us2.1%19 us0.0%
PhabricatorSpacesNamespaceQuery::loadPage15,571 us2.1%8 us0.0%
PhabricatorPolicyCapability::getCapabilityByKey65,424 us2.1%21 us0.0%
PhabricatorPolicyCapability::getCapabilityMap65,399 us2.1%50 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClause95,373 us2.1%43 us0.0%
PhabricatorProjectsBasePolicyRule::willApplyRules15,351 us2.1%34 us0.0%
PhutilRemarkupEngine::setBlockRules15,309 us2.0%1,299 us0.5%
PhabricatorUserCache::writeCaches15,175 us2.0%40 us0.0%