XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total34,047172,325 us100.0%172,325 us100.0%
main()1172,325 us100.0%104 us0.1%
AphrontApplicationConfiguration::processRequest1170,176 us98.8%85 us0.0%
DarkConsoleController::handleRequest1101,289 us58.8%37 us0.0%
DarkConsoleController::writeDarkConsoleSetting1100,797 us58.5%94 us0.1%
PhabricatorApplicationTransactionEditor::applyTransactions171,107 us41.3%295 us0.2%
PhabricatorPolicyAwareQuery::execute1265,654 us38.1%603 us0.3%
PhabricatorController::willBeginExecution162,669 us36.4%163 us0.1%
call_user_func_array29544,229 us25.7%910 us0.5%
queryfx2342,118 us24.4%265 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows940,054 us23.2%82 us0.0%
AphrontBaseMySQLDatabaseConnection::executeRawQuery2339,698 us23.0%522 us0.3%
LiskDAO::establishConnection2439,679 us23.0%309 us0.2%
PhabricatorPolicyFilter::apply1839,131 us22.7%435 us0.3%
PhabricatorLiskDAO::establishLiveConnection738,272 us22.2%96 us0.1%
PhabricatorLiskDAO::newClusterConnection737,962 us22.0%80 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage837,081 us21.5%50 us0.0%
PhabricatorPolicyFilter::hasCapability637,026 us21.5%69 us0.0%
PhabricatorDatabaseRef::isReachable737,009 us21.5%83 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection11336,952 us21.4%126 us0.1%
AphrontBaseMySQLDatabaseConnection::openConnection736,871 us21.4%21 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection736,826 us21.4%153 us0.1%
PhabricatorSpacesNamespaceQuery::getViewerSpaces136,740 us21.3%35 us0.0%
AphrontMySQLiDatabaseConnection::connect736,451 us21.2%274 us0.2%
AphrontMySQLiDatabaseConnection::rawQuery2331,225 us18.1%441 us0.3%
mysqli::poll2329,588 us17.2%29,588 us17.2%
PhutilSymbolLoader::selectAndLoadSymbols19629,257 us17.0%7,414 us4.3%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection928,438 us16.5%82 us0.0%
mysqli::real_connect727,758 us16.1%27,758 us16.1%
LiskDAO::save422,932 us13.3%24 us0.0%
PhutilSymbolLoader::loadSymbol38320,548 us11.9%3,521 us2.0%
queryfx_all1420,544 us11.9%109 us0.1%
LiskDAO::insert319,327 us11.2%20 us0.0%
LiskDAO::insertRecordIntoDatabase319,304 us11.2%197 us0.1%
spl_autoload_call18119,289 us11.2%526 us0.3%
__phutil_autoload18118,865 us10.9%1,474 us0.9%
PhabricatorProjectQuery::loadPage317,856 us10.4%18 us0.0%
PhabricatorWorker::scheduleTask117,850 us10.4%45 us0.0%
PhutilClassMapQuery::execute5616,860 us9.8%221 us0.1%
PhutilClassMapQuery::loadMap1516,389 us9.5%723 us0.4%
PhutilBootloader::loadLibrarySource36716,341 us9.5%1,623 us0.9%
AphrontDatabaseConnection::query616,246 us9.4%46 us0.0%
PhabricatorPeopleQuery::didFilterPage115,572 us9.0%5 us0.0%
PhabricatorPeopleQuery::fillUserCaches115,567 us9.0%68 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildStandardPageQuery915,494 us9.0%202 us0.1%
PhabricatorApplicationTransactionEditor::expandSupportTransactions115,112 us8.8%32 us0.0%
PhabricatorMarkupEngine::getEngine114,893 us8.6%10 us0.0%
PhabricatorMarkupEngine::newMarkupEngine114,882 us8.6%413 us0.2%
PhabricatorWorkerActiveTask::save114,651 us8.5%6 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease114,644 us8.5%31 us0.0%
PhutilBootloader::executeInclude36714,545 us8.4%5,796 us3.4%
PhutilSymbolLoader::loadObjects1513,448 us7.8%582 us0.3%
PhabricatorPolicyFilter::loadCustomPolicies113,277 us7.7%84 us0.0%
PhabricatorUserPreferencesCacheType::newValueForUsers111,705 us6.8%665 us0.4%
PhabricatorAuthSessionEngine::loadUserForSession110,941 us6.3%163 us0.1%
PhabricatorUserPreferencesQuery::loadPage410,362 us6.0%35 us0.0%
PhabricatorPolicyAwareQuery::executeOne410,350 us6.0%44 us0.0%
PhabricatorPolicyQuery::loadPage19,958 us5.8%38 us0.0%
PhabricatorSpacesNamespaceQuery::getAllSpaces29,694 us5.6%33 us0.0%
PhabricatorSpacesNamespaceQuery::getSpacesExist19,683 us5.6%3 us0.0%
qsprintf1319,384 us5.4%759 us0.4%
PhabricatorSpacesNamespaceQuery::loadPage19,263 us5.4%11 us0.0%
call_user_func1688,815 us5.1%435 us0.3%
LiskDAO::loadRawDataWhere28,624 us5.0%53 us0.0%
xsprintf1318,405 us4.9%2,428 us1.4%
mysqli::set_charset78,172 us4.7%8,172 us4.7%
LiskDAO::openTransaction18,087 us4.7%7 us0.0%
AphrontBaseMySQLDatabaseConnection::checkWrite237,386 us4.3%111 us0.1%
AphrontWriteGuard::willWrite97,175 us4.2%28 us0.0%
LiskDAO::loadAllWhere17,119 us4.1%10 us0.0%
AphrontRequest::validateCSRF77,118 us4.1%109 us0.1%
HeraldTranscript::loadXHeraldRulesHeader17,024 us4.1%16 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClause96,961 us4.0%49 us0.0%
PhabricatorUser::validateCSRFToken76,897 us4.0%429 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClauseParts96,627 us3.8%101 us0.1%
PhabricatorUserPreferences::loadUserPreferences16,625 us3.8%25 us0.0%
PhabricatorPolicyFilter::checkCapability116,585 us3.8%215 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::getOrderVector316,280 us3.6%106 us0.1%
PhutilRemarkupEngine::setBlockRules16,111 us3.5%1,302 us0.8%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns365,906 us3.4%299 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::setOrderVector95,732 us3.3%246 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildFerretSelectClause95,732 us3.3%56 us0.0%
PhabricatorPolicyCapability::getCapabilityByKey65,594 us3.2%29 us0.0%
PhabricatorPolicyCapability::getCapabilityMap65,558 us3.2%59 us0.0%
xsprintf_query2775,352 us3.1%2,205 us1.3%
PhabricatorCustomField::getObjectFields25,062 us2.9%131 us0.1%
AphrontApplicationConfiguration::buildController14,994 us2.9%97 us0.1%
PhabricatorUserPreferencesEditor::getSettings44,747 us2.8%352 us0.2%
PhabricatorSetting::getAllEnabledSettings54,477 us2.6%394 us0.2%
PhabricatorProjectQuery::getOrderableColumns124,291 us2.5%105 us0.1%
PhabricatorPeopleQuery::loadPage13,924 us2.3%13 us0.0%
PhabricatorApplicationTransactionEditor::expandTransactions13,914 us2.3%6 us0.0%
PhabricatorUserPreferencesEditor::expandTransaction13,908 us2.3%17 us0.0%
PhabricatorCustomField::buildFieldList23,822 us2.2%127 us0.1%
LiskDAO::update13,531 us2.0%69 us0.0%
PhabricatorSetting::getAllSettings323,527 us2.0%263 us0.2%
phutil_hashes_are_identical493,276 us1.9%3,266 us1.9%
queryfx_one23,151 us1.8%27 us0.0%
PhutilRemarkupBlockRule::setEngine123,114 us1.8%31 us0.0%
PhutilRemarkupBlockRule::updateRules243,112 us1.8%1,222 us0.7%
AphrontDatabaseConnection::queryData22,995 us1.7%16 us0.0%