XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total36,13074,177 us100.0%74,177 us100.0%
main()174,177 us100.0%87 us0.1%
AphrontApplicationConfiguration::processRequest172,943 us98.3%52 us0.1%
PhabricatorConduitAPIController::handleRequest165,248 us88.0%143 us0.2%
ConduitCall::execute159,903 us80.8%11 us0.0%
ConduitCall::executeMethod159,875 us80.7%27 us0.0%
ConduitAPIMethod::executeMethod155,330 us74.6%10 us0.0%
DiffusionQueryConduitAPIMethod::execute155,317 us74.6%57 us0.1%
PhabricatorPolicyAwareQuery::executeOne241,847 us56.4%14 us0.0%
DiffusionRequest::newFromDictionary138,400 us51.8%20 us0.0%
DiffusionRequest::newFromIdentifier138,358 us51.7%30 us0.0%
PhabricatorPolicyAwareQuery::execute929,080 us39.2%290 us0.4%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage727,075 us36.5%34 us0.0%
PhabricatorRepositoryQuery::loadPage126,657 us35.9%10 us0.0%
PhabricatorPolicyFilter::apply1623,574 us31.8%366 us0.5%
PhabricatorPolicyFilter::hasCapability822,364 us30.1%71 us0.1%
PhabricatorRepositoryQuery::buildWhereClauseParts121,517 us29.0%16 us0.0%
PhutilQueryString::renderString80419,240 us25.9%1,043 us1.4%
xsprintf80718,992 us25.6%6,245 us8.4%
PhabricatorSpacesNamespaceQuery::getViewerSpaces117,757 us23.9%24 us0.0%
xsprintf_query96616,381 us22.1%6,174 us8.3%
PhutilQueryString::getMaskedString24015,768 us21.3%193 us0.3%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows815,738 us21.2%47 us0.1%
queryfx1815,245 us20.6%147 us0.2%
queryfx_all1613,931 us18.8%71 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection813,906 us18.7%92 us0.1%
PhutilQueryString::getUnmaskedString56413,336 us18.0%538 us0.7%
PhabricatorProjectQuery::loadPage312,944 us17.5%11 us0.0%
PhutilSymbolLoader::selectAndLoadSymbols13912,827 us17.3%3,812 us5.1%
qsprintf18312,171 us16.4%644 us0.9%
PhutilQueryString::__construct18311,519 us15.5%315 us0.4%
AphrontBaseMySQLDatabaseConnection::executeQuery1810,958 us14.8%333 us0.4%
LiskDAO::establishConnection1610,910 us14.7%176 us0.2%
PhabricatorRepositoryQuery::didFilterPage110,703 us14.4%64 us0.1%
PhabricatorLiskDAO::establishLiveConnection1010,267 us13.8%75 us0.1%
PhabricatorLiskDAO::newClusterConnection1010,116 us13.6%62 us0.1%
PhabricatorDatabaseRef::isReachable109,421 us12.7%62 us0.1%
PhutilSymbolLoader::loadSymbol2529,417 us12.7%1,449 us2.0%
spl_autoload_call1329,339 us12.6%220 us0.3%
AphrontBaseMySQLDatabaseConnection::openConnection109,335 us12.6%12 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection1779,325 us12.6%19 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection109,306 us12.5%149 us0.2%
__phutil_autoload1329,182 us12.4%707 us1.0%
AphrontMySQLiDatabaseConnection::connect108,974 us12.1%264 us0.4%
PhabricatorCursorPagedPolicyAwareQuery::buildStandardPageQuery88,333 us11.2%151 us0.2%
PhutilBootloader::loadLibrarySource2478,196 us11.0%635 us0.9%
DiffusionRepositoryClusterEngine::synchronizeWorkingCopyBeforeRead18,150 us11.0%70 us0.1%
PhutilBootloader::executeInclude2477,666 us10.3%2,411 us3.3%
mysqli::real_connect107,423 us10.0%7,423 us10.0%
PhabricatorPolicyFilter::loadCustomPolicies16,827 us9.2%67 us0.1%
DiffusionCommitParentsQueryConduitAPIMethod::getResult16,245 us8.4%23 us0.0%
DiffusionLowLevelQuery::execute16,064 us8.2%4 us0.0%
DiffusionLowLevelParentsQuery::executeQuery16,060 us8.2%10 us0.0%
DiffusionLowLevelParentsQuery::loadGitParents16,044 us8.1%11 us0.0%
PhabricatorRepository::execxLocalCommand16,016 us8.1%20 us0.0%
PhutilClassMapQuery::execute255,500 us7.4%58 us0.1%
PhabricatorFileQuery::loadPage15,498 us7.4%31 us0.0%
PhutilClassMapQuery::loadMap75,390 us7.3%237 us0.3%
ExecFuture::resolvex14,881 us6.6%3 us0.0%
Future::resolve14,878 us6.6%43 us0.1%
PhutilSymbolLoader::loadObjects74,603 us6.2%163 us0.2%
PhabricatorController::willBeginExecution14,281 us5.8%80 us0.1%
AlmanacKeys::getLiveDevice24,170 us5.6%34 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClause84,149 us5.6%32 us0.0%
PhutilKeyValueCache::getKey814,100 us5.5%246 us0.3%
DiffusionRepositoryClusterEngine::shouldEnableSynchronization14,094 us5.5%10 us0.0%
PhutilKeyValueCacheStack::getKeys143,997 us5.4%90 us0.1%
PhutilKeyValueCacheProfiler::getKeys143,884 us5.2%151 us0.2%
AlmanacDeviceQuery::loadPage13,715 us5.0%7 us0.0%
PhabricatorPolicyFilter::checkCapability203,658 us4.9%205 us0.3%
PhutilKeyValueCacheNamespace::getKeys143,584 us4.8%103 us0.1%
PhutilKeyValueCacheProxy::getKeys323,415 us4.6%88 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClauseParts83,404 us4.6%92 us0.1%
PhabricatorProjectsBasePolicyRule::willApplyRules13,363 us4.5%130 us0.2%
PhabricatorUser::getUserSetting33,337 us4.5%30 us0.0%
PhabricatorSpacesNamespaceQuery::getAllSpaces43,321 us4.5%32 us0.0%
PhabricatorKeyValueSerializingCacheProxy::getKeys43,312 us4.5%21 us0.0%
PhabricatorKeyValueDatabaseCache::getKeys43,262 us4.4%54 us0.1%
PhabricatorPolicyQuery::loadPage13,228 us4.4%32 us0.0%
PhabricatorAuthSessionEngine::willServeRequestForUser23,182 us4.3%26 us0.0%
PhabricatorSpacesNamespaceQuery::loadPage13,176 us4.3%7 us0.0%
PhabricatorUser::loadGlobalSettings33,115 us4.2%16 us0.0%
PhabricatorPolicyCapability::getCapabilityByKey172,993 us4.0%33 us0.0%
PhabricatorUser::getTranslation22,971 us4.0%6 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderVector302,970 us4.0%52 us0.1%
PhabricatorPolicyCapability::getCapabilityMap172,960 us4.0%85 us0.1%
AphrontApplicationConfiguration::buildController12,954 us4.0%91 us0.1%
AphrontMySQLiDatabaseConnection::rawQuery182,893 us3.9%266 us0.4%
PhabricatorCursorPagedPolicyAwareQuery::buildFerretSelectClause82,864 us3.9%34 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns322,824 us3.8%200 us0.3%
LiskDAO::save12,804 us3.8%4 us0.0%
Future::waitForSockets22,790 us3.8%23 us0.0%
LiskDAO::insert12,779 us3.7%5 us0.0%
LiskDAO::insertRecordIntoDatabase12,773 us3.7%55 us0.1%
stream_select22,767 us3.7%2,767 us3.7%
PhabricatorCursorPagedPolicyAwareQuery::setOrderVector82,701 us3.6%142 us0.2%
PhabricatorProjectQuery::getOrderableColumns122,593 us3.5%70 us0.1%
PhabricatorRepositoryURIQuery::loadPage12,554 us3.4%5 us0.0%
qsprintf_check_type9662,425 us3.3%1,262 us1.7%
PhabricatorCustomField::getObjectFields12,368 us3.2%60 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClause82,239 us3.0%35 us0.0%