XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total33,379156,533 us100.0%156,533 us100.0%
main()1156,533 us100.0%96 us0.1%
AphrontApplicationConfiguration::processRequest1154,663 us98.8%71 us0.0%
DarkConsoleController::handleRequest191,784 us58.6%33 us0.0%
DarkConsoleController::writeDarkConsoleSetting191,363 us58.4%78 us0.0%
PhabricatorApplicationTransactionEditor::applyTransactions165,001 us41.5%242 us0.2%
PhabricatorPolicyAwareQuery::execute1259,642 us38.1%549 us0.4%
PhabricatorController::willBeginExecution157,721 us36.9%141 us0.1%
call_user_func_array29541,682 us26.6%794 us0.5%
queryfx2339,479 us25.2%237 us0.2%
LiskDAO::establishConnection2438,286 us24.5%250 us0.2%
PhabricatorLiskDAO::establishLiveConnection737,231 us23.8%81 us0.1%
AphrontBaseMySQLDatabaseConnection::executeRawQuery2337,158 us23.7%448 us0.3%
PhabricatorLiskDAO::newClusterConnection737,063 us23.7%61 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows936,436 us23.3%67 us0.0%
PhabricatorDatabaseRef::isReachable736,292 us23.2%66 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection11336,250 us23.2%105 us0.1%
AphrontBaseMySQLDatabaseConnection::openConnection736,181 us23.1%16 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection736,145 us23.1%130 us0.1%
AphrontMySQLiDatabaseConnection::connect735,827 us22.9%240 us0.2%
PhabricatorPolicyFilter::apply1735,576 us22.7%363 us0.2%
PhabricatorPolicyFilter::hasCapability634,023 us21.7%67 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage833,828 us21.6%45 us0.0%
PhabricatorSpacesNamespaceQuery::getViewerSpaces133,770 us21.6%31 us0.0%
AphrontMySQLiDatabaseConnection::rawQuery2329,775 us19.0%240 us0.2%
mysqli::query2329,457 us18.8%29,457 us18.8%
mysqli::real_connect727,467 us17.5%27,467 us17.5%
PhutilSymbolLoader::selectAndLoadSymbols19625,812 us16.5%6,463 us4.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection925,542 us16.3%65 us0.0%
LiskDAO::save421,353 us13.6%20 us0.0%
queryfx_all1419,189 us12.3%83 us0.1%
PhutilSymbolLoader::loadSymbol38418,241 us11.7%3,517 us2.2%
LiskDAO::insert317,960 us11.5%14 us0.0%
LiskDAO::insertRecordIntoDatabase317,943 us11.5%169 us0.1%
spl_autoload_call18117,043 us10.9%461 us0.3%
__phutil_autoload18116,670 us10.6%1,293 us0.8%
PhabricatorWorker::scheduleTask116,532 us10.6%38 us0.0%
PhabricatorProjectQuery::loadPage316,053 us10.3%16 us0.0%
AphrontDatabaseConnection::query614,995 us9.6%39 us0.0%
PhutilClassMapQuery::execute4514,784 us9.4%174 us0.1%
PhutilBootloader::loadLibrarySource36814,450 us9.2%1,414 us0.9%
PhutilClassMapQuery::loadMap1514,438 us9.2%658 us0.4%
PhabricatorWorkerActiveTask::save113,701 us8.8%7 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease113,693 us8.7%29 us0.0%
PhabricatorPeopleQuery::didFilterPage113,641 us8.7%4 us0.0%
PhabricatorPeopleQuery::fillUserCaches113,637 us8.7%60 us0.0%
PhabricatorApplicationTransactionEditor::expandSupportTransactions113,580 us8.7%31 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildStandardPageQuery913,572 us8.7%183 us0.1%
PhabricatorMarkupEngine::getEngine113,382 us8.5%18 us0.0%
PhabricatorMarkupEngine::newMarkupEngine113,363 us8.5%384 us0.2%
PhutilBootloader::executeInclude36812,825 us8.2%4,942 us3.2%
PhabricatorPolicyFilter::loadCustomPolicies112,550 us8.0%78 us0.0%
PhutilSymbolLoader::loadObjects1511,810 us7.5%514 us0.3%
PhabricatorAuthSessionEngine::loadUserForSession110,357 us6.6%161 us0.1%
PhabricatorUserPreferencesCacheType::newValueForUsers19,927 us6.3%585 us0.4%
PhabricatorPolicyQuery::loadPage19,563 us6.1%38 us0.0%
PhabricatorUserPreferencesQuery::loadPage49,469 us6.0%28 us0.0%
PhabricatorPolicyAwareQuery::executeOne49,330 us6.0%39 us0.0%
qsprintf1319,101 us5.8%720 us0.5%
PhabricatorSpacesNamespaceQuery::getAllSpaces29,036 us5.8%31 us0.0%
PhabricatorSpacesNamespaceQuery::getSpacesExist19,026 us5.8%3 us0.0%
LiskDAO::loadRawDataWhere28,716 us5.6%44 us0.0%
PhabricatorSpacesNamespaceQuery::loadPage18,654 us5.5%11 us0.0%
xsprintf1318,208 us5.2%2,507 us1.6%
mysqli::set_charset77,937 us5.1%7,937 us5.1%
call_user_func1717,752 us5.0%396 us0.3%
LiskDAO::openTransaction17,718 us4.9%6 us0.0%
LiskDAO::loadAllWhere17,295 us4.7%8 us0.0%
HeraldTranscript::loadXHeraldRulesHeader16,644 us4.2%16 us0.0%
AphrontBaseMySQLDatabaseConnection::checkWrite236,408 us4.1%96 us0.1%
AphrontWriteGuard::willWrite96,228 us4.0%24 us0.0%
AphrontRequest::validateCSRF76,180 us3.9%101 us0.1%
PhabricatorUserPreferences::loadUserPreferences16,125 us3.9%25 us0.0%
PhabricatorUser::validateCSRFToken75,991 us3.8%388 us0.2%
PhabricatorPolicyFilter::checkCapability105,975 us3.8%171 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClause95,847 us3.7%46 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClauseParts95,525 us3.5%95 us0.1%
PhutilRemarkupEngine::setBlockRules15,524 us3.5%1,060 us0.7%
PhabricatorCursorPagedPolicyAwareQuery::getOrderVector315,264 us3.4%94 us0.1%
PhabricatorPolicyCapability::getCapabilityByKey65,250 us3.4%24 us0.0%
PhabricatorPolicyCapability::getCapabilityMap65,220 us3.3%50 us0.0%
xsprintf_query2775,159 us3.3%2,178 us1.4%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns364,915 us3.1%279 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::buildFerretSelectClause94,773 us3.0%51 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::setOrderVector94,770 us3.0%211 us0.1%
AphrontApplicationConfiguration::buildController14,345 us2.8%93 us0.1%
PhabricatorCustomField::getObjectFields24,179 us2.7%120 us0.1%
PhabricatorUserPreferencesEditor::getSettings33,973 us2.5%208 us0.1%
PhabricatorSetting::getAllEnabledSettings43,818 us2.4%339 us0.2%
PhabricatorProjectQuery::getOrderableColumns123,538 us2.3%94 us0.1%
PhabricatorPeopleQuery::loadPage13,489 us2.2%11 us0.0%
PhabricatorApplicationTransactionEditor::expandTransactions13,468 us2.2%5 us0.0%
PhabricatorUserPreferencesEditor::expandTransaction13,463 us2.2%15 us0.0%
LiskDAO::update13,331 us2.1%62 us0.0%
PhabricatorCustomField::buildFieldList23,104 us2.0%119 us0.1%
queryfx_one22,976 us1.9%20 us0.0%
PhabricatorSetting::getAllSettings212,974 us1.9%166 us0.1%
AphrontDatabaseConnection::queryData22,843 us1.8%13 us0.0%
phutil_hashes_are_identical492,815 us1.8%2,810 us1.8%
PhutilRemarkupBlockRule::setEngine122,798 us1.8%26 us0.0%
PhutilRemarkupBlockRule::updateRules242,798 us1.8%1,201 us0.8%