XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total16,16180,582 us100.0%80,582 us100.0%
main()180,582 us100.0%112 us0.1%
AphrontApplicationConfiguration::processRequest178,491 us97.4%121 us0.2%
PhabricatorController::willBeginExecution136,437 us45.2%260 us0.3%
AphrontController::handleRequest136,229 us45.0%8 us0.0%
DarkConsoleController::processRequest136,220 us44.9%38 us0.0%
PhabricatorUser::save135,906 us44.6%34 us0.0%
PhabricatorPolicyAwareQuery::execute627,428 us34.0%275 us0.3%
LiskDAO::save325,322 us31.4%17 us0.0%
PhabricatorPolicyFilter::apply1025,046 us31.1%300 us0.4%
PhabricatorSpacesNamespaceQuery::getViewerSpaces124,663 us30.6%37 us0.0%
queryfx1224,031 us29.8%101 us0.1%
AphrontBaseMySQLDatabaseConnection::executeRawQuery1222,223 us27.6%280 us0.3%
PhabricatorPolicyFilter::loadCustomPolicies121,801 us27.1%99 us0.1%
PhutilSymbolLoader::selectAndLoadSymbols8618,164 us22.5%4,265 us5.3%
PhabricatorSearchWorker::queueDocumentForIndexing117,971 us22.3%6 us0.0%
PhabricatorWorker::scheduleTask117,965 us22.3%46 us0.1%
AphrontMySQLiDatabaseConnection::rawQuery1217,099 us21.2%143 us0.2%
mysqli::query1216,922 us21.0%16,922 us21.0%
PhabricatorWorkerActiveTask::save115,197 us18.9%11 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease115,185 us18.8%34 us0.0%
LiskDAO::insert214,863 us18.4%14 us0.0%
LiskDAO::insertRecordIntoDatabase214,847 us18.4%138 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage314,092 us17.5%23 us0.0%
PhutilSymbolLoader::loadSymbol19413,820 us17.2%1,818 us2.3%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows313,763 us17.1%98 us0.1%
LiskDAO::establishConnection1012,622 us15.7%162 us0.2%
PhabricatorLiskDAO::establishLiveConnection612,027 us14.9%116 us0.1%
PhutilBootloader::loadLibrarySource19311,992 us14.9%841 us1.0%
PhabricatorLiskDAO::newClusterConnection611,841 us14.7%53 us0.1%
AphrontDatabaseConnection::query311,704 us14.5%25 us0.0%
PhabricatorDatabaseRef::isReachable611,259 us14.0%60 us0.1%
PhabricatorProjectQuery::loadPage211,213 us13.9%11 us0.0%
AphrontBaseMySQLDatabaseConnection::openConnection611,171 us13.9%14 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection7411,167 us13.9%26 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection611,141 us13.8%122 us0.2%
PhutilBootloader::executeInclude19311,101 us13.8%2,654 us3.3%
AphrontMySQLiDatabaseConnection::connect610,860 us13.5%241 us0.3%
PhutilClassMapQuery::execute1010,849 us13.5%55 us0.1%
PhutilClassMapQuery::loadMap510,747 us13.3%363 us0.5%
LiskDAO::update110,396 us12.9%153 us0.2%
PhabricatorProjectsPolicyRule::willApplyRules110,257 us12.7%47 us0.1%
mysqli::real_connect69,996 us12.4%9,996 us12.4%
PhutilSymbolLoader::loadObjects69,990 us12.4%313 us0.4%
spl_autoload_call809,889 us12.3%219 us0.3%
__phutil_autoload809,727 us12.1%657 us0.8%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClause37,453 us9.2%21 us0.0%
PhabricatorUser::updateNameTokens17,179 us8.9%39 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClauseParts37,128 us8.8%34 us0.0%
PhabricatorPolicyFilter::checkCapability77,022 us8.7%153 us0.2%
PhabricatorPolicyAwareQuery::canViewerUseQueryApplication66,972 us8.7%40 us0.0%
PhabricatorApplication::isClassInstalledForViewer46,932 us8.6%36 us0.0%
PhabricatorPolicyFilter::hasCapability56,797 us8.4%75 us0.1%
PhabricatorProjectQuery::buildJoinClauseParts26,764 us8.4%23 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildApplicationSearchJoinClause36,724 us8.3%113 us0.1%
PhabricatorPolicyCapability::getCapabilityByKey56,495 us8.1%22 us0.0%
PhabricatorPolicyCapability::getCapabilityMap56,469 us8.0%48 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns126,234 us7.7%109 us0.1%
PhabricatorProjectQuery::getOrderableColumns86,204 us7.7%66 us0.1%
PhabricatorCustomField::getObjectFields15,945 us7.4%86 us0.1%
qsprintf725,137 us6.4%382 us0.5%
call_user_func935,086 us6.3%220 us0.3%
PhabricatorCustomField::buildFieldList14,975 us6.2%64 us0.1%
AphrontApplicationConfiguration::buildController14,856 us6.0%128 us0.2%
xsprintf724,652 us5.8%1,517 us1.9%
AphrontBaseMySQLDatabaseConnection::checkWrite124,582 us5.7%56 us0.1%
AphrontWriteGuard::willWrite64,472 us5.5%43 us0.1%
AphrontRequest::validateCSRF64,405 us5.5%80 us0.1%
PhabricatorPolicyQuery::loadPage14,313 us5.4%53 us0.1%
PhabricatorUser::validateCSRFToken64,248 us5.3%320 us0.4%
PhabricatorSpacesNamespaceQuery::getAllSpaces23,725 us4.6%41 us0.1%
PhabricatorSpacesNamespaceQuery::getSpacesExist13,715 us4.6%2 us0.0%
PhutilTypeSpec::checkMap23,566 us4.4%63 us0.1%
LiskDAO::loadNextCounterValue13,554 us4.4%9 us0.0%
PhutilTypeSpec::newFromString43,481 us4.3%73 us0.1%
PhabricatorSpacesNamespaceQuery::loadPage13,232 us4.0%16 us0.0%
xsprintf_query1492,813 us3.5%1,290 us1.6%
PhabricatorAuthSessionEngine::loadUserForSession12,720 us3.4%118 us0.1%
PhabricatorProjectConfiguredCustomField::createFields12,559 us3.2%15 us0.0%
PhabricatorStandardCustomField::buildStandardFields22,403 us3.0%61 us0.1%
PhabricatorPlatformSite::getRoutingMaps12,378 us3.0%532 us0.7%
PhutilTypeSpec::parseTokens42,358 us2.9%1,354 us1.7%
queryfx_all62,299 us2.9%45 us0.1%
PhabricatorUser::getRawCSRFToken422,223 us2.8%226 us0.3%
LiskDAO::loadRawDataWhere22,122 us2.6%62 us0.1%
PhabricatorUser::generateToken421,905 us2.4%758 us0.9%
LiskDAO::loadAllWhere11,848 us2.3%11 us0.0%
phutil_hashes_are_identical421,541 us1.9%1,537 us1.9%
PhabricatorPolicyQuery::getObjectPolicies11,477 us1.8%130 us0.2%
LiskDAO::__call1271,349 us1.7%188 us0.2%
PhabricatorEnv::getEnvConfig2581,248 us1.5%300 us0.4%
LiskDAO::loadFromArray81,214 us1.5%266 us0.3%
LiskDAO::call1271,161 us1.4%535 us0.7%
PhabricatorPolicyQuery::getObjectPolicyRules11,059 us1.3%55 us0.1%
LiskDAO::checkProperty801,026 us1.3%223 us0.3%
AphrontApplicationConfiguration::buildSiteForRequest11,003 us1.2%18 us0.0%
newv119986 us1.2%512 us0.6%
PhabricatorConfigStackSource::getKeys19942 us1.2%232 us0.3%
AphrontApplicationConfiguration::routePath1904 us1.1%61 us0.1%
AphrontRoutingMap::routePath23843 us1.0%156 us0.2%
PhabricatorPolicyQuery::getGlobalPolicies1828 us1.0%94 us0.1%