XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total8,43452,291 us100.0%52,291 us100.0%
main()152,291 us100.0%110 us0.2%
AphrontApplicationConfiguration::processRequest148,884 us93.5%75 us0.1%
AphrontController::handleRequest126,213 us50.1%7 us0.0%
DarkConsoleController::processRequest126,205 us50.1%31 us0.1%
PhabricatorUser::save125,799 us49.3%32 us0.1%
queryfx821,035 us40.2%60 us0.1%
LiskDAO::save319,692 us37.7%12 us0.0%
AphrontBaseMySQLDatabaseConnection::executeRawQuery819,251 us36.8%196 us0.4%
PhabricatorController::willBeginExecution119,187 us36.7%240 us0.5%
PhutilSymbolLoader::selectAndLoadSymbols5617,421 us33.3%2,000 us3.8%
AphrontMySQLiDatabaseConnection::rawQuery816,256 us31.1%62 us0.1%
mysqli::query816,187 us31.0%16,187 us31.0%
PhutilSymbolLoader::loadSymbol11715,525 us29.7%1,216 us2.3%
PhutilBootloader::loadLibrarySource11714,380 us27.5%549 us1.0%
PhutilBootloader::executeInclude11713,817 us26.4%9,456 us18.1%
AphrontDatabaseConnection::query312,708 us24.3%21 us0.0%
LiskDAO::update111,718 us22.4%175 us0.3%
PhabricatorPolicyAwareQuery::execute210,338 us19.8%98 us0.2%
__phutil_autoload549,905 us18.9%489 us0.9%
PhabricatorPolicyAwareQuery::executeOne19,728 us18.6%11 us0.0%
PhabricatorPolicyFilter::apply29,408 us18.0%86 us0.2%
PhabricatorSearchIndexer::queueDocumentForIndexing19,399 us18.0%11 us0.0%
PhabricatorWorker::scheduleTask19,191 us17.6%32 us0.1%
PhabricatorWorkerActiveTask::save18,324 us15.9%6 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease18,317 us15.9%35 us0.1%
PhabricatorPolicyFilter::checkCapability28,014 us15.3%41 us0.1%
PhabricatorPolicyCapability::getCapabilityByKey27,936 us15.2%11 us0.0%
PhabricatorPolicyCapability::getCapabilityMap27,923 us15.2%36 us0.1%
LiskDAO::insert27,922 us15.1%10 us0.0%
LiskDAO::insertRecordIntoDatabase27,911 us15.1%118 us0.2%
PhutilSymbolLoader::loadObjects17,447 us14.2%129 us0.2%
qsprintf485,400 us10.3%229 us0.4%
xsprintf485,137 us9.8%984 us1.9%
PhabricatorUser::updateNameTokens14,414 us8.4%47 us0.1%
xsprintf_query953,998 us7.6%857 us1.6%
PhabricatorAuthSessionEngine::loadUserForSession12,897 us5.5%127 us0.2%
AphrontApplicationConfiguration::buildController12,690 us5.1%45 us0.1%
AphrontMySQLiDatabaseConnection::escapeUTF8String382,612 us5.0%129 us0.2%
AphrontBaseMySQLDatabaseConnection::checkWrite82,565 us4.9%28 us0.1%
LiskDAO::loadNextCounterValue12,503 us4.8%8 us0.0%
AphrontWriteGuard::willWrite62,500 us4.8%24 us0.0%
call_user_func62,476 us4.7%18 us0.0%
AphrontRequest::validateCSRF62,458 us4.7%76 us0.1%
AphrontApplicationConfiguration::buildControllerForPath12,349 us4.5%391 us0.7%
PhabricatorUser::validateCSRFToken62,305 us4.4%287 us0.5%
AphrontMySQLiDatabaseConnection::escapeBinaryString382,170 us4.1%129 us0.2%
queryfx_all22,105 us4.0%15 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection562,018 us3.9%34 us0.1%
AphrontBaseMySQLDatabaseConnection::establishConnection31,984 us3.8%85 us0.2%
PhabricatorUser::getRawCSRFToken421,883 us3.6%179 us0.3%
AphrontMySQLiDatabaseConnection::connect31,791 us3.4%107 us0.2%
queryfx_one11,646 us3.1%14 us0.0%
PhabricatorUser::generateToken421,600 us3.1%681 us1.3%
PhabricatorSetupCheck::willProcessRequest11,358 us2.6%8 us0.0%
PhabricatorSetupCheck::getOpenSetupIssueKeys11,267 us2.4%6 us0.0%
mysqli::real_connect31,222 us2.3%1,222 us2.3%
PhabricatorCaches::getSetupCache21,131 us2.2%9 us0.0%
PhabricatorUser::loadPreferences11,070 us2.0%24 us0.0%
DarkConsoleCore::__construct11,010 us1.9%55 us0.1%
PhabricatorEnv::getEnvConfig233970 us1.9%298 us0.6%
LiskDAO::__call105915 us1.7%130 us0.2%
run_init::query/PhabricatorApplicationQuery.php1849 us1.6%37 us0.1%
LiskDAO::loadOneWhere1823 us1.6%19 us0.0%
LiskDAO::call105785 us1.5%373 us0.7%
LiskDAO::loadFromArray3766 us1.5%162 us0.3%
PhabricatorCaches::newStackFromCaches1751 us1.4%18 us0.0%
LiskDAO::checkProperty60688 us1.3%116 us0.2%
newv71686 us1.3%247 us0.5%
PhabricatorCelerityApplication::getRoutes1677 us1.3%18 us0.0%
PhabricatorConfigStackSource::getKeys19669 us1.3%178 us0.3%
AphrontHTTPSink::writeResponse1667 us1.3%33 us0.1%
run_init::policy/PhabricatorCursorPagedPolicyAwareQuery.php1617 us1.2%26 us0.0%
LiskDAO::loadRawDataWhere1600 us1.1%26 us0.0%
LiskDAO::getAllLiskProperties8580 us1.1%367 us0.7%
LiskDAO::establishConnection6559 us1.1%81 us0.2%
PhabricatorHash::digest85512 us1.0%187 us0.4%
AphrontDatabaseConnection::queryData1495 us0.9%7 us0.0%
PhabricatorConfigProxySource::getKeys76491 us0.9%204 us0.4%
LiskDAO::hasProperty39484 us0.9%45 us0.1%
run_init::storage/PhabricatorWorkerActiveTask.php1476 us0.9%46 us0.1%
call_user_func_array65470 us0.9%214 us0.4%
PhabricatorEnv::setLocaleCode1460 us0.9%49 us0.1%
PhabricatorApplication::getAllInstalledApplications1456 us0.9%152 us0.3%
run_init::controller/CelerityResourceController.php1450 us0.9%22 us0.0%
mpull2449 us0.9%154 us0.3%
ReflectionClass::__construct192424 us0.8%80 us0.2%
AphrontResponse::getContentIterator1421 us0.8%3 us0.0%
AphrontAjaxResponse::buildResponseString1418 us0.8%27 us0.1%
qsprintf_check_type95417 us0.8%175 us0.3%
run_init::policy/PhabricatorPolicyAwareQuery.php1413 us0.8%17 us0.0%
PhabricatorCaches::addNamespaceToCaches1401 us0.8%18 us0.0%
PhabricatorPolicyAwareQuery::getPolicyFilter2391 us0.7%36 us0.1%
mysqli::set_charset3382 us0.7%382 us0.7%
PhabricatorApplicationQuery::loadPage2381 us0.7%282 us0.5%
error_reporting234380 us0.7%380 us0.7%
PhabricatorCaches::buildSetupCaches1371 us0.7%9 us0.0%
PhabricatorUser::getAccountSecret43347 us0.7%66 us0.1%
PhabricatorEnv::newObjectFromConfig7345 us0.7%23 us0.0%
AphrontDefaultApplicationConfiguration::buildRequest1344 us0.7%51 us0.1%
AphrontBaseMySQLDatabaseConnection::validateUTF8String38313 us0.6%44 us0.1%