XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total31,431123,007 us100.0%123,007 us100.0%
main()1123,007 us100.0%82 us0.1%
AphrontApplicationConfiguration::processRequest1121,737 us99.0%53 us0.0%
DarkConsoleController::handleRequest169,977 us56.9%22 us0.0%
DarkConsoleController::writeDarkConsoleSetting169,674 us56.6%77 us0.1%
PhabricatorApplicationTransactionEditor::applyTransactions152,733 us42.9%199 us0.2%
PhabricatorController::willBeginExecution148,561 us39.5%154 us0.1%
PhabricatorPolicyAwareQuery::execute1245,018 us36.6%435 us0.4%
call_user_func_array25942,634 us34.7%454 us0.4%
queryfx2137,715 us30.7%159 us0.1%
AphrontBaseMySQLDatabaseConnection::executeRawQuery2135,915 us29.2%361 us0.3%
LiskDAO::establishConnection2034,833 us28.3%159 us0.1%
PhabricatorLiskDAO::establishLiveConnection734,296 us27.9%53 us0.0%
PhabricatorLiskDAO::newClusterConnection734,210 us27.8%45 us0.0%
PhabricatorDatabaseRef::isReachable733,739 us27.4%41 us0.0%
AphrontBaseMySQLDatabaseConnection::openConnection733,684 us27.4%8 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection10633,676 us27.4%16 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection733,660 us27.4%100 us0.1%
AphrontMySQLiDatabaseConnection::connect733,442 us27.2%195 us0.2%
AphrontMySQLiDatabaseConnection::rawQuery2132,564 us26.5%163 us0.1%
mysqli::query2132,375 us26.3%32,375 us26.3%
PhabricatorPolicyFilter::apply1631,572 us25.7%263 us0.2%
PhabricatorPolicyFilter::hasCapability530,359 us24.7%45 us0.0%
PhabricatorSpacesNamespaceQuery::getViewerSpaces130,285 us24.6%23 us0.0%
mysqli::real_connect726,888 us21.9%26,888 us21.9%
LiskDAO::save426,466 us21.5%11 us0.0%
PhabricatorWorker::scheduleTask125,440 us20.7%34 us0.0%
LiskDAO::insert324,794 us20.2%15 us0.0%
LiskDAO::insertRecordIntoDatabase324,779 us20.1%143 us0.1%
PhabricatorPolicyFilter::loadCustomPolicies124,543 us20.0%64 us0.1%
PhabricatorWorkerActiveTask::save123,263 us18.9%5 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease123,258 us18.9%20 us0.0%
PhutilSymbolLoader::selectAndLoadSymbols20019,371 us15.7%5,628 us4.6%
AphrontDatabaseConnection::query618,929 us15.4%28 us0.0%
PhabricatorPolicyQuery::loadPage117,098 us13.9%31 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows816,363 us13.3%146 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage715,662 us12.7%29 us0.0%
LiskDAO::loadAllWhere115,646 us12.7%6 us0.0%
LiskDAO::loadRawDataWhere115,558 us12.6%20 us0.0%
PhutilSymbolLoader::loadSymbol37813,909 us11.3%2,124 us1.7%
spl_autoload_call18513,156 us10.7%280 us0.2%
__phutil_autoload18512,930 us10.5%900 us0.7%
PhutilBootloader::loadLibrarySource36311,997 us9.8%1,018 us0.8%
queryfx_all1211,336 us9.2%55 us0.0%
PhutilBootloader::executeInclude36311,091 us9.0%3,173 us2.6%
PhabricatorAuthSessionEngine::loadUserForSession110,547 us8.6%97 us0.1%
PhabricatorPeopleQuery::didFilterPage19,972 us8.1%6 us0.0%
PhabricatorPeopleQuery::fillUserCaches19,966 us8.1%49 us0.0%
PhutilClassMapQuery::execute419,508 us7.7%113 us0.1%
PhutilClassMapQuery::loadMap159,301 us7.6%424 us0.3%
PhabricatorApplicationTransactionEditor::expandSupportTransactions18,727 us7.1%20 us0.0%
PhabricatorMarkupEngine::getEngine18,581 us7.0%8 us0.0%
PhabricatorMarkupEngine::newMarkupEngine18,572 us7.0%301 us0.2%
PhutilSymbolLoader::loadObjects157,905 us6.4%293 us0.2%
PhabricatorProjectQuery::loadPage27,743 us6.3%8 us0.0%
PhabricatorProjectsPolicyRule::willApplyRules17,226 us5.9%39 us0.0%
mysqli::set_charset76,263 us5.1%6,263 us5.1%
PhabricatorUserPreferencesCacheType::newValueForUsers15,538 us4.5%381 us0.3%
LiskDAO::saveTransaction15,090 us4.1%4 us0.0%
AphrontDatabaseConnection::saveTransaction15,070 us4.1%5 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClause84,909 us4.0%28 us0.0%
PhabricatorPolicyAwareQuery::executeOne44,836 us3.9%27 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClauseParts84,660 us3.8%48 us0.0%
PhabricatorUserPreferencesQuery::loadPage44,567 us3.7%22 us0.0%
qsprintf1094,374 us3.6%361 us0.3%
PhabricatorCursorPagedPolicyAwareQuery::buildApplicationSearchJoinClause84,161 us3.4%118 us0.1%
xsprintf1093,981 us3.2%1,422 us1.2%
AphrontDatabaseConnection::queryData13,950 us3.2%5 us0.0%
PhabricatorSpacesNamespaceQuery::getAllSpaces23,891 us3.2%23 us0.0%
PhabricatorSpacesNamespaceQuery::getSpacesExist13,886 us3.2%2 us0.0%
PhabricatorUserCache::writeCaches13,748 us3.0%27 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns323,711 us3.0%199 us0.2%
PhabricatorSpacesNamespaceQuery::loadPage13,624 us2.9%7 us0.0%
LiskDAO::loadNextCounterValue13,595 us2.9%5 us0.0%
PhabricatorPolicyFilter::checkCapability103,536 us2.9%118 us0.1%
PhabricatorCustomField::getObjectFields23,283 us2.7%102 us0.1%
call_user_func1633,274 us2.7%197 us0.2%
PhutilRemarkupEngine::setBlockRules13,180 us2.6%1,386 us1.1%
PhabricatorPolicyCapability::getCapabilityByKey73,136 us2.5%20 us0.0%
PhabricatorPolicyCapability::getCapabilityMap73,116 us2.5%39 us0.0%
PhabricatorProjectQuery::buildJoinClauseParts23,100 us2.5%18 us0.0%
PhabricatorUserPreferences::loadUserPreferences12,881 us2.3%18 us0.0%
PhabricatorProjectQuery::getOrderableColumns82,800 us2.3%36 us0.0%
LiskDAO::openTransaction12,732 us2.2%5 us0.0%
AphrontBaseMySQLDatabaseConnection::checkWrite212,729 us2.2%54 us0.0%
AphrontApplicationConfiguration::buildController12,659 us2.2%80 us0.1%
AphrontWriteGuard::willWrite92,613 us2.1%17 us0.0%
AphrontRequest::validateCSRF72,581 us2.1%59 us0.0%
PhabricatorCustomField::buildFieldList22,485 us2.0%91 us0.1%
PhabricatorUser::validateCSRFToken72,468 us2.0%226 us0.2%
queryfx_one22,458 us2.0%19 us0.0%
PhabricatorUserPreferencesEditor::getSettings32,443 us2.0%242 us0.2%
HeraldTranscript::loadXHeraldRulesHeader12,365 us1.9%11 us0.0%
xsprintf_query2362,323 us1.9%1,149 us0.9%
PhabricatorSetting::getAllEnabledSettings42,229 us1.8%241 us0.2%
PhabricatorApplicationTransactionEditor::expandTransactions12,005 us1.6%4 us0.0%
PhabricatorUserPreferencesEditor::expandTransaction12,001 us1.6%14 us0.0%
PhabricatorSetting::getAllSettings141,762 us1.4%72 us0.1%
PhabricatorPeopleQuery::loadPage11,706 us1.4%10 us0.0%
PhutilTypeSpec::checkMap11,691 us1.4%27 us0.0%
PhutilTypeSpec::newFromString31,650 us1.3%36 us0.0%