XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total34,048163,458 us100.0%163,458 us100.0%
main()1163,458 us100.0%97 us0.1%
AphrontApplicationConfiguration::processRequest1161,507 us98.8%77 us0.0%
DarkConsoleController::handleRequest194,988 us58.1%30 us0.0%
DarkConsoleController::writeDarkConsoleSetting194,519 us57.8%76 us0.0%
PhabricatorApplicationTransactionEditor::applyTransactions166,648 us40.8%274 us0.2%
PhabricatorPolicyAwareQuery::execute1263,229 us38.7%627 us0.4%
PhabricatorController::willBeginExecution161,018 us37.3%146 us0.1%
call_user_func_array29442,096 us25.8%809 us0.5%
queryfx2341,197 us25.2%245 us0.1%
AphrontBaseMySQLDatabaseConnection::executeRawQuery2338,708 us23.7%472 us0.3%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows937,911 us23.2%70 us0.0%
PhabricatorPolicyFilter::apply1737,851 us23.2%406 us0.2%
LiskDAO::establishConnection2437,851 us23.2%258 us0.2%
PhabricatorLiskDAO::establishLiveConnection736,695 us22.4%85 us0.1%
PhabricatorLiskDAO::newClusterConnection736,519 us22.3%63 us0.0%
PhabricatorPolicyFilter::hasCapability636,278 us22.2%66 us0.0%
PhabricatorSpacesNamespaceQuery::getViewerSpaces136,012 us22.0%35 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage835,979 us22.0%63 us0.0%
PhabricatorDatabaseRef::isReachable735,724 us21.9%70 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection11335,684 us21.8%115 us0.1%
AphrontBaseMySQLDatabaseConnection::openConnection735,609 us21.8%18 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection735,569 us21.8%136 us0.1%
AphrontMySQLiDatabaseConnection::connect735,241 us21.6%228 us0.1%
AphrontMySQLiDatabaseConnection::rawQuery2330,901 us18.9%404 us0.2%
mysqli::poll2329,503 us18.0%29,503 us18.0%
PhutilSymbolLoader::selectAndLoadSymbols19927,233 us16.7%6,803 us4.2%
mysqli::real_connect726,896 us16.5%26,896 us16.5%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection926,784 us16.4%67 us0.0%
LiskDAO::save420,966 us12.8%19 us0.0%
queryfx_all1420,356 us12.5%89 us0.1%
PhutilSymbolLoader::loadSymbol38819,197 us11.7%3,479 us2.1%
spl_autoload_call18418,036 us11.0%492 us0.3%
__phutil_autoload18417,637 us10.8%1,387 us0.8%
LiskDAO::insert317,528 us10.7%13 us0.0%
LiskDAO::insertRecordIntoDatabase317,512 us10.7%166 us0.1%
PhabricatorProjectQuery::loadPage317,347 us10.6%17 us0.0%
PhabricatorWorker::scheduleTask116,710 us10.2%37 us0.0%
PhutilClassMapQuery::execute4315,576 us9.5%170 us0.1%
PhutilClassMapQuery::loadMap1515,234 us9.3%656 us0.4%
PhutilBootloader::loadLibrarySource37315,151 us9.3%1,566 us1.0%
AphrontDatabaseConnection::query614,717 us9.0%38 us0.0%
PhabricatorPeopleQuery::didFilterPage114,563 us8.9%4 us0.0%
PhabricatorPeopleQuery::fillUserCaches114,559 us8.9%56 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildStandardPageQuery914,268 us8.7%189 us0.1%
PhabricatorApplicationTransactionEditor::expandSupportTransactions114,230 us8.7%29 us0.0%
PhabricatorMarkupEngine::getEngine114,026 us8.6%10 us0.0%
PhabricatorMarkupEngine::newMarkupEngine114,015 us8.6%382 us0.2%
PhabricatorWorkerActiveTask::save113,841 us8.5%6 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease113,834 us8.5%29 us0.0%
PhutilBootloader::executeInclude37313,395 us8.2%5,204 us3.2%
PhabricatorPolicyFilter::loadCustomPolicies112,613 us7.7%75 us0.0%
PhutilSymbolLoader::loadObjects1512,483 us7.6%508 us0.3%
PhabricatorAuthSessionEngine::loadUserForSession110,642 us6.5%170 us0.1%
PhabricatorUserPreferencesCacheType::newValueForUsers110,492 us6.4%599 us0.4%
PhabricatorUserPreferencesQuery::loadPage410,078 us6.2%28 us0.0%
PhabricatorPolicyAwareQuery::executeOne410,003 us6.1%35 us0.0%
qsprintf1319,516 us5.8%693 us0.4%
PhabricatorSpacesNamespaceQuery::getAllSpaces29,317 us5.7%35 us0.0%
PhabricatorSpacesNamespaceQuery::getSpacesExist19,307 us5.7%4 us0.0%
PhabricatorPolicyQuery::loadPage19,288 us5.7%37 us0.0%
PhabricatorSpacesNamespaceQuery::loadPage18,919 us5.5%11 us0.0%
xsprintf1318,592 us5.3%2,592 us1.6%
LiskDAO::loadRawDataWhere28,376 us5.1%42 us0.0%
call_user_func1728,260 us5.1%482 us0.3%
mysqli::set_charset77,899 us4.8%7,899 us4.8%
LiskDAO::openTransaction17,770 us4.8%6 us0.0%
LiskDAO::loadAllWhere16,899 us4.2%9 us0.0%
HeraldTranscript::loadXHeraldRulesHeader16,863 us4.2%15 us0.0%
AphrontBaseMySQLDatabaseConnection::checkWrite236,834 us4.2%95 us0.1%
AphrontWriteGuard::willWrite96,655 us4.1%24 us0.0%
PhabricatorUserPreferences::loadUserPreferences16,650 us4.1%26 us0.0%
AphrontRequest::validateCSRF76,608 us4.0%99 us0.1%
PhabricatorUser::validateCSRFToken76,418 us3.9%389 us0.2%
PhabricatorPolicyFilter::checkCapability106,181 us3.8%168 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClause96,020 us3.7%45 us0.0%
PhutilRemarkupEngine::setBlockRules15,839 us3.6%1,242 us0.8%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClauseParts95,708 us3.5%91 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::getOrderVector315,556 us3.4%100 us0.1%
PhabricatorPolicyCapability::getCapabilityByKey65,487 us3.4%25 us0.0%
PhabricatorPolicyCapability::getCapabilityMap65,456 us3.3%51 us0.0%
xsprintf_query2775,430 us3.3%2,238 us1.4%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns365,152 us3.2%269 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::setOrderVector94,993 us3.1%221 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildFerretSelectClause94,980 us3.0%48 us0.0%
AphrontApplicationConfiguration::buildController14,464 us2.7%93 us0.1%
PhabricatorCustomField::getObjectFields24,378 us2.7%119 us0.1%
PhabricatorUserPreferencesEditor::getSettings34,294 us2.6%234 us0.1%
PhabricatorSetting::getAllEnabledSettings44,124 us2.5%287 us0.2%
PhabricatorProjectQuery::getOrderableColumns123,733 us2.3%102 us0.1%
PhabricatorApplicationTransactionEditor::expandTransactions13,725 us2.3%6 us0.0%
PhabricatorUserPreferencesEditor::expandTransaction13,719 us2.3%15 us0.0%
PhabricatorPeopleQuery::loadPage13,520 us2.2%12 us0.0%
queryfx_one23,451 us2.1%23 us0.0%
LiskDAO::update13,377 us2.1%63 us0.0%
PhabricatorCustomField::buildFieldList23,272 us2.0%119 us0.1%
PhabricatorSetting::getAllSettings173,129 us1.9%141 us0.1%
phutil_hashes_are_identical493,044 us1.9%3,036 us1.9%
AphrontDatabaseConnection::queryData22,987 us1.8%14 us0.0%
PhabricatorProjectsPolicyRule::willApplyRules12,961 us1.8%39 us0.0%
PhutilRemarkupBlockRule::setEngine122,933 us1.8%31 us0.0%