XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total15,76239,097 us100.0%39,097 us100.0%
main()139,097 us100.0%73 us0.2%
AphrontApplicationConfiguration::processRequest137,831 us96.8%59 us0.2%
AphrontController::handleRequest119,131 us48.9%4 us0.0%
DarkConsoleController::processRequest119,126 us48.9%22 us0.1%
PhabricatorUser::save118,981 us48.5%20 us0.1%
queryfx1216,706 us42.7%56 us0.1%
PhabricatorController::willBeginExecution116,288 us41.7%142 us0.4%
AphrontBaseMySQLDatabaseConnection::executeRawQuery1215,148 us38.7%200 us0.5%
AphrontMySQLiDatabaseConnection::rawQuery1212,185 us31.2%71 us0.2%
mysqli::query1212,114 us31.0%12,114 us31.0%
LiskDAO::save311,673 us29.9%9 us0.0%
PhabricatorPolicyAwareQuery::execute611,543 us29.5%177 us0.5%
PhabricatorPolicyFilter::apply1010,309 us26.4%175 us0.4%
PhabricatorSpacesNamespaceQuery::getViewerSpaces110,115 us25.9%22 us0.1%
PhabricatorSearchIndexer::queueDocumentForIndexing18,822 us22.6%7 us0.0%
PhabricatorWorker::scheduleTask18,757 us22.4%29 us0.1%
PhabricatorPolicyFilter::loadCustomPolicies18,570 us21.9%60 us0.2%
AphrontDatabaseConnection::query38,025 us20.5%13 us0.0%
PhutilSymbolLoader::selectAndLoadSymbols917,823 us20.0%2,051 us5.2%
PhabricatorWorkerActiveTask::save17,319 us18.7%5 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease17,314 us18.7%22 us0.1%
LiskDAO::insert27,137 us18.3%7 us0.0%
LiskDAO::insertRecordIntoDatabase27,130 us18.2%82 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows36,009 us15.4%61 us0.2%
PhutilSymbolLoader::loadSymbol1955,956 us15.2%1,080 us2.8%
PhabricatorUser::updateNameTokens15,538 us14.2%33 us0.1%
PhutilBootloader::loadLibrarySource1945,025 us12.9%505 us1.3%
spl_autoload_call854,879 us12.5%125 us0.3%
__phutil_autoload854,784 us12.2%430 us1.1%
PhabricatorProjectQuery::loadPage24,673 us12.0%15 us0.0%
PhutilBootloader::executeInclude1944,588 us11.7%1,434 us3.7%
LiskDAO::update14,505 us11.5%86 us0.2%
qsprintf734,270 us10.9%235 us0.6%
PhutilClassMapQuery::execute124,253 us10.9%37 us0.1%
PhutilClassMapQuery::loadMap54,186 us10.7%207 us0.5%
PhabricatorProjectsPolicyRule::willApplyRules14,072 us10.4%29 us0.1%
xsprintf734,029 us10.3%921 us2.4%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClause33,812 us9.8%11 us0.0%
PhutilSymbolLoader::loadObjects63,804 us9.7%167 us0.4%
PhabricatorProjectQuery::buildJoinClauseParts23,404 us8.7%25 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClauseParts33,206 us8.2%14 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildApplicationSearchJoinClause33,037 us7.8%46 us0.1%
xsprintf_query1542,966 us7.6%739 us1.9%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns122,795 us7.1%67 us0.2%
PhabricatorProjectQuery::getOrderableColumns82,768 us7.1%29 us0.1%
PhabricatorPolicyFilter::checkCapability72,664 us6.8%89 us0.2%
PhabricatorCustomField::getObjectFields12,636 us6.7%48 us0.1%
PhabricatorPolicyAwareQuery::canViewerUseQueryApplication62,602 us6.7%23 us0.1%
PhabricatorApplication::isClassInstalledForViewer42,579 us6.6%21 us0.1%
call_user_func902,551 us6.5%100 us0.3%
PhabricatorPolicyFilter::hasCapability52,513 us6.4%42 us0.1%
PhabricatorPolicyCapability::getCapabilityByKey52,392 us6.1%13 us0.0%
PhabricatorPolicyCapability::getCapabilityMap52,379 us6.1%30 us0.1%
AphrontBaseMySQLDatabaseConnection::checkWrite122,309 us5.9%28 us0.1%
queryfx_all62,264 us5.8%26 us0.1%
AphrontWriteGuard::willWrite62,245 us5.7%11 us0.0%
AphrontRequest::validateCSRF62,220 us5.7%54 us0.1%
PhabricatorCustomField::buildFieldList12,178 us5.6%37 us0.1%
PhabricatorUser::validateCSRFToken62,122 us5.4%188 us0.5%
AphrontApplicationConfiguration::buildController11,970 us5.0%68 us0.2%
PhabricatorSpacesNamespaceQuery::getAllSpaces21,953 us5.0%24 us0.1%
PhabricatorSpacesNamespaceQuery::getSpacesExist11,948 us5.0%2 us0.0%
AphrontMySQLiDatabaseConnection::escapeUTF8String441,873 us4.8%98 us0.3%
PhabricatorPolicyQuery::loadPage11,765 us4.5%29 us0.1%
AphrontBaseMySQLDatabaseConnection::requireConnection701,742 us4.5%11 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection61,731 us4.4%90 us0.2%
PhutilTypeSpec::checkMap21,671 us4.3%34 us0.1%
PhabricatorSpacesNamespaceQuery::loadPage11,669 us4.3%7 us0.0%
PhutilTypeSpec::newFromString41,626 us4.2%41 us0.1%
AphrontMySQLiDatabaseConnection::escapeBinaryString441,582 us4.0%97 us0.2%
AphrontMySQLiDatabaseConnection::connect61,537 us3.9%144 us0.4%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage11,524 us3.9%6 us0.0%
LiskDAO::loadNextCounterValue11,323 us3.4%7 us0.0%
PhabricatorAuthSessionEngine::loadUserForSession11,277 us3.3%78 us0.2%
PhabricatorUser::getRawCSRFToken421,121 us2.9%139 us0.4%
PhabricatorProjectConfiguredCustomField::createFields11,110 us2.8%9 us0.0%
PhutilTypeSpec::parseTokens41,092 us2.8%632 us1.6%
PhabricatorStandardCustomField::buildStandardFields21,051 us2.7%37 us0.1%
PhabricatorPlatformSite::getRoutingMaps1996 us2.5%320 us0.8%
PhabricatorUser::generateToken42948 us2.4%400 us1.0%
mysqli::real_connect6928 us2.4%928 us2.4%
LiskDAO::loadRawDataWhere2891 us2.3%30 us0.1%
phutil_hashes_are_identical42729 us1.9%729 us1.9%
AphrontDatabaseConnection::queryData2720 us1.8%9 us0.0%
LiskDAO::loadAllWhere1705 us1.8%7 us0.0%
call_user_func_array160687 us1.8%267 us0.7%
LiskDAO::__call126663 us1.7%112 us0.3%
queryfx_one1651 us1.7%8 us0.0%
LiskDAO::loadFromArray8615 us1.6%164 us0.4%
PhabricatorPolicyQuery::getObjectPolicies1589 us1.5%60 us0.2%
LiskDAO::establishConnection10575 us1.5%89 us0.2%
LiskDAO::call126551 us1.4%269 us0.7%
PhabricatorEnv::getEnvConfig273539 us1.4%124 us0.3%
LiskDAO::checkProperty80522 us1.3%106 us0.3%
PhabricatorSetupCheck::willProcessRequest1507 us1.3%4 us0.0%
AphrontApplicationConfiguration::buildSiteForRequest1472 us1.2%12 us0.0%
PhabricatorUser::loadPreferences2459 us1.2%13 us0.0%
PhabricatorSetupCheck::getOpenSetupIssueKeys1459 us1.2%4 us0.0%
PhabricatorPolicyQuery::getObjectPolicyRules1421 us1.1%28 us0.1%
LiskDAO::getAllLiskProperties10420 us1.1%281 us0.7%