XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total36,06573,226 us100.0%73,226 us100.0%
main()173,226 us100.0%81 us0.1%
AphrontApplicationConfiguration::processRequest171,987 us98.3%52 us0.1%
PhabricatorConduitAPIController::handleRequest164,462 us88.0%137 us0.2%
ConduitCall::execute159,141 us80.8%13 us0.0%
ConduitCall::executeMethod159,115 us80.7%25 us0.0%
ConduitAPIMethod::executeMethod154,788 us74.8%8 us0.0%
DiffusionQueryConduitAPIMethod::execute154,779 us74.8%47 us0.1%
PhabricatorPolicyAwareQuery::executeOne241,511 us56.7%15 us0.0%
DiffusionRequest::newFromDictionary137,912 us51.8%11 us0.0%
DiffusionRequest::newFromIdentifier137,879 us51.7%26 us0.0%
PhabricatorPolicyAwareQuery::execute928,754 us39.3%292 us0.4%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage727,025 us36.9%36 us0.0%
PhabricatorRepositoryQuery::loadPage126,193 us35.8%9 us0.0%
PhabricatorPolicyFilter::apply1623,028 us31.4%365 us0.5%
PhabricatorPolicyFilter::hasCapability821,810 us29.8%68 us0.1%
PhabricatorRepositoryQuery::buildWhereClauseParts121,110 us28.8%16 us0.0%
PhutilQueryString::renderString80419,200 us26.2%1,056 us1.4%
xsprintf80718,933 us25.9%6,279 us8.6%
PhabricatorSpacesNamespaceQuery::getViewerSpaces117,464 us23.8%27 us0.0%
xsprintf_query96616,336 us22.3%6,102 us8.3%
PhutilQueryString::getMaskedString24015,692 us21.4%204 us0.3%
queryfx1815,492 us21.2%152 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows815,455 us21.1%50 us0.1%
queryfx_all1613,987 us19.1%74 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection813,686 us18.7%90 us0.1%
PhutilQueryString::getUnmaskedString56413,326 us18.2%513 us0.7%
PhabricatorProjectQuery::loadPage312,801 us17.5%12 us0.0%
PhutilSymbolLoader::selectAndLoadSymbols13712,368 us16.9%3,858 us5.3%
qsprintf18312,047 us16.5%594 us0.8%
PhutilQueryString::__construct18311,442 us15.6%231 us0.3%
AphrontBaseMySQLDatabaseConnection::executeQuery1811,283 us15.4%333 us0.5%
PhabricatorRepositoryQuery::didFilterPage110,818 us14.8%63 us0.1%
LiskDAO::establishConnection1610,575 us14.4%164 us0.2%
PhabricatorLiskDAO::establishLiveConnection109,923 us13.6%79 us0.1%
PhabricatorLiskDAO::newClusterConnection109,769 us13.3%63 us0.1%
PhabricatorDatabaseRef::isReachable109,123 us12.5%61 us0.1%
AphrontBaseMySQLDatabaseConnection::openConnection109,042 us12.3%14 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection1779,028 us12.3%14 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection109,014 us12.3%145 us0.2%
spl_autoload_call1308,976 us12.3%224 us0.3%
PhutilSymbolLoader::loadSymbol2508,958 us12.2%1,396 us1.9%
__phutil_autoload1308,814 us12.0%676 us0.9%
AphrontMySQLiDatabaseConnection::connect108,701 us11.9%248 us0.3%
DiffusionRepositoryClusterEngine::synchronizeWorkingCopyBeforeRead18,335 us11.4%64 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildStandardPageQuery88,272 us11.3%150 us0.2%
PhutilBootloader::loadLibrarySource2457,790 us10.6%643 us0.9%
PhutilBootloader::executeInclude2457,257 us9.9%2,240 us3.1%
mysqli::real_connect107,163 us9.8%7,163 us9.8%
PhabricatorPolicyFilter::loadCustomPolicies16,531 us8.9%65 us0.1%
DiffusionQueryConduitAPIMethod::getResult16,162 us8.4%15 us0.0%
DiffusionRefsQueryConduitAPIMethod::getGitResult16,128 us8.4%16 us0.0%
PhabricatorRepository::execxLocalCommand16,104 us8.3%23 us0.0%
PhabricatorFileQuery::loadPage15,639 us7.7%32 us0.0%
PhutilClassMapQuery::execute255,392 us7.4%59 us0.1%
PhutilClassMapQuery::loadMap75,265 us7.2%225 us0.3%
ExecFuture::resolvex15,001 us6.8%3 us0.0%
Future::resolve14,998 us6.8%50 us0.1%
PhutilSymbolLoader::loadObjects74,540 us6.2%186 us0.3%
AlmanacKeys::getLiveDevice24,236 us5.8%32 us0.0%
PhabricatorController::willBeginExecution14,229 us5.8%71 us0.1%
DiffusionRepositoryClusterEngine::shouldEnableSynchronization14,158 us5.7%10 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClause84,120 us5.6%28 us0.0%
PhutilKeyValueCache::getKey813,962 us5.4%249 us0.3%
PhutilKeyValueCacheStack::getKeys143,836 us5.2%89 us0.1%
AlmanacDeviceQuery::loadPage13,784 us5.2%4 us0.0%
PhutilKeyValueCacheProfiler::getKeys143,727 us5.1%144 us0.2%
PhabricatorPolicyFilter::checkCapability203,497 us4.8%201 us0.3%
PhutilKeyValueCacheNamespace::getKeys143,448 us4.7%100 us0.1%
PhabricatorProjectsBasePolicyRule::willApplyRules13,384 us4.6%95 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClauseParts83,367 us4.6%69 us0.1%
PhutilKeyValueCacheProxy::getKeys323,286 us4.5%84 us0.1%
PhabricatorSpacesNamespaceQuery::getAllSpaces43,211 us4.4%31 us0.0%
AphrontMySQLiDatabaseConnection::rawQuery183,209 us4.4%268 us0.4%
PhabricatorKeyValueSerializingCacheProxy::getKeys43,192 us4.4%21 us0.0%
PhabricatorUser::getUserSetting33,184 us4.3%31 us0.0%
PhabricatorKeyValueDatabaseCache::getKeys43,143 us4.3%49 us0.1%
PhabricatorSpacesNamespaceQuery::loadPage13,069 us4.2%8 us0.0%
LiskDAO::save13,040 us4.2%5 us0.0%
PhabricatorAuthSessionEngine::willServeRequestForUser23,034 us4.1%25 us0.0%
LiskDAO::insert13,016 us4.1%6 us0.0%
LiskDAO::insertRecordIntoDatabase13,009 us4.1%59 us0.1%
PhabricatorUser::loadGlobalSettings32,969 us4.1%13 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderVector302,968 us4.1%51 us0.1%
PhabricatorPolicyQuery::loadPage12,917 us4.0%33 us0.0%
Future::waitForSockets22,897 us4.0%25 us0.0%
PhabricatorPolicyCapability::getCapabilityByKey172,875 us3.9%32 us0.0%
stream_select22,872 us3.9%2,872 us3.9%
PhabricatorCursorPagedPolicyAwareQuery::buildFerretSelectClause82,849 us3.9%29 us0.0%
PhabricatorPolicyCapability::getCapabilityMap172,842 us3.9%77 us0.1%
PhabricatorUser::getTranslation22,826 us3.9%6 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns322,825 us3.9%192 us0.3%
AphrontApplicationConfiguration::buildController12,812 us3.8%90 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::setOrderVector82,708 us3.7%146 us0.2%
PhabricatorProjectQuery::getOrderableColumns122,598 us3.5%70 us0.1%
PhabricatorRepositoryURIQuery::loadPage12,579 us3.5%4 us0.0%
PhabricatorCustomField::getObjectFields12,375 us3.2%60 us0.1%
qsprintf_check_type9662,366 us3.2%1,283 us1.8%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClause82,247 us3.1%33 us0.0%
PhabricatorRepository::newConduitClient12,173 us3.0%5 us0.0%
PhabricatorRepository::getAlmanacServiceURI12,168 us3.0%30 us0.0%