XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total24,98895,735 us100.0%95,735 us100.0%
main()195,735 us100.0%76 us0.1%
AphrontApplicationConfiguration::processRequest192,606 us96.7%67 us0.1%
PhabricatorTypeaheadModularDatasourceController::handleRequest171,566 us74.8%186 us0.2%
PhabricatorTypeaheadCompositeDatasource::loadResults264,512 us67.4%170 us0.2%
PhabricatorPolicyAwareQuery::execute2349,847 us52.1%1,004 us1.0%
PhutilSymbolLoader::selectAndLoadSymbols9136,034 us37.6%3,884 us4.1%
PhutilSymbolLoader::loadSymbol26131,919 us33.3%2,708 us2.8%
PhutilBootloader::loadLibrarySource25829,135 us30.4%1,241 us1.3%
PhabricatorPeopleDatasource::loadResults128,535 us29.8%182 us0.2%
PhutilBootloader::executeInclude25827,777 us29.0%18,570 us19.4%
PhabricatorHandleQuery::loadPage124,720 us25.8%107 us0.1%
PhutilSymbolLoader::loadObjects421,654 us22.6%387 us0.4%
PhabricatorController::willBeginExecution117,670 us18.5%244 us0.3%
__phutil_autoload8615,487 us16.2%774 us0.8%
DiffusionSymbolDatasource::loadResults114,994 us15.7%568 us0.6%
PhabricatorObjectQuery::loadPage313,604 us14.2%61 us0.1%
queryfx_all1713,083 us13.7%111 us0.1%
queryfx1712,536 us13.1%113 us0.1%
PhabricatorObjectQuery::loadObjectsByPHID212,485 us13.0%28 us0.0%
PhabricatorPHIDType::loadObjects112,377 us12.9%21 us0.0%
PhabricatorTypeaheadDatasource::executeQuery211,524 us12.0%35 us0.0%
PhabricatorPHIDType::getAllTypes711,099 us11.6%413 us0.4%
PhabricatorPolicyFilter::apply2010,477 us10.9%623 us0.7%
PhabricatorPeopleQuery::didFilterPage210,421 us10.9%101 us0.1%
PhabricatorProjectDatasource::loadResults110,336 us10.8%199 us0.2%
AphrontBaseMySQLDatabaseConnection::executeRawQuery178,889 us9.3%517 us0.5%
PhabricatorFileQuery::loadPage28,278 us8.6%228 us0.2%
PhabricatorPolicyAwareQuery::executeOne18,199 us8.6%11 us0.0%
PhabricatorPolicyFilter::checkCapability267,925 us8.3%338 us0.4%
DiffusionSymbolQuery::execute17,829 us8.2%55 us0.1%
AphrontMySQLiDatabaseConnection::rawQuery177,780 us8.1%118 us0.1%
mysqli::query177,645 us8.0%7,645 us8.0%
PhabricatorApplicationDatasource::loadResults17,580 us7.9%1,717 us1.8%
qsprintf527,416 us7.7%271 us0.3%
PhabricatorPolicyCapability::getCapabilityByKey237,146 us7.5%104 us0.1%
xsprintf527,081 us7.4%1,379 us1.4%
PhabricatorPolicyCapability::getCapabilityMap237,021 us7.3%157 us0.2%
PhabricatorRepositorySymbol::getURI305,806 us6.1%375 us0.4%
xsprintf_query1175,513 us5.8%957 us1.0%
PhabricatorProjectQuery::didFilterPage14,895 us5.1%99 us0.1%
LiskDAO::loadRawDataWhere64,676 us4.9%124 us0.1%
LiskDAO::loadAllWhere54,556 us4.8%41 us0.0%
AphrontDatabaseConnection::queryData63,978 us4.2%34 us0.0%
call_user_func_array3413,801 us4.0%899 us0.9%
PhabricatorProjectQuery::loadPage13,751 us3.9%65 us0.1%
AphrontMySQLiDatabaseConnection::escapeUTF8String243,750 us3.9%86 us0.1%
pht2343,451 us3.6%1,027 us1.1%
AphrontMySQLiDatabaseConnection::escapeBinaryString243,448 us3.6%83 us0.1%
AphrontBaseMySQLDatabaseConnection::requireConnection583,364 us3.5%67 us0.1%
AphrontBaseMySQLDatabaseConnection::establishConnection53,297 us3.4%128 us0.1%
LiskDAO::loadFromArray333,100 us3.2%885 us0.9%
DiffusionRequest::generateURI303,027 us3.2%464 us0.5%
AphrontMySQLiDatabaseConnection::connect52,994 us3.1%168 us0.2%
PhabricatorAuthSessionEngine::loadUserForSession12,936 us3.1%154 us0.2%
PhabricatorPeopleQuery::loadPage22,882 us3.0%57 us0.1%
AphrontApplicationConfiguration::buildController12,833 us3.0%47 us0.0%
DiffusionSymbolQuery::loadRepositories12,720 us2.8%141 us0.1%
mpull312,581 us2.7%619 us0.6%
AphrontApplicationConfiguration::buildControllerForPath12,478 us2.6%387 us0.4%
LiskDAO::loadAllFromArray122,471 us2.6%176 us0.2%
DiffusionRequest::generateDiffusionURI302,285 us2.4%905 us0.9%
PhabricatorPolicyAwareQuery::canViewerUseQueryApplication242,254 us2.4%166 us0.2%
mysqli::real_connect52,068 us2.2%2,068 us2.2%
PhabricatorEdgeQuery::execute21,966 us2.1%53 us0.1%
PhutilTranslator::translate2341,946 us2.0%1,577 us1.6%
PhabricatorUser::getDefaultProfileImageURI11,890 us2.0%4 us0.0%
celerity_get_resource_uri11,886 us2.0%24 us0.0%
PhabricatorTypeaheadCompositeDatasource::getUsableDatasources21,809 us1.9%125 us0.1%
DiffusionRequest::newFromDictionary301,763 us1.8%126 us0.1%
LiskDAO::__call3391,762 us1.8%406 us0.4%
queryfx_one11,693 us1.8%14 us0.0%
PhabricatorApplicationQuery::loadPage131,608 us1.7%1,388 us1.4%
PhabricatorCalendarEvent::loadCurrentStatuses11,559 us1.6%7 us0.0%
LiskDAO::hasProperty1051,518 us1.6%128 us0.1%
PhutilURI::__construct391,505 us1.6%869 us0.9%
PhabricatorSetupCheck::willProcessRequest11,501 us1.6%8 us0.0%
PhabricatorTypeaheadDatasource::filterResultsAgainstTokens11,495 us1.6%400 us0.4%
LiskDAO::checkProperty1421,484 us1.6%322 us0.3%
DiffusionSymbolQuery::loadArcanistProjects11,461 us1.5%100 us0.1%
PhabricatorRepositoryQuery::loadPage11,422 us1.5%33 us0.0%
PhabricatorSetupCheck::getOpenSetupIssueKeys11,410 us1.5%12 us0.0%
LiskDAO::call3391,356 us1.4%1,025 us1.1%
newv1851,338 us1.4%527 us0.6%
LiskDAO::establishConnection171,286 us1.3%218 us0.2%
CelerityResourceMap::getNamedInstance11,235 us1.3%16 us0.0%
PhabricatorTypeaheadDatasource::tokenizeString491,207 us1.3%298 us0.3%
LiskDAO::getAllLiskProperties91,161 us1.2%702 us0.7%
PhabricatorTypeaheadMonogramDatasource::loadResults11,133 us1.2%24 us0.0%
PhabricatorProjectQuery::buildJoinClause11,129 us1.2%34 us0.0%
PhabricatorCaches::getSetupCache21,128 us1.2%9 us0.0%
DiffusionSymbolQuery::loadPaths11,081 us1.1%100 us0.1%
PhabricatorUser::loadPreferences11,077 us1.1%25 us0.0%
DiffusionRequest::newFromRepository301,044 us1.1%324 us0.3%
PhabricatorObjectQuery::loadObjectsByName11,025 us1.1%180 us0.2%
PhabricatorFileQuery::buildWhereClause21,016 us1.1%28 us0.0%
PhabricatorEnv::getEnvConfig352992 us1.0%322 us0.3%
PhabricatorCursorPagedPolicyAwareQuery::buildOrderClause6980 us1.0%144 us0.2%
phutil_utf8_strtolower91963 us1.0%210 us0.2%
PhabricatorApplication::getAllInstalledApplications2932 us1.0%307 us0.3%
idx1,361909 us0.9%906 us0.9%