XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total32,59495,323 us100.0%95,323 us100.0%
main()195,323 us100.0%81 us0.1%
AphrontApplicationConfiguration::processRequest194,105 us98.7%60 us0.1%
DarkConsoleController::handleRequest167,643 us71.0%24 us0.0%
DarkConsoleController::writeDarkConsoleSetting167,467 us70.8%69 us0.1%
PhabricatorApplicationTransactionEditor::applyTransactions149,357 us51.8%186 us0.2%
queryfx2139,094 us41.0%167 us0.2%
AphrontBaseMySQLDatabaseConnection::executeRawQuery2137,169 us39.0%343 us0.4%
AphrontMySQLiDatabaseConnection::rawQuery2133,725 us35.4%172 us0.2%
mysqli::query2133,529 us35.2%33,529 us35.2%
PhabricatorPolicyAwareQuery::execute1230,975 us32.5%403 us0.4%
call_user_func_array25030,208 us31.7%462 us0.5%
LiskDAO::save429,451 us30.9%13 us0.0%
PhabricatorWorker::scheduleTask128,653 us30.1%31 us0.0%
LiskDAO::insert327,881 us29.2%12 us0.0%
LiskDAO::insertRecordIntoDatabase327,869 us29.2%149 us0.2%
PhabricatorWorkerActiveTask::save126,509 us27.8%4 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease126,505 us27.8%21 us0.0%
AphrontDatabaseConnection::query624,721 us25.9%25 us0.0%
PhabricatorController::willBeginExecution123,544 us24.7%146 us0.2%
PhutilSymbolLoader::selectAndLoadSymbols20519,175 us20.1%5,279 us5.5%
PhabricatorPolicyFilter::apply1918,435 us19.3%831 us0.9%
PhutilSymbolLoader::loadSymbol38114,109 us14.8%2,136 us2.2%
spl_autoload_call19313,219 us13.9%288 us0.3%
__phutil_autoload19312,983 us13.6%959 us1.0%
PhabricatorSpacesNamespaceQuery::getViewerSpaces112,925 us13.6%24 us0.0%
PhutilBootloader::loadLibrarySource37012,187 us12.8%1,014 us1.1%
PhabricatorPeopleQuery::didFilterPage111,868 us12.5%7 us0.0%
PhabricatorPeopleQuery::fillUserCaches111,861 us12.4%53 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows811,420 us12.0%147 us0.2%
PhabricatorPolicyFilter::loadCustomPolicies111,299 us11.9%60 us0.1%
PhutilBootloader::executeInclude37011,277 us11.8%3,235 us3.4%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage710,866 us11.4%30 us0.0%
PhutilClassMapQuery::execute929,356 us9.8%164 us0.2%
PhutilClassMapQuery::loadMap129,025 us9.5%387 us0.4%
PhabricatorUserPreferencesCacheType::newValueForUsers18,114 us8.5%270 us0.3%
PhabricatorApplicationTransactionEditor::expandSupportTransactions17,706 us8.1%22 us0.0%
PhutilSymbolLoader::loadObjects127,676 us8.1%282 us0.3%
PhabricatorMarkupEngine::getEngine17,569 us7.9%7 us0.0%
PhabricatorMarkupEngine::newMarkupEngine17,561 us7.9%305 us0.3%
LiskDAO::loadNextCounterValue17,470 us7.8%6 us0.0%
LiskDAO::establishConnection205,882 us6.2%152 us0.2%
PhabricatorPinnedApplicationsSetting::getSettingDefaultValue15,545 us5.8%118 us0.1%
PhabricatorProjectQuery::loadPage25,459 us5.7%7 us0.0%
PhabricatorLiskDAO::establishLiveConnection75,327 us5.6%87 us0.1%
PhabricatorLiskDAO::newClusterConnection75,199 us5.5%41 us0.0%
PhabricatorProjectsPolicyRule::willApplyRules15,181 us5.4%35 us0.0%
PhabricatorPolicyFilter::checkCapability634,887 us5.1%505 us0.5%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClause84,884 us5.1%30 us0.0%
PhabricatorDatabaseRef::isReachable74,871 us5.1%41 us0.0%
LiskDAO::saveTransaction14,865 us5.1%5 us0.0%
AphrontDatabaseConnection::saveTransaction14,844 us5.1%6 us0.0%
AphrontBaseMySQLDatabaseConnection::openConnection74,813 us5.0%9 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection1064,805 us5.0%13 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection74,792 us5.0%103 us0.1%
qsprintf1094,642 us4.9%378 us0.4%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClauseParts84,636 us4.9%49 us0.1%
AphrontMySQLiDatabaseConnection::connect74,574 us4.8%184 us0.2%
xsprintf1094,231 us4.4%1,529 us1.6%
PhabricatorCursorPagedPolicyAwareQuery::buildApplicationSearchJoinClause84,149 us4.4%121 us0.1%
PhabricatorApplication::isClassInstalledForViewer133,970 us4.2%86 us0.1%
queryfx_all123,885 us4.1%62 us0.1%
PhabricatorPolicyAwareQuery::canViewerUseQueryApplication123,809 us4.0%48 us0.1%
mysqli::real_connect73,736 us3.9%3,736 us3.9%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns323,689 us3.9%171 us0.2%
PhabricatorPolicyCapability::getCapabilityByKey603,626 us3.8%117 us0.1%
PhabricatorPolicyCapability::getCapabilityMap603,509 us3.7%256 us0.3%
PhabricatorAuthSessionEngine::loadUserForSession13,359 us3.5%97 us0.1%
PhabricatorUserPreferencesQuery::loadPage43,310 us3.5%22 us0.0%
PhabricatorPolicyAwareQuery::executeOne43,306 us3.5%31 us0.0%
PhabricatorCustomField::getObjectFields23,301 us3.5%101 us0.1%
PhabricatorPolicyFilter::hasCapability83,289 us3.5%68 us0.1%
call_user_func1543,274 us3.4%179 us0.2%
PhabricatorUserCache::writeCaches13,239 us3.4%33 us0.0%
PhabricatorProjectQuery::buildJoinClauseParts23,103 us3.3%13 us0.0%
AphrontBaseMySQLDatabaseConnection::checkWrite212,807 us2.9%63 us0.1%
PhabricatorProjectQuery::getOrderableColumns82,805 us2.9%39 us0.0%
AphrontWriteGuard::willWrite92,680 us2.8%19 us0.0%
AphrontRequest::validateCSRF72,646 us2.8%60 us0.1%
PhabricatorSpacesNamespaceQuery::getAllSpaces22,643 us2.8%26 us0.0%
PhabricatorSpacesNamespaceQuery::getSpacesExist12,638 us2.8%2 us0.0%
PhabricatorPolicyQuery::loadPage12,594 us2.7%29 us0.0%
PhabricatorUser::validateCSRFToken72,531 us2.7%244 us0.3%
PhabricatorCustomField::buildFieldList22,516 us2.6%94 us0.1%
xsprintf_query2362,448 us2.6%1,176 us1.2%
AphrontApplicationConfiguration::buildController12,413 us2.5%84 us0.1%
PhabricatorSpacesNamespaceQuery::loadPage12,367 us2.5%7 us0.0%
PhutilRemarkupEngine::setBlockRules12,310 us2.4%853 us0.9%
PhabricatorUserPreferences::loadUserPreferences12,295 us2.4%19 us0.0%
PhabricatorApplication::getCapabilities562,222 us2.3%259 us0.3%
PhabricatorAuthSessionEngine::willServeRequestForUser11,986 us2.1%6 us0.0%
PhabricatorUser::getTranslation11,979 us2.1%5 us0.0%
PhabricatorUser::getUserSetting31,880 us2.0%45 us0.0%
PhabricatorSetting::getAllSettings171,771 us1.9%78 us0.1%
PhutilTypeSpec::checkMap11,678 us1.8%27 us0.0%
PhutilTypeSpec::newFromString31,636 us1.7%33 us0.0%
PhabricatorProjectConfiguredCustomField::createFields11,574 us1.7%7 us0.0%
PhabricatorPeopleQuery::loadPage11,539 us1.6%9 us0.0%
LiskDAO::update11,532 us1.6%49 us0.1%
PhabricatorPolicyFilter::getObjectPolicy1261,494 us1.6%193 us0.2%
LiskDAO::openTransaction11,492 us1.6%5 us0.0%