XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total8,22050,358 us100.0%50,358 us100.0%
main()150,358 us100.0%106 us0.2%
AphrontApplicationConfiguration::processRequest146,476 us92.3%76 us0.2%
AphrontController::handleRequest125,243 us50.1%7 us0.0%
DarkConsoleController::processRequest125,235 us50.1%31 us0.1%
PhabricatorUser::save124,832 us49.3%37 us0.1%
queryfx820,201 us40.1%59 us0.1%
AphrontBaseMySQLDatabaseConnection::executeRawQuery818,501 us36.7%197 us0.4%
LiskDAO::save318,477 us36.7%11 us0.0%
PhabricatorController::willBeginExecution117,753 us35.3%240 us0.5%
PhutilSymbolLoader::selectAndLoadSymbols5716,673 us33.1%1,990 us4.0%
AphrontMySQLiDatabaseConnection::rawQuery815,475 us30.7%60 us0.1%
mysqli::query815,407 us30.6%15,407 us30.6%
PhutilSymbolLoader::loadSymbol11414,727 us29.2%1,203 us2.4%
PhutilBootloader::loadLibrarySource11413,557 us26.9%596 us1.2%
PhutilBootloader::executeInclude11412,953 us25.7%8,556 us17.0%
AphrontDatabaseConnection::query312,260 us24.3%19 us0.0%
LiskDAO::update110,440 us20.7%161 us0.3%
__phutil_autoload5510,035 us19.9%518 us1.0%
PhabricatorSearchIndexer::queueDocumentForIndexing19,604 us19.1%12 us0.0%
PhabricatorWorker::scheduleTask19,336 us18.5%31 us0.1%
PhabricatorPolicyAwareQuery::execute29,098 us18.1%100 us0.2%
PhabricatorPolicyAwareQuery::executeOne18,684 us17.2%12 us0.0%
PhabricatorWorkerActiveTask::save18,402 us16.7%7 us0.0%
PhabricatorWorkerActiveTask::forceSaveWithoutLease18,394 us16.7%37 us0.1%
PhabricatorPolicyFilter::apply28,186 us16.3%85 us0.2%
LiskDAO::insert27,984 us15.9%8 us0.0%
LiskDAO::insertRecordIntoDatabase27,974 us15.8%119 us0.2%
PhabricatorPolicyFilter::checkCapability27,178 us14.3%41 us0.1%
PhabricatorPolicyCapability::getCapabilityByKey27,100 us14.1%12 us0.0%
PhabricatorPolicyCapability::getCapabilityMap27,085 us14.1%35 us0.1%
PhutilSymbolLoader::loadObjects16,633 us13.2%114 us0.2%
qsprintf444,952 us9.8%221 us0.4%
xsprintf444,702 us9.3%789 us1.6%
PhabricatorUser::updateNameTokens14,486 us8.9%48 us0.1%
xsprintf_query873,778 us7.5%779 us1.5%
PhabricatorAuthSessionEngine::loadUserForSession12,792 us5.5%122 us0.2%
AphrontApplicationConfiguration::buildController12,682 us5.3%49 us0.1%
AphrontBaseMySQLDatabaseConnection::checkWrite82,596 us5.2%47 us0.1%
AphrontMySQLiDatabaseConnection::escapeUTF8String342,529 us5.0%108 us0.2%
AphrontWriteGuard::willWrite62,516 us5.0%21 us0.0%
call_user_func62,495 us5.0%20 us0.0%
AphrontRequest::validateCSRF62,475 us4.9%75 us0.1%
PhabricatorUser::validateCSRFToken62,322 us4.6%281 us0.6%
AphrontApplicationConfiguration::buildControllerForPath12,268 us4.5%385 us0.8%
AphrontMySQLiDatabaseConnection::escapeBinaryString342,159 us4.3%109 us0.2%
LiskDAO::loadNextCounterValue12,129 us4.2%8 us0.0%
queryfx_all22,069 us4.1%16 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection522,033 us4.0%48 us0.1%
AphrontBaseMySQLDatabaseConnection::establishConnection31,985 us3.9%79 us0.2%
PhabricatorUser::getRawCSRFToken421,901 us3.8%176 us0.3%
AphrontMySQLiDatabaseConnection::connect31,808 us3.6%98 us0.2%
PhabricatorUser::generateToken421,643 us3.3%653 us1.3%
queryfx_one11,616 us3.2%14 us0.0%
PhabricatorSetupCheck::willProcessRequest11,547 us3.1%8 us0.0%
PhabricatorSetupCheck::getOpenSetupIssueKeys11,451 us2.9%11 us0.0%
mysqli::real_connect31,250 us2.5%1,250 us2.5%
PhabricatorCaches::getSetupCache21,156 us2.3%8 us0.0%
PhabricatorUser::loadPreferences11,071 us2.1%26 us0.1%
PhabricatorEnv::getEnvConfig2351,015 us2.0%281 us0.6%
DarkConsoleCore::__construct1972 us1.9%56 us0.1%
LiskDAO::__call103908 us1.8%127 us0.3%
run_init::query/PhabricatorApplicationQuery.php1831 us1.7%35 us0.1%
LiskDAO::loadOneWhere1822 us1.6%16 us0.0%
PhabricatorCaches::newStackFromCaches1785 us1.6%19 us0.0%
LiskDAO::call103781 us1.6%351 us0.7%
LiskDAO::loadFromArray3747 us1.5%128 us0.3%
PhabricatorConfigStackSource::getKeys19734 us1.5%175 us0.3%
newv67701 us1.4%236 us0.5%
LiskDAO::checkProperty54701 us1.4%112 us0.2%
AphrontHTTPSink::writeResponse1672 us1.3%32 us0.1%
PhabricatorCelerityApplication::getRoutes1612 us1.2%19 us0.0%
run_init::policy/PhabricatorCursorPagedPolicyAwareQuery.php1603 us1.2%29 us0.1%
LiskDAO::loadRawDataWhere1597 us1.2%28 us0.1%
LiskDAO::getAllLiskProperties8597 us1.2%367 us0.7%
PhabricatorConfigProxySource::getKeys76559 us1.1%252 us0.5%
LiskDAO::establishConnection6552 us1.1%81 us0.2%
PhabricatorHash::digest85549 us1.1%221 us0.4%
run_init::storage/PhabricatorWorkerActiveTask.php1498 us1.0%40 us0.1%
LiskDAO::hasProperty35497 us1.0%49 us0.1%
AphrontDatabaseConnection::queryData1492 us1.0%8 us0.0%
call_user_func_array61465 us0.9%197 us0.4%
ReflectionClass::__construct180456 us0.9%85 us0.2%
PhabricatorApplication::getAllInstalledApplications1439 us0.9%138 us0.3%
AphrontResponse::getContentIterator1431 us0.9%4 us0.0%
run_init::controller/CelerityResourceController.php1428 us0.8%24 us0.0%
AphrontAjaxResponse::buildResponseString1427 us0.8%26 us0.1%
PhabricatorCaches::addNamespaceToCaches1427 us0.8%18 us0.0%
mpull2426 us0.8%139 us0.3%
PhabricatorEnv::setLocaleCode1419 us0.8%46 us0.1%
run_init::policy/PhabricatorPolicyAwareQuery.php1402 us0.8%15 us0.0%
error_reporting228383 us0.8%383 us0.8%
mysqli::set_charset3382 us0.8%382 us0.8%
PhabricatorApplicationQuery::loadPage2378 us0.8%278 us0.6%
PhabricatorPolicyAwareQuery::getPolicyFilter2369 us0.7%35 us0.1%
qsprintf_check_type87368 us0.7%145 us0.3%
PhabricatorCaches::buildSetupCaches1363 us0.7%9 us0.0%
PhabricatorUser::getAccountSecret43356 us0.7%66 us0.1%
AphrontDefaultApplicationConfiguration::buildRequest1345 us0.7%50 us0.1%
PhabricatorEnv::newObjectFromConfig7332 us0.7%22 us0.0%
PhabricatorApplication::isInstalled67301 us0.6%291 us0.6%