XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total34,048165,977 us100.0%165,977 us100.0%
main()1165,977 us100.0%100 us0.1%
AphrontApplicationConfiguration::processRequest1163,951 us98.8%80 us0.0%
DarkConsoleController::handleRequest197,231 us58.6%33 us0.0%
DarkConsoleController::writeDarkConsoleSetting196,781 us58.3%85 us0.1%
PhabricatorApplicationTransactionEditor::applyTransactions167,932 us40.9%307 us0.2%
PhabricatorPolicyAwareQuery::execute1263,529 us38.3%579 us0.3%
PhabricatorController::willBeginExecution160,794 us36.6%156 us0.1%
call_user_func_array29543,252 us26.1%839 us0.5%
queryfx2341,370 us24.9%251 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows938,905 us23.4%73 us0.0%
AphrontBaseMySQLDatabaseConnection::executeRawQuery2338,890 us23.4%501 us0.3%
LiskDAO::establishConnection2438,237 us23.0%272 us0.2%
PhabricatorPolicyFilter::apply1837,417 us22.5%434 us0.3%
PhabricatorLiskDAO::establishLiveConnection737,001 us22.3%89 us0.1%
PhabricatorLiskDAO::newClusterConnection736,755 us22.1%69 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage835,991 us21.7%51 us0.0%
PhabricatorDatabaseRef::isReachable735,875 us21.6%78 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection11335,834 us21.6%126 us0.1%
AphrontBaseMySQLDatabaseConnection::openConnection735,748 us21.5%17 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection735,708 us21.5%141 us0.1%
PhabricatorPolicyFilter::hasCapability635,441 us21.4%65 us0.0%
AphrontMySQLiDatabaseConnection::connect735,353 us21.3%257 us0.2%
PhabricatorSpacesNamespaceQuery::getViewerSpaces135,165 us21.2%34 us0.0%
AphrontMySQLiDatabaseConnection::rawQuery2330,866 us18.6%414 us0.2%
mysqli::poll2329,296 us17.7%29,296 us17.7%
PhutilSymbolLoader::selectAndLoadSymbols19627,822 us16.8%6,965 us4.2%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection927,709 us16.7%80 us0.0%
mysqli::real_connect726,908 us16.2%26,908 us16.2%
LiskDAO::save421,781 us13.1%20 us0.0%
queryfx_all1420,550 us12.4%99 us0.1%
PhutilSymbolLoader::loadSymbol38319,579 us11.8%3,442 us2.1%
spl_autoload_call18118,612 us11.2%516 us0.3%
LiskDAO::insert318,371 us11.1%14 us0.0%
LiskDAO::insertRecordIntoDatabase318,354 us11.1%186 us0.1%
__phutil_autoload18118,194 us11.0%1,387 us0.8%
PhabricatorProjectQuery::loadPage317,128 us10.3%18 us0.0%
PhabricatorWorker::scheduleTask116,826 us10.1%43 us0.0%
PhutilClassMapQuery::execute5615,684 us9.4%227 us0.1%
PhutilBootloader::loadLibrarySource36715,516 us9.3%1,530 us0.9%
AphrontDatabaseConnection::query615,514 us9.3%42 us0.0%
PhutilClassMapQuery::loadMap1515,232 us9.2%720 us0.4%
PhabricatorPeopleQuery::didFilterPage114,998 us9.0%4 us0.0%
PhabricatorPeopleQuery::fillUserCaches114,994 us9.0%62 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildStandardPageQuery914,903 us9.0%199 us0.1%
PhabricatorApplicationTransactionEditor::expandSupportTransactions114,420 us8.7%32 us0.0%
PhabricatorMarkupEngine::getEngine114,186 us8.5%11 us0.0%
PhabricatorMarkupEngine::newMarkupEngine114,174 us8.5%396 us0.2%
PhabricatorWorkerActiveTask::save113,872 us8.4%7 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease113,864 us8.4%29 us0.0%
PhutilBootloader::executeInclude36713,800 us8.3%5,360 us3.2%
PhabricatorPolicyFilter::loadCustomPolicies112,887 us7.8%83 us0.1%
PhutilSymbolLoader::loadObjects1512,514 us7.5%516 us0.3%
PhabricatorAuthSessionEngine::loadUserForSession111,117 us6.7%173 us0.1%
PhabricatorUserPreferencesCacheType::newValueForUsers111,057 us6.7%654 us0.4%
PhabricatorUserPreferencesQuery::loadPage410,199 us6.1%32 us0.0%
PhabricatorPolicyAwareQuery::executeOne410,071 us6.1%40 us0.0%
qsprintf1319,644 us5.8%733 us0.4%
PhabricatorPolicyQuery::loadPage19,625 us5.8%39 us0.0%
PhabricatorSpacesNamespaceQuery::getAllSpaces29,471 us5.7%34 us0.0%
PhabricatorSpacesNamespaceQuery::getSpacesExist19,460 us5.7%3 us0.0%
PhabricatorSpacesNamespaceQuery::loadPage19,048 us5.5%11 us0.0%
xsprintf1318,675 us5.2%2,668 us1.6%
LiskDAO::loadRawDataWhere28,495 us5.1%50 us0.0%
call_user_func1688,285 us5.0%428 us0.3%
mysqli::set_charset77,947 us4.8%7,947 us4.8%
LiskDAO::openTransaction17,884 us4.8%7 us0.0%
LiskDAO::loadAllWhere16,988 us4.2%10 us0.0%
AphrontBaseMySQLDatabaseConnection::checkWrite236,976 us4.2%108 us0.1%
AphrontWriteGuard::willWrite96,773 us4.1%26 us0.0%
HeraldTranscript::loadXHeraldRulesHeader16,734 us4.1%16 us0.0%
AphrontRequest::validateCSRF76,719 us4.0%100 us0.1%
PhabricatorUserPreferences::loadUserPreferences16,585 us4.0%24 us0.0%
PhabricatorUser::validateCSRFToken76,510 us3.9%398 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClause96,372 us3.8%48 us0.0%
PhabricatorPolicyFilter::checkCapability116,166 us3.7%202 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClauseParts96,051 us3.6%100 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::getOrderVector315,777 us3.5%101 us0.1%
PhutilRemarkupEngine::setBlockRules15,762 us3.5%1,192 us0.7%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns365,398 us3.3%303 us0.2%
xsprintf_query2775,381 us3.2%2,265 us1.4%
PhabricatorPolicyCapability::getCapabilityByKey65,253 us3.2%25 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::setOrderVector95,251 us3.2%253 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::buildFerretSelectClause95,248 us3.2%53 us0.0%
PhabricatorPolicyCapability::getCapabilityMap65,222 us3.1%57 us0.0%
AphrontApplicationConfiguration::buildController14,728 us2.8%97 us0.1%
PhabricatorCustomField::getObjectFields24,552 us2.7%133 us0.1%
PhabricatorUserPreferencesEditor::getSettings44,538 us2.7%312 us0.2%
PhabricatorSetting::getAllEnabledSettings54,251 us2.6%486 us0.3%
PhabricatorProjectQuery::getOrderableColumns123,875 us2.3%108 us0.1%
PhabricatorPeopleQuery::loadPage13,811 us2.3%12 us0.0%
PhabricatorApplicationTransactionEditor::expandTransactions13,668 us2.2%5 us0.0%
PhabricatorUserPreferencesEditor::expandTransaction13,663 us2.2%17 us0.0%
PhabricatorCustomField::buildFieldList23,364 us2.0%126 us0.1%
queryfx_one23,357 us2.0%24 us0.0%
LiskDAO::update13,344 us2.0%64 us0.0%
PhabricatorSetting::getAllSettings323,313 us2.0%276 us0.2%
phutil_hashes_are_identical493,066 us1.8%3,024 us1.8%
AphrontDatabaseConnection::queryData23,028 us1.8%15 us0.0%
PhabricatorProjectsBasePolicyRule::willApplyRules12,880 us1.7%32 us0.0%
PhutilRemarkupBlockRule::setEngine122,862 us1.7%28 us0.0%