XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total16,60847,366 us100.0%47,366 us100.0%
main()147,366 us100.0%80 us0.2%
AphrontApplicationConfiguration::processRequest146,228 us97.6%44 us0.1%
PhabricatorConduitAPIController::handleRequest135,445 us74.8%115 us0.2%
PhabricatorPolicyAwareQuery::execute924,159 us51.0%299 us0.6%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows617,417 us36.8%128 us0.3%
queryfx1313,149 us27.8%97 us0.2%
ConduitCall::execute113,042 us27.5%10 us0.0%
ConduitCall::executeMethod113,023 us27.5%17 us0.0%
ConduitAPIMethod::executeMethod112,831 us27.1%5 us0.0%
RepositoryQueryConduitAPIMethod::execute112,825 us27.1%27 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::executeWithCursorPager112,389 us26.2%18 us0.0%
AphrontBaseMySQLDatabaseConnection::executeRawQuery1312,009 us25.4%202 us0.4%
PhabricatorRepositoryQuery::loadPage111,918 us25.2%8 us0.0%
AphrontMySQLiDatabaseConnection::rawQuery1311,568 us24.4%102 us0.2%
mysqli::query1311,452 us24.2%11,452 us24.2%
LiskDAO::save111,277 us23.8%3 us0.0%
LiskDAO::insert111,265 us23.8%4 us0.0%
LiskDAO::insertRecordIntoDatabase111,261 us23.8%49 us0.1%
PhabricatorPolicyFilter::apply1411,127 us23.5%234 us0.5%
PhabricatorCursorPagedPolicyAwareQuery::buildWhereClause610,212 us21.6%29 us0.1%
PhutilSymbolLoader::selectAndLoadSymbols11510,186 us21.5%3,021 us6.4%
AphrontDatabaseConnection::query110,107 us21.3%6 us0.0%
PhabricatorRepositoryQuery::buildWhereClauseParts19,882 us20.9%16 us0.0%
PhabricatorConduitAPIController::authenticateUser19,775 us20.6%67 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildWhereClauseParts69,556 us20.2%47 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildSpacesWhereClause69,477 us20.0%51 us0.1%
PhabricatorPolicyAwareQuery::executeOne18,169 us17.2%9 us0.0%
PhabricatorController::willBeginExecution17,752 us16.4%122 us0.3%
PhabricatorPolicyFilter::hasCapability77,626 us16.1%56 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage47,534 us15.9%21 us0.0%
PhutilSymbolLoader::loadSymbol2367,351 us15.5%1,304 us2.8%
PhabricatorSpacesNamespaceQuery::getViewerSpaces17,348 us15.5%22 us0.0%
LiskDAO::establishConnection136,884 us14.5%139 us0.3%
spl_autoload_call1076,801 us14.4%160 us0.3%
__phutil_autoload1076,676 us14.1%541 us1.1%
PhabricatorLiskDAO::establishLiveConnection86,408 us13.5%63 us0.1%
PhabricatorLiskDAO::newClusterConnection86,305 us13.3%48 us0.1%
PhutilBootloader::loadLibrarySource2236,204 us13.1%609 us1.3%
PhabricatorPolicyFilter::loadCustomPolicies15,997 us12.7%63 us0.1%
PhabricatorDatabaseRef::isReachable85,751 us12.1%52 us0.1%
PhabricatorConduitTokenQuery::willFilterPage15,727 us12.1%29 us0.1%
AphrontBaseMySQLDatabaseConnection::openConnection85,678 us12.0%10 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection615,668 us12.0%15 us0.0%
PhutilBootloader::executeInclude2235,668 us12.0%1,735 us3.7%
AphrontBaseMySQLDatabaseConnection::establishConnection85,653 us11.9%114 us0.2%
PhabricatorObjectQuery::loadPage15,542 us11.7%17 us0.0%
AphrontMySQLiDatabaseConnection::connect85,399 us11.4%226 us0.5%
PhabricatorObjectQuery::loadObjectsByPHID15,348 us11.3%19 us0.0%
PhutilClassMapQuery::execute205,283 us11.2%53 us0.1%
PhabricatorPHIDType::loadObjects15,280 us11.1%15 us0.0%
PhutilClassMapQuery::loadMap85,179 us10.9%241 us0.5%
mysqli::real_connect84,421 us9.3%4,421 us9.3%
PhutilSymbolLoader::loadObjects84,410 us9.3%190 us0.4%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClause64,210 us8.9%24 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClauseParts63,830 us8.1%34 us0.1%
PhabricatorPeopleQuery::loadPage13,662 us7.7%9 us0.0%
PhabricatorProjectQuery::loadPage23,564 us7.5%7 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildApplicationSearchJoinClause63,396 us7.2%93 us0.2%
queryfx_all123,260 us6.9%56 us0.1%
PhabricatorProjectsPolicyRule::willApplyRules13,239 us6.8%36 us0.1%
PhabricatorAuthSessionEngine::willServeRequestForUser23,153 us6.7%24 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns243,089 us6.5%144 us0.3%
PhabricatorPolicyFilter::checkCapability93,060 us6.5%103 us0.2%
PhabricatorUser::getUserSetting32,783 us5.9%34 us0.1%
PhabricatorCustomField::getObjectFields22,755 us5.8%105 us0.2%
AphrontApplicationConfiguration::buildController12,750 us5.8%80 us0.2%
PhabricatorPolicyCapability::getCapabilityByKey72,723 us5.7%20 us0.0%
PhabricatorPolicyCapability::getCapabilityMap72,703 us5.7%40 us0.1%
PhabricatorPolicyQuery::loadPage12,535 us5.4%32 us0.1%
PhabricatorUser::getTranslation22,527 us5.3%6 us0.0%
qsprintf652,475 us5.2%232 us0.5%
PhabricatorConduitTokenQuery::loadPage12,381 us5.0%3 us0.0%
xsprintf652,232 us4.7%824 us1.7%
PhutilKeyValueCache::getKey442,229 us4.7%148 us0.3%
PhabricatorPeopleQuery::buildJoinClauseParts12,165 us4.6%4 us0.0%
PhutilKeyValueCacheStack::getKeys72,139 us4.5%45 us0.1%
PhutilKeyValueCacheProfiler::getKeys72,085 us4.4%105 us0.2%
PhabricatorPeopleQuery::getOrderableColumns42,074 us4.4%9 us0.0%
PhabricatorUser::loadGlobalSettings22,017 us4.3%9 us0.0%
PhabricatorCustomField::buildFieldList21,962 us4.1%83 us0.2%
PhutilKeyValueCacheNamespace::getKeys71,899 us4.0%51 us0.1%
PhabricatorSpacesNamespaceQuery::getAllSpaces41,892 us4.0%31 us0.1%
PhutilKeyValueCacheProxy::getKeys161,817 us3.8%41 us0.1%
PhabricatorKeyValueSerializingCacheProxy::getKeys21,774 us3.7%10 us0.0%
PhabricatorSpacesNamespaceQuery::loadPage11,771 us3.7%8 us0.0%
PhabricatorKeyValueDatabaseCache::getKeys21,753 us3.7%27 us0.1%
LiskDAO::loadAllWhere21,568 us3.3%11 us0.0%
LiskDAO::loadRawDataWhere21,380 us2.9%37 us0.1%
PhabricatorPeopleQuery::didFilterPage11,367 us2.9%31 us0.1%
PhabricatorConduitAPIController::validateAuthenticatedUser11,295 us2.7%11 us0.0%
xsprintf_query1391,271 us2.7%677 us1.4%
PhabricatorKeyValueDatabaseCache::establishConnection21,215 us2.6%12 us0.0%
PhabricatorProjectQuery::buildJoinClauseParts21,184 us2.5%15 us0.0%
PhabricatorPlatformSite::getRoutingMaps11,146 us2.4%341 us0.7%
PhabricatorUserConfiguredCustomField::createFields11,144 us2.4%8 us0.0%
PhabricatorStandardCustomField::buildStandardFields31,080 us2.3%45 us0.1%
LiskDAO::loadAllFromArray81,013 us2.1%51 us0.1%
LiskDAO::loadFromArray11962 us2.0%292 us0.6%
PhabricatorProjectQuery::getOrderableColumns8890 us1.9%35 us0.1%
PhabricatorPolicyQuery::getObjectPolicies1883 us1.9%92 us0.2%