XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total21,745157,073 us100.0%157,073 us100.0%
main()1157,073 us100.0%66 us0.0%
AphrontApplicationConfiguration::processRequest1154,134 us98.1%85 us0.1%
AphrontController::handleRequest181,706 us52.0%9 us0.0%
DarkConsoleDataController::processRequest181,696 us52.0%292 us0.2%
PhabricatorController::willBeginExecution161,005 us38.8%222 us0.1%
DarkConsoleServicesPlugin::renderPanel159,389 us37.8%1,492 us0.9%
PhabricatorPolicyAwareQuery::execute649,604 us31.6%252 us0.2%
PhabricatorPolicyFilter::apply1043,636 us27.8%289 us0.2%
AphrontTableView::render843,466 us27.7%3,628 us2.3%
PhabricatorSpacesNamespaceQuery::getViewerSpaces143,298 us27.6%39 us0.0%
phutil_tag68239,180 us24.9%4,985 us3.2%
phutil_escape_html1,75833,982 us21.6%18,193 us11.6%
PhabricatorPolicyFilter::loadCustomPolicies132,516 us20.7%96 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows328,880 us18.4%98 us0.1%
queryfx_all728,744 us18.3%112 us0.1%
queryfx728,448 us18.1%80 us0.1%
pht17224,627 us15.7%933 us0.6%
PhabricatorProjectQuery::loadPage223,434 us14.9%57 us0.0%
PhutilSymbolLoader::selectAndLoadSymbols9323,391 us14.9%5,104 us3.2%
PhutilTranslator::translate42822,964 us14.6%20,095 us12.8%
PhutilSymbolLoader::loadSymbol19820,093 us12.8%5,871 us3.7%
qsprintf2819,964 us12.7%208 us0.1%
xsprintf2819,710 us12.5%765 us0.5%
xsprintf_query6818,805 us12.0%4,219 us2.7%
PhutilSymbolLoader::loadObjects714,649 us9.3%277 us0.2%
PhutilBootloader::loadLibrarySource18314,359 us9.1%729 us0.5%
PhabricatorProjectsPolicyRule::willApplyRules114,275 us9.1%54 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection2514,212 us9.0%21 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection514,191 us9.0%101 us0.1%
AphrontMySQLiDatabaseConnection::escapeUTF8String1114,132 us9.0%43 us0.0%
AphrontMySQLiDatabaseConnection::escapeBinaryString1113,984 us8.9%44 us0.0%
AphrontMySQLiDatabaseConnection::connect513,957 us8.9%156 us0.1%
PhutilBootloader::executeInclude18313,601 us8.7%2,219 us1.4%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClause313,262 us8.4%23 us0.0%
AphrontBaseMySQLDatabaseConnection::executeRawQuery712,614 us8.0%159 us0.1%
PhabricatorProjectQuery::buildJoinClauseParts212,587 us8.0%40 us0.0%
AphrontMySQLiDatabaseConnection::rawQuery711,973 us7.6%54 us0.0%
mysqli::query711,918 us7.6%11,918 us7.6%
AphrontApplicationConfiguration::buildController110,993 us7.0%26 us0.0%
PhutilSafeHTML::__toString68610,722 us6.8%10,722 us6.8%
spl_autoload_call8510,074 us6.4%204 us0.1%
AphrontApplicationConfiguration::buildControllerForPath110,001 us6.4%8,471 us5.4%
__phutil_autoload859,921 us6.3%720 us0.5%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClauseParts39,548 us6.1%23 us0.0%
PhabricatorPolicyQuery::loadPage19,542 us6.1%47 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildApplicationSearchJoinClause39,315 us5.9%86 us0.1%
mysqli::real_connect59,010 us5.7%9,010 us5.7%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns128,885 us5.7%112 us0.1%
PhabricatorProjectQuery::getOrderableColumns88,834 us5.6%47 us0.0%
PhutilClassMapQuery::execute98,660 us5.5%40 us0.0%
PhabricatorCustomField::getObjectFields18,605 us5.5%69 us0.0%
PhutilClassMapQuery::loadMap38,576 us5.5%231 us0.1%
PhabricatorPolicyAwareQuery::canViewerUseQueryApplication68,501 us5.4%63 us0.0%
PhabricatorPolicyFilter::checkCapability78,496 us5.4%132 us0.1%
PhabricatorApplication::isClassInstalledForViewer48,438 us5.4%40 us0.0%
PhabricatorPolicyFilter::hasCapability58,319 us5.3%74 us0.0%
PhabricatorPolicyCapability::getCapabilityByKey58,083 us5.1%20 us0.0%
PhabricatorPolicyCapability::getCapabilityMap58,058 us5.1%47 us0.0%
PhutilKeyValueCache::getKey197,942 us5.1%92 us0.1%
PhabricatorCustomField::buildFieldList17,809 us5.0%56 us0.0%
PhutilKeyValueCacheProfiler::getKeys37,708 us4.9%62 us0.0%
LiskDAO::loadRawDataWhere27,388 us4.7%49 us0.0%
PhabricatorSpacesNamespaceQuery::getAllSpaces27,106 us4.5%36 us0.0%
PhabricatorSpacesNamespaceQuery::getSpacesExist17,097 us4.5%3 us0.0%
AphrontDatabaseConnection::queryData27,079 us4.5%14 us0.0%
call_user_func_array2367,020 us4.5%938 us0.6%
PhabricatorSpacesNamespaceQuery::loadPage16,621 us4.2%11 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage16,371 us4.1%9 us0.0%
PhabricatorKeyValueDatabaseCache::getKeys16,335 us4.0%31 us0.0%
PhabricatorStandardCustomField::buildStandardFields25,839 us3.7%71 us0.0%
LiskDAO::loadAllWhere15,816 us3.7%10 us0.0%
DarkConsoleEventPlugin::renderPanel15,767 us3.7%80 us0.1%
DarkConsoleRequestPlugin::renderPanel15,766 us3.7%183 us0.1%
PhabricatorProjectConfiguredCustomField::createFields15,622 us3.6%12 us0.0%
htmlspecialchars9255,060 us3.2%5,060 us3.2%
mysqli::set_charset54,676 us3.0%4,676 us3.0%
PhutilTranslator::formatNumber1284,119 us2.6%676 us0.4%
load::standard/PhabricatorStandardCustomFieldText.php14,086 us2.6%4,086 us2.6%
PhabricatorAuthSessionEngine::loadUserForSession14,032 us2.6%132 us0.1%
queryfx_one12,827 us1.8%14 us0.0%
PhabricatorPolicyQuery::getGlobalPolicies12,522 us1.6%91 us0.1%
PhabricatorUser::loadPreferences12,176 us1.4%22 us0.0%
gethostbyaddr12,137 us1.4%2,137 us1.4%
PhabricatorSetupCheck::willProcessRequest12,080 us1.3%7 us0.0%
LiskDAO::loadOneWhere12,030 us1.3%15 us0.0%
run_init::storage/PhabricatorPolicy.php11,989 us1.3%37 us0.0%
DarkConsoleErrorLogPlugin::renderPanel11,890 us1.2%41 us0.0%
LiskDAO::loadFromArray101,758 us1.1%366 us0.2%
require_celerity_resource81,479 us0.9%40 us0.0%
json_decode51,446 us0.9%1,446 us0.9%
PhutilKeyValueCacheStack::getKeys21,365 us0.9%25 us0.0%
PhutilServiceProfiler::endServiceCall151,309 us0.8%1,293 us0.8%
phutil_json_decode11,292 us0.8%11 us0.0%
CelerityStaticResourceResponse::requireResource81,258 us0.8%24 us0.0%
PhabricatorSetupCheck::getConfigNeedsRepair11,257 us0.8%7 us0.0%
CelerityResourceMap::getNamedInstance11,145 us0.7%16 us0.0%
idx8761,070 us0.7%1,057 us0.7%
PhabricatorPolicyQuery::getObjectPolicies11,067 us0.7%107 us0.1%
PhutilTypeSpec::checkMap11,062 us0.7%16 us0.0%
PhutilTypeSpec::newFromString11,046 us0.7%18 us0.0%