XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total10,73847,363 us100.0%47,363 us100.0%
main()147,363 us100.0%102 us0.2%
AphrontApplicationConfiguration::processRequest145,330 us95.7%62 us0.1%
PhabricatorFileDataController::handleRequest125,589 us54.0%107 us0.2%
PhabricatorFileDataController::loadFile115,681 us33.1%53 us0.1%
PhabricatorPolicyAwareQuery::executeOne114,697 us31.0%13 us0.0%
PhabricatorPolicyAwareQuery::execute114,678 us31.0%89 us0.2%
PhabricatorController::willBeginExecution114,503 us30.6%114 us0.2%
PhabricatorFileQuery::loadPage114,200 us30.0%50 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage113,567 us28.6%9 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows113,137 us27.7%11 us0.0%
LiskDAO::establishConnection411,599 us24.5%63 us0.1%
PhabricatorLiskDAO::establishLiveConnection211,193 us23.6%39 us0.1%
PhutilKeyValueCache::getKey1411,081 us23.4%77 us0.2%
PhutilKeyValueCacheStack::getKeys911,076 us23.4%98 us0.2%
PhabricatorUser::getUserSetting211,055 us23.3%45 us0.1%
PhabricatorLiskDAO::newClusterConnection211,054 us23.3%21 us0.0%
PhutilKeyValueCacheProfiler::getKeys910,932 us23.1%190 us0.4%
PhabricatorDatabaseRef::isReachable210,750 us22.7%23 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection2310,720 us22.6%27 us0.1%
AphrontBaseMySQLDatabaseConnection::openConnection210,705 us22.6%5 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection210,693 us22.6%43 us0.1%
PhabricatorUser::loadGlobalSettings210,609 us22.4%20 us0.0%
AphrontMySQLiDatabaseConnection::connect210,587 us22.4%80 us0.2%
PhutilKeyValueCacheNamespace::getKeys910,505 us22.2%106 us0.2%
PhutilKeyValueCacheProxy::getKeys2010,291 us21.7%98 us0.2%
PhabricatorKeyValueSerializingCacheProxy::getKeys210,182 us21.5%20 us0.0%
PhabricatorKeyValueDatabaseCache::getKeys210,139 us21.4%45 us0.1%
queryfx_all49,938 us21.0%32 us0.1%
queryfx49,810 us20.7%55 us0.1%
PhabricatorAuthSessionEngine::willServeRequestForUser19,333 us19.7%28 us0.1%
PhabricatorFile::getFileDataIterator18,975 us18.9%9 us0.0%
PhabricatorUser::getTranslation18,891 us18.8%7 us0.0%
AphrontBaseMySQLDatabaseConnection::executeQuery48,388 us17.7%124 us0.3%
mysqli::real_connect28,144 us17.2%8,144 us17.2%
PhabricatorFileStorageEngine::getRawFileDataIterator17,928 us16.7%24 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection17,417 us15.7%16 us0.0%
PhutilSymbolLoader::selectAndLoadSymbols617,315 us15.4%2,065 us4.4%
spl_autoload_call576,804 us14.4%182 us0.4%
__phutil_autoload576,687 us14.1%518 us1.1%
PhabricatorKeyValueDatabaseCache::establishConnection26,149 us13.0%22 us0.0%
AphrontMySQLiDatabaseConnection::rawQuery45,919 us12.5%86 us0.2%
mysqli::poll45,554 us11.7%5,554 us11.7%
PhutilQueryString::renderString1015,352 us11.3%275 us0.6%
PhutilSymbolLoader::loadSymbol725,324 us11.2%762 us1.6%
xsprintf1015,241 us11.1%1,518 us3.2%
PhutilBootloader::loadLibrarySource714,622 us9.8%334 us0.7%
xsprintf_query1284,442 us9.4%1,512 us3.2%
AphrontApplicationConfiguration::buildController14,417 us9.3%37 us0.1%
PhutilQueryString::getMaskedString334,337 us9.2%70 us0.1%
PhutilBootloader::executeInclude714,332 us9.1%1,154 us2.4%
PhabricatorCursorPagedPolicyAwareQuery::buildStandardPageQuery13,541 us7.5%30 us0.1%
PhutilQueryString::getUnmaskedString683,412 us7.2%147 us0.3%
qsprintf243,321 us7.0%140 us0.3%
PhabricatorFileStorageEngine::newIntegrityHash13,202 us6.8%12 us0.0%
PhutilQueryString::__construct243,106 us6.6%63 us0.1%
PhutilOpaqueEnvelope::mask172,927 us6.2%2,872 us6.1%
PhabricatorFileAES256StorageFormat::extractKeyAndIV22,862 us6.0%66 us0.1%
PhabricatorMySQLFileStorageEngine::readFile12,718 us5.7%7 us0.0%
PhabricatorMySQLFileStorageEngine::loadFromMySQLFileStorage12,686 us5.7%13 us0.0%
LiskDAO::load12,554 us5.4%13 us0.0%
LiskDAO::loadOneWhere12,536 us5.4%15 us0.0%
LiskDAO::loadRawDataWhere12,385 us5.0%28 us0.1%
call_user_func_array1122,302 us4.9%331 us0.7%
mysqli::set_charset22,291 us4.8%2,291 us4.8%
AphrontDatabaseConnection::queryData12,249 us4.7%8 us0.0%
PhabricatorHash::digestWithNamedKey42,202 us4.6%19 us0.0%
PhabricatorFileAES256StorageFormat::newFormatIntegrityHash12,158 us4.6%15 us0.0%
PhabricatorHash::getNamedHMACKey41,977 us4.2%1,336 us2.8%
PhabricatorResourceSite::getRoutingMaps11,970 us4.2%500 us1.1%
PhabricatorFileAES256StorageFormat::newReadIterator11,746 us3.7%13 us0.0%
PhutilOpaqueEnvelope::__construct81,673 us3.5%33 us0.1%
PhutilClassMapQuery::execute41,497 us3.2%26 us0.1%
PhutilClassMapQuery::loadMap41,448 us3.1%102 us0.2%
PhutilOpaqueEnvelope::openEnvelope91,337 us2.8%37 us0.1%
PhabricatorEnv::getEnvConfig1401,332 us2.8%273 us0.6%
AphrontApplicationConfiguration::buildSiteForRequest11,263 us2.7%25 us0.1%
PhabricatorFileAES256StorageFormat::decryptData31,241 us2.6%23 us0.0%
PhutilSymbolLoader::loadObjects41,140 us2.4%69 us0.1%
PhabricatorConfigStackSource::getKeys171,041 us2.2%208 us0.4%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClause1938 us2.0%7 us0.0%
PhabricatorFileQuery::buildJoinClauseParts1864 us1.8%4 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildJoinClauseParts1860 us1.8%14 us0.0%
PhabricatorConfigProxySource::getKeys85833 us1.8%320 us0.7%
qsprintf_check_type128820 us1.7%409 us0.9%
PhabricatorFileAES256StorageFormat::getMasterKeyMaterial2749 us1.6%11 us0.0%
AphrontApplicationConfiguration::writeResponse1730 us1.5%8 us0.0%
AphrontHTTPSink::writeResponse1715 us1.5%38 us0.1%
AphrontApplicationConfiguration::routePath1711 us1.5%110 us0.2%
run_init::query/PhabricatorFileQuery.php1695 us1.5%48 us0.1%
PhutilURI::__construct11690 us1.5%380 us0.8%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClause1656 us1.4%6 us0.0%
LiskDAO::checkProperty34638 us1.3%98 us0.2%
PhabricatorApplication::getAllInstalledApplications1636 us1.3%149 us0.3%
PhabricatorKeyring::getKey2635 us1.3%15 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildWhereClause1601 us1.3%8 us0.0%
AphrontRoutingMap::routePath53600 us1.3%143 us0.3%
PhabricatorFile::instantiateStorageEngine1559 us1.2%6 us0.0%
AphrontDefaultApplicationConfiguration::buildRequest1552 us1.2%46 us0.1%
LiskDAO::loadFromArray2541 us1.1%92 us0.2%
PhabricatorFile::buildEngine1536 us1.1%14 us0.0%