XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total8,22048,510 us100.0%48,510 us100.0%
main()148,510 us100.0%110 us0.2%
AphrontApplicationConfiguration::processRequest144,585 us91.9%80 us0.2%
AphrontController::handleRequest122,787 us47.0%7 us0.0%
DarkConsoleController::processRequest122,779 us47.0%32 us0.1%
PhabricatorUser::save122,381 us46.1%34 us0.1%
PhabricatorController::willBeginExecution118,252 us37.6%240 us0.5%
queryfx818,130 us37.4%63 us0.1%
PhutilSymbolLoader::selectAndLoadSymbols5716,562 us34.1%2,045 us4.2%
LiskDAO::save316,272 us33.5%13 us0.0%
AphrontBaseMySQLDatabaseConnection::executeRawQuery816,267 us33.5%196 us0.4%
PhutilSymbolLoader::loadSymbol11414,538 us30.0%1,202 us2.5%
PhutilBootloader::loadLibrarySource11413,365 us27.6%570 us1.2%
AphrontMySQLiDatabaseConnection::rawQuery813,243 us27.3%79 us0.2%
mysqli::query813,156 us27.1%13,156 us27.1%
PhutilBootloader::executeInclude11412,784 us26.4%8,592 us17.7%
AphrontDatabaseConnection::query310,213 us21.1%21 us0.0%
__phutil_autoload559,854 us20.3%521 us1.1%
PhabricatorPolicyAwareQuery::execute29,228 us19.0%98 us0.2%
PhabricatorSearchIndexer::queueDocumentForIndexing19,074 us18.7%11 us0.0%
PhabricatorWorker::scheduleTask18,887 us18.3%30 us0.1%
PhabricatorPolicyAwareQuery::executeOne18,812 us18.2%13 us0.0%
LiskDAO::update18,626 us17.8%162 us0.3%
PhabricatorPolicyFilter::apply28,288 us17.1%84 us0.2%
PhabricatorWorkerActiveTask::save17,997 us16.5%7 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease17,989 us16.5%35 us0.1%
LiskDAO::insert27,591 us15.6%9 us0.0%
LiskDAO::insertRecordIntoDatabase27,581 us15.6%114 us0.2%
PhabricatorPolicyFilter::checkCapability27,280 us15.0%41 us0.1%
PhabricatorPolicyCapability::getCapabilityByKey27,202 us14.8%13 us0.0%
PhabricatorPolicyCapability::getCapabilityMap27,186 us14.8%35 us0.1%
PhutilSymbolLoader::loadObjects16,732 us13.9%115 us0.2%
qsprintf445,205 us10.7%234 us0.5%
xsprintf444,935 us10.2%798 us1.6%
PhabricatorUser::updateNameTokens14,413 us9.1%49 us0.1%
xsprintf_query873,990 us8.2%830 us1.7%
PhabricatorAuthSessionEngine::loadUserForSession13,065 us6.3%128 us0.3%
AphrontApplicationConfiguration::buildController12,748 us5.7%47 us0.1%
AphrontMySQLiDatabaseConnection::escapeUTF8String342,669 us5.5%111 us0.2%
AphrontBaseMySQLDatabaseConnection::checkWrite82,605 us5.4%28 us0.1%
AphrontWriteGuard::willWrite62,543 us5.2%22 us0.0%
call_user_func62,521 us5.2%20 us0.0%
AphrontRequest::validateCSRF62,501 us5.2%97 us0.2%
AphrontApplicationConfiguration::buildControllerForPath12,372 us4.9%422 us0.9%
queryfx_all22,342 us4.8%16 us0.0%
PhabricatorUser::validateCSRFToken62,327 us4.8%280 us0.6%
AphrontMySQLiDatabaseConnection::escapeBinaryString342,274 us4.7%114 us0.2%
AphrontBaseMySQLDatabaseConnection::requireConnection522,138 us4.4%48 us0.1%
AphrontBaseMySQLDatabaseConnection::establishConnection32,090 us4.3%68 us0.1%
AphrontMySQLiDatabaseConnection::connect31,921 us4.0%104 us0.2%
PhabricatorUser::getRawCSRFToken421,896 us3.9%170 us0.4%
LiskDAO::loadNextCounterValue11,872 us3.9%8 us0.0%
queryfx_one11,867 us3.8%14 us0.0%
PhabricatorUser::generateToken421,634 us3.4%665 us1.4%
PhabricatorSetupCheck::willProcessRequest11,511 us3.1%8 us0.0%
PhabricatorSetupCheck::getOpenSetupIssueKeys11,418 us2.9%11 us0.0%
mysqli::real_connect31,352 us2.8%1,352 us2.8%
PhabricatorUser::loadPreferences11,148 us2.4%27 us0.1%
PhabricatorCaches::getSetupCache21,109 us2.3%10 us0.0%
PhabricatorEnv::getEnvConfig2351,001 us2.1%298 us0.6%
LiskDAO::__call103923 us1.9%128 us0.3%
DarkConsoleCore::__construct1917 us1.9%57 us0.1%
LiskDAO::loadOneWhere1859 us1.8%15 us0.0%
run_init::query/PhabricatorApplicationQuery.php1819 us1.7%36 us0.1%
LiskDAO::call103795 us1.6%364 us0.8%
LiskDAO::loadFromArray3764 us1.6%134 us0.3%
PhabricatorCaches::newStackFromCaches1759 us1.6%18 us0.0%
PhabricatorConfigStackSource::getKeys19700 us1.4%169 us0.3%
LiskDAO::checkProperty54693 us1.4%110 us0.2%
newv67686 us1.4%233 us0.5%
AphrontHTTPSink::writeResponse1667 us1.4%37 us0.1%
LiskDAO::loadRawDataWhere1630 us1.3%31 us0.1%
PhabricatorCelerityApplication::getRoutes1596 us1.2%18 us0.0%
LiskDAO::getAllLiskProperties8591 us1.2%362 us0.7%
run_init::policy/PhabricatorCursorPagedPolicyAwareQuery.php1589 us1.2%25 us0.1%
LiskDAO::establishConnection6553 us1.1%86 us0.2%
PhabricatorConfigProxySource::getKeys76531 us1.1%225 us0.5%
PhabricatorHash::digest85527 us1.1%199 us0.4%
AphrontDatabaseConnection::queryData1518 us1.1%8 us0.0%
run_init::storage/PhabricatorWorkerActiveTask.php1505 us1.0%38 us0.1%
LiskDAO::hasProperty35498 us1.0%52 us0.1%
PhabricatorApplication::getAllInstalledApplications1498 us1.0%145 us0.3%
call_user_func_array61493 us1.0%208 us0.4%
PhabricatorEnv::setLocaleCode1459 us0.9%46 us0.1%
ReflectionClass::__construct180451 us0.9%101 us0.2%
mpull2429 us0.9%144 us0.3%
run_init::controller/CelerityResourceController.php1411 us0.8%23 us0.0%
AphrontResponse::getContentIterator1411 us0.8%3 us0.0%
AphrontAjaxResponse::buildResponseString1408 us0.8%27 us0.1%
PhabricatorApplicationQuery::loadPage2408 us0.8%307 us0.6%
PhabricatorCaches::addNamespaceToCaches1400 us0.8%18 us0.0%
run_init::policy/PhabricatorPolicyAwareQuery.php1392 us0.8%16 us0.0%
mysqli::set_charset3384 us0.8%384 us0.8%
qsprintf_check_type87383 us0.8%153 us0.3%
error_reporting228373 us0.8%373 us0.8%
PhabricatorPolicyAwareQuery::getPolicyFilter2369 us0.8%37 us0.1%
AphrontDefaultApplicationConfiguration::buildRequest1367 us0.8%50 us0.1%
PhabricatorUser::getAccountSecret43360 us0.7%63 us0.1%
PhabricatorApplication::isInstalled67346 us0.7%333 us0.7%
PhabricatorCaches::buildSetupCaches1340 us0.7%9 us0.0%
PhabricatorEnv::newObjectFromConfig7333 us0.7%23 us0.0%