XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total8,27866,706 us100.0%66,706 us100.0%
main()166,706 us100.0%124 us0.2%
AphrontApplicationConfiguration::processRequest163,081 us94.6%99 us0.1%
AphrontController::handleRequest138,214 us57.3%8 us0.0%
DarkConsoleController::processRequest138,205 us57.3%44 us0.1%
PhabricatorUser::save137,722 us56.5%40 us0.1%
LiskDAO::save329,134 us43.7%15 us0.0%
PhabricatorController::willBeginExecution121,003 us31.5%291 us0.4%
qsprintf4820,192 us30.3%309 us0.5%
xsprintf4819,788 us29.7%1,154 us1.7%
PhutilSymbolLoader::selectAndLoadSymbols5619,278 us28.9%2,190 us3.3%
xsprintf_query9518,296 us27.4%1,244 us1.9%
PhabricatorSearchIndexer::queueDocumentForIndexing117,887 us26.8%11 us0.0%
queryfx817,801 us26.7%75 us0.1%
PhabricatorWorker::scheduleTask117,658 us26.5%34 us0.1%
PhutilSymbolLoader::loadSymbol11717,170 us25.7%1,265 us1.9%
PhabricatorWorkerActiveTask::save116,440 us24.6%8 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease116,431 us24.6%39 us0.1%
AphrontMySQLiDatabaseConnection::escapeUTF8String3816,229 us24.3%167 us0.3%
PhutilBootloader::loadLibrarySource11715,965 us23.9%560 us0.8%
LiskDAO::insert215,950 us23.9%19 us0.0%
LiskDAO::insertRecordIntoDatabase215,929 us23.9%127 us0.2%
AphrontBaseMySQLDatabaseConnection::executeRawQuery815,592 us23.4%215 us0.3%
PhutilBootloader::executeInclude11715,398 us23.1%9,348 us14.0%
LiskDAO::update113,120 us19.7%261 us0.4%
AphrontMySQLiDatabaseConnection::rawQuery811,766 us17.6%71 us0.1%
mysqli::query811,686 us17.5%11,686 us17.5%
AphrontMySQLiDatabaseConnection::escapeBinaryString3811,534 us17.3%175 us0.3%
AphrontBaseMySQLDatabaseConnection::requireConnection5611,317 us17.0%75 us0.1%
PhabricatorPolicyAwareQuery::execute211,303 us16.9%100 us0.1%
AphrontBaseMySQLDatabaseConnection::establishConnection311,242 us16.9%95 us0.1%
__phutil_autoload5411,039 us16.5%598 us0.9%
AphrontMySQLiDatabaseConnection::connect311,037 us16.5%105 us0.2%
PhabricatorPolicyAwareQuery::executeOne110,699 us16.0%12 us0.0%
mysqli::real_connect310,444 us15.7%10,444 us15.7%
PhabricatorPolicyFilter::apply210,348 us15.5%89 us0.1%
PhabricatorPolicyFilter::checkCapability28,930 us13.4%46 us0.1%
PhabricatorPolicyCapability::getCapabilityByKey28,848 us13.3%13 us0.0%
PhabricatorPolicyCapability::getCapabilityMap28,832 us13.2%47 us0.1%
PhutilSymbolLoader::loadObjects18,285 us12.4%144 us0.2%
AphrontDatabaseConnection::query38,070 us12.1%36 us0.1%
PhabricatorUser::updateNameTokens16,392 us9.6%115 us0.2%
AphrontBaseMySQLDatabaseConnection::validateUTF8String384,528 us6.8%71 us0.1%
phutil_is_utf8384,457 us6.7%143 us0.2%
mb_check_encoding384,283 us6.4%4,283 us6.4%
PhabricatorAuthSessionEngine::loadUserForSession13,327 us5.0%144 us0.2%
AphrontBaseMySQLDatabaseConnection::checkWrite83,303 us5.0%38 us0.1%
AphrontWriteGuard::willWrite63,226 us4.8%29 us0.0%
call_user_func63,197 us4.8%26 us0.0%
AphrontRequest::validateCSRF63,171 us4.8%99 us0.1%
PhabricatorUser::validateCSRFToken62,960 us4.4%337 us0.5%
AphrontApplicationConfiguration::buildController12,934 us4.4%56 us0.1%
AphrontApplicationConfiguration::buildControllerForPath12,561 us3.8%449 us0.7%
PhabricatorUser::getRawCSRFToken362,430 us3.6%227 us0.3%
queryfx_all22,410 us3.6%16 us0.0%
LiskDAO::loadNextCounterValue12,179 us3.3%9 us0.0%
PhabricatorUser::generateToken362,086 us3.1%805 us1.2%
queryfx_one11,943 us2.9%15 us0.0%
PhabricatorSetupCheck::willProcessRequest11,451 us2.2%9 us0.0%
PhabricatorSetupCheck::getOpenSetupIssueKeys11,358 us2.0%5 us0.0%
PhabricatorCaches::getSetupCache21,212 us1.8%11 us0.0%
LiskDAO::__call931,133 us1.7%152 us0.2%
PhabricatorUser::loadPreferences11,093 us1.6%27 us0.0%
PhabricatorEnv::getEnvConfig2211,067 us1.6%299 us0.4%
DarkConsoleCore::__construct11,011 us1.5%58 us0.1%
LiskDAO::call93981 us1.5%428 us0.6%
run_init::query/PhabricatorApplicationQuery.php1894 us1.3%47 us0.1%
LiskDAO::loadFromArray3889 us1.3%189 us0.3%
LiskDAO::loadOneWhere1839 us1.3%15 us0.0%
LiskDAO::checkProperty60833 us1.2%118 us0.2%
PhabricatorCaches::newStackFromCaches1820 us1.2%19 us0.0%
AphrontHTTPSink::writeResponse1768 us1.2%44 us0.1%
PhabricatorConfigStackSource::getKeys19764 us1.1%182 us0.3%
run_init::storage/PhabricatorWorkerActiveTask.php1756 us1.1%94 us0.1%
PhabricatorCelerityApplication::getRoutes1738 us1.1%19 us0.0%
newv71729 us1.1%245 us0.4%
LiskDAO::getAllLiskProperties8719 us1.1%429 us0.6%
run_init::policy/PhabricatorCursorPagedPolicyAwareQuery.php1647 us1.0%27 us0.0%
PhabricatorHash::digest73630 us0.9%220 us0.3%
qsprintf_check_type95627 us0.9%241 us0.4%
LiskDAO::loadRawDataWhere1611 us0.9%28 us0.0%
LiskDAO::establishConnection6592 us0.9%83 us0.1%
PhabricatorConfigProxySource::getKeys76582 us0.9%208 us0.3%
LiskDAO::hasProperty39575 us0.9%46 us0.1%
run_init::controller/CelerityResourceController.php1527 us0.8%42 us0.1%
mpull2510 us0.8%184 us0.3%
AphrontDatabaseConnection::queryData1506 us0.8%8 us0.0%
ReflectionClass::__construct192493 us0.7%122 us0.2%
PhabricatorEnv::setLocaleCode1490 us0.7%59 us0.1%
call_user_func_array65481 us0.7%370 us0.6%
AphrontResponse::getContentIterator1473 us0.7%4 us0.0%
AphrontAjaxResponse::buildResponseString1469 us0.7%27 us0.0%
PhabricatorUser::getAccountSecret37451 us0.7%95 us0.1%
PhabricatorApplication::getAllInstalledApplications1450 us0.7%143 us0.2%
run_init::policy/PhabricatorPolicyAwareQuery.php1447 us0.7%18 us0.0%
PhabricatorCaches::addNamespaceToCaches1446 us0.7%20 us0.0%
error_reporting234421 us0.6%421 us0.6%
PhabricatorPolicyAwareQuery::getPolicyFilter2407 us0.6%45 us0.1%
mysqli::set_charset3398 us0.6%398 us0.6%
qsprintf_check_scalar_type103386 us0.6%368 us0.6%
run_init::storage/PhabricatorWorkerTask.php1383 us0.6%93 us0.1%