XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total36,14473,781 us100.0%73,781 us100.0%
main()173,781 us100.0%85 us0.1%
AphrontApplicationConfiguration::processRequest172,552 us98.3%48 us0.1%
PhabricatorConduitAPIController::handleRequest164,234 us87.1%135 us0.2%
ConduitCall::execute159,338 us80.4%12 us0.0%
ConduitCall::executeMethod159,315 us80.4%29 us0.0%
ConduitAPIMethod::executeMethod155,054 us74.6%8 us0.0%
DiffusionQueryConduitAPIMethod::execute155,045 us74.6%49 us0.1%
PhabricatorPolicyAwareQuery::executeOne241,637 us56.4%14 us0.0%
DiffusionRequest::newFromDictionary137,822 us51.3%10 us0.0%
DiffusionRequest::newFromIdentifier137,790 us51.2%27 us0.0%
PhabricatorPolicyAwareQuery::execute928,742 us39.0%287 us0.4%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage727,263 us37.0%34 us0.0%
PhabricatorRepositoryQuery::loadPage126,058 us35.3%10 us0.0%
PhabricatorPolicyFilter::apply1622,826 us30.9%365 us0.5%
PhabricatorPolicyFilter::hasCapability821,609 us29.3%71 us0.1%
PhabricatorRepositoryQuery::buildWhereClauseParts120,968 us28.4%14 us0.0%
PhutilQueryString::renderString80419,604 us26.6%1,057 us1.4%
xsprintf80719,332 us26.2%6,442 us8.7%
PhabricatorSpacesNamespaceQuery::getViewerSpaces117,366 us23.5%24 us0.0%
xsprintf_query96616,555 us22.4%6,196 us8.4%
PhutilQueryString::getMaskedString24016,191 us21.9%202 us0.3%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows815,595 us21.1%49 us0.1%
queryfx1815,551 us21.1%161 us0.2%
queryfx_all1614,269 us19.3%81 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection813,825 us18.7%94 us0.1%
PhutilQueryString::getUnmaskedString56413,448 us18.2%503 us0.7%
PhabricatorProjectQuery::loadPage312,938 us17.5%9 us0.0%
qsprintf18312,412 us16.8%607 us0.8%
PhutilSymbolLoader::selectAndLoadSymbols13712,387 us16.8%3,800 us5.2%
PhutilQueryString::__construct18311,798 us16.0%228 us0.3%
LiskDAO::establishConnection1611,195 us15.2%161 us0.2%
AphrontBaseMySQLDatabaseConnection::executeQuery1811,181 us15.2%338 us0.5%
PhabricatorRepositoryQuery::didFilterPage110,874 us14.7%65 us0.1%
PhabricatorLiskDAO::establishLiveConnection1010,563 us14.3%79 us0.1%
PhabricatorLiskDAO::newClusterConnection1010,409 us14.1%61 us0.1%
PhabricatorDatabaseRef::isReachable109,803 us13.3%60 us0.1%
AphrontBaseMySQLDatabaseConnection::openConnection109,529 us12.9%15 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection1779,519 us12.9%20 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection109,499 us12.9%144 us0.2%
AphrontMySQLiDatabaseConnection::connect109,086 us12.3%246 us0.3%
PhutilSymbolLoader::loadSymbol2509,024 us12.2%1,405 us1.9%
spl_autoload_call1308,893 us12.1%217 us0.3%
DiffusionRepositoryClusterEngine::synchronizeWorkingCopyBeforeRead18,817 us12.0%65 us0.1%
__phutil_autoload1308,739 us11.8%677 us0.9%
PhabricatorCursorPagedPolicyAwareQuery::buildStandardPageQuery88,429 us11.4%145 us0.2%
PhutilBootloader::loadLibrarySource2457,841 us10.6%649 us0.9%
mysqli::real_connect107,566 us10.3%7,566 us10.3%
PhutilBootloader::executeInclude2457,301 us9.9%2,265 us3.1%
PhabricatorPolicyFilter::loadCustomPolicies16,340 us8.6%61 us0.1%
DiffusionQueryConduitAPIMethod::getResult16,018 us8.2%14 us0.0%
DiffusionMergedCommitsQueryConduitAPIMethod::getGitResult15,988 us8.1%23 us0.0%
PhabricatorRepository::execxLocalCommand15,948 us8.1%20 us0.0%
PhabricatorFileQuery::loadPage15,609 us7.6%32 us0.0%
PhutilClassMapQuery::execute255,485 us7.4%79 us0.1%
PhutilClassMapQuery::loadMap75,358 us7.3%237 us0.3%
PhabricatorController::willBeginExecution15,080 us6.9%74 us0.1%
PhutilKeyValueCache::getKey824,892 us6.6%242 us0.3%
PhutilKeyValueCacheStack::getKeys154,774 us6.5%94 us0.1%
ExecFuture::resolvex14,727 us6.4%3 us0.0%
Future::resolve14,724 us6.4%49 us0.1%
PhutilKeyValueCacheProfiler::getKeys154,643 us6.3%159 us0.2%
PhutilSymbolLoader::loadObjects74,583 us6.2%176 us0.2%
AlmanacKeys::getLiveDevice24,447 us6.0%33 us0.0%
DiffusionRepositoryClusterEngine::shouldEnableSynchronization14,369 us5.9%9 us0.0%
PhutilKeyValueCacheNamespace::getKeys154,330 us5.9%105 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClause84,219 us5.7%31 us0.0%
PhutilKeyValueCacheProxy::getKeys344,153 us5.6%95 us0.1%
PhabricatorKeyValueSerializingCacheProxy::getKeys44,029 us5.5%21 us0.0%
PhabricatorUser::getUserSetting34,004 us5.4%30 us0.0%
PhabricatorKeyValueDatabaseCache::getKeys43,976 us5.4%50 us0.1%
AlmanacDeviceQuery::loadPage13,963 us5.4%4 us0.0%
PhabricatorAuthSessionEngine::willServeRequestForUser23,851 us5.2%23 us0.0%
PhabricatorUser::loadGlobalSettings33,783 us5.1%15 us0.0%
PhabricatorUser::getTranslation23,641 us4.9%6 us0.0%
PhabricatorPolicyFilter::checkCapability203,499 us4.7%199 us0.3%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClauseParts83,412 us4.6%70 us0.1%
PhabricatorProjectsBasePolicyRule::willApplyRules13,226 us4.4%88 us0.1%
PhabricatorSpacesNamespaceQuery::getAllSpaces43,175 us4.3%32 us0.0%
AphrontMySQLiDatabaseConnection::rawQuery183,089 us4.2%266 us0.4%
PhabricatorSpacesNamespaceQuery::loadPage13,034 us4.1%7 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderVector302,970 us4.0%50 us0.1%
PhabricatorPolicyQuery::loadPage12,888 us3.9%30 us0.0%
PhabricatorPolicyCapability::getCapabilityByKey172,885 us3.9%36 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildFerretSelectClause82,859 us3.9%30 us0.0%
PhabricatorPolicyCapability::getCapabilityMap172,848 us3.9%77 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns322,835 us3.8%198 us0.3%
AphrontApplicationConfiguration::buildController12,776 us3.8%89 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::setOrderVector82,713 us3.7%148 us0.2%
LiskDAO::save12,689 us3.6%4 us0.0%
LiskDAO::insert12,667 us3.6%7 us0.0%
LiskDAO::insertRecordIntoDatabase12,659 us3.6%56 us0.1%
PhabricatorProjectQuery::getOrderableColumns122,605 us3.5%65 us0.1%
Future::waitForSockets22,597 us3.5%18 us0.0%
PhabricatorRepositoryURIQuery::loadPage12,579 us3.5%4 us0.0%
stream_select22,579 us3.5%2,579 us3.5%
qsprintf_check_type9662,437 us3.3%1,319 us1.8%
PhabricatorCustomField::getObjectFields12,385 us3.2%61 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClause82,242 us3.0%33 us0.0%
PhabricatorRepository::newConduitClient12,191 us3.0%4 us0.0%
PhabricatorRepository::getAlmanacServiceURI12,187 us3.0%32 us0.0%