XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total395,2461,494,284 us100.0%1,494,284 us100.0%
main()11,494,284 us100.0%95 us0.0%
PhabricatorSetupCheck::willProcessRequest11,058,617 us70.8%16 us0.0%
PhabricatorSetupEngine::execute11,058,383 us70.8%14 us0.0%
PhabricatorSetupCheck::runNormalChecks11,046,668 us70.0%291 us0.0%
PhabricatorSetupCheck::runSetupChecks251,045,847 us70.0%137 us0.0%
AphrontApplicationConfiguration::processRequest1434,685 us29.1%444 us0.0%
PhabricatorDatabaseSetupCheck::executeChecks1391,338 us26.2%79 us0.0%
PhabricatorDatabaseSetupCheck::executeRefChecks4354,789 us23.7%7,243 us0.5%
queryfx89322,671 us21.6%805 us0.1%
queryfx_all84316,399 us21.2%490 us0.0%
DivinerAtomController::handleRequest1312,253 us20.9%2,977 us0.2%
AphrontBaseMySQLDatabaseConnection::executeQuery89287,590 us19.2%2,926 us0.2%
PhabricatorPolicyAwareQuery::execute26281,617 us18.8%1,646 us0.1%
Future::resolve17270,330 us18.1%5,041 us0.3%
PhabricatorSQLPatchList::buildAllPatches4266,206 us17.8%85,408 us5.7%
Future::waitForSockets32197,124 us13.2%366 us0.0%
stream_select32196,757 us13.2%196,757 us13.2%
PhabricatorBinariesSetupCheck::executeChecks1192,288 us12.9%199 us0.0%
PhabricatorPolicyAwareQuery::executeOne3186,367 us12.5%39 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection2,774182,161 us12.2%203 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection46181,958 us12.2%656 us0.0%
AphrontMySQLiDatabaseConnection::connect46180,506 us12.1%1,248 us0.1%
exec_manual12164,039 us11.0%202 us0.0%
PhabricatorBuiltinPatchList::getPatches4151,467 us10.1%12,391 us0.8%
mysqli::real_connect46144,596 us9.7%144,596 us9.7%
queryfx_one32124,146 us8.3%247 us0.0%
PhutilQueryString::renderString1,496114,649 us7.7%3,802 us0.3%
AphrontMySQLiDatabaseConnection::rawQuery89113,820 us7.6%1,342 us0.1%
xsprintf1,538113,201 us7.6%17,297 us1.2%
PhabricatorInvalidConfigSetupCheck::executeChecks1112,568 us7.5%1,435 us0.1%
PhutilBinaryAnalyzer::getBinaryVersion3111,774 us7.5%13 us0.0%
xsprintf_query1,621103,989 us7.0%21,267 us1.4%
PhabricatorMySQLSetupCheck::executeChecks1100,591 us6.7%18 us0.0%
PhabricatorMySQLSetupCheck::executeRefChecks4100,521 us6.7%216 us0.0%
mysqli::poll8998,199 us6.6%98,199 us6.6%
PhutilQueryString::getMaskedString52894,704 us6.3%526 us0.0%
PhabricatorBuiltinPatchList::getPatchPath1,49682,286 us5.5%5,263 us0.4%
PhabricatorApplicationConfigOptions::validateOption15581,592 us5.5%987 us0.1%
Filesystem::binaryExists778,315 us5.2%21 us0.0%
Filesystem::resolveBinary778,294 us5.2%57 us0.0%
PhabricatorDatabaseRef::loadRawMySQLConfigValue1676,221 us5.1%139 us0.0%
PhabricatorMarkupEngine::process175,650 us5.1%1,823 us0.1%
PhutilMercurialBinaryAnalyzer::newBinaryVersion173,551 us4.9%51 us0.0%
Filesystem::readFile1,49673,372 us4.9%9,046 us0.6%
PhutilTypeSpec::checkMap2072,895 us4.9%1,110 us0.1%
PhutilTypeSpec::newFromString10471,234 us4.8%1,230 us0.1%
qsprintf36265,512 us4.4%1,935 us0.1%
PhutilQueryString::getUnmaskedString96865,393 us4.4%1,067 us0.1%
PhabricatorPolicyFilter::apply3264,549 us4.3%3,370 us0.2%
PhutilQueryString::__construct36263,432 us4.2%542 us0.0%
LiskDAO::loadAllWhere962,394 us4.2%181 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage760,151 us4.0%31 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows759,567 us4.0%45 us0.0%
PhutilTypeSpec::parseTokens10458,874 us3.9%35,387 us2.4%
HTTPSFuture::isReady17058,308 us3.9%1,888 us0.1%
AphrontApplicationConfiguration::produceResponse156,255 us3.8%15 us0.0%
PhabricatorStandardPageView::produceAphrontResponse156,234 us3.8%203 us0.0%
DivinerAtomQuery::loadPage755,922 us3.7%259 us0.0%
PhabricatorController::willBeginExecution155,863 us3.7%137 us0.0%
AphrontPageView::render155,590 us3.7%32 us0.0%
AphrontMySQLiDatabaseConnection::escapeUTF8String2,54551,788 us3.5%13,843 us0.9%
LiskDAO::establishConnection4148,275 us3.2%339 us0.0%
PhabricatorStandardPageView::willRenderPage148,147 us3.2%90 us0.0%
PhabricatorSQLPatchList::buildPatchesFromDirectory447,908 us3.2%10,043 us0.7%
PhabricatorLiskDAO::establishLiveConnection1046,914 us3.1%96 us0.0%
PhabricatorWebServerSetupCheck::executeChecks146,904 us3.1%159 us0.0%
phutil_tag2,34246,738 us3.1%12,943 us0.9%
PhabricatorLiskDAO::newClusterConnection1046,727 us3.1%82 us0.0%
PhabricatorDatabaseRef::isReachable1045,835 us3.1%88 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection745,814 us3.1%83 us0.0%
AphrontBaseMySQLDatabaseConnection::openConnection1045,717 us3.1%26 us0.0%
FutureIterator::next345,706 us3.1%179 us0.0%
phutil_escape_html8,52544,349 us3.0%15,515 us1.0%
PhutilSymbolLoader::selectAndLoadSymbols30044,338 us3.0%11,258 us0.8%
ExecFuture::isReady96743,767 us2.9%11,795 us0.8%
PhutilRemarkupEngine::postprocessText10841,046 us2.7%11,713 us0.8%
PhabricatorCacheSetupCheck::executeChecks140,922 us2.7%93 us0.0%
AphrontView::producePhutilSafeHTML38140,691 us2.7%427 us0.0%
AphrontTagView::render37140,373 us2.7%4,781 us0.3%
PhabricatorPygmentSetupCheck::executeChecks139,329 us2.6%26 us0.0%
PhabricatorPolicyFilter::hasCapability738,673 us2.6%66 us0.0%
PhabricatorSpacesNamespaceQuery::getViewerSpaces138,423 us2.6%25 us0.0%
LiskDAO::loadRawDataWhere936,909 us2.5%169 us0.0%
spl_autoload_call27935,678 us2.4%673 us0.0%
__phutil_autoload27935,154 us2.4%1,980 us0.1%
LiskDAO::loadAllFromArray3334,874 us2.3%1,857 us0.1%
phutil_implode_html10434,266 us2.3%930 us0.1%
PhabricatorClusterDatabasesConfigType::validateStoredValue134,223 us2.3%70 us0.0%
mysqli::set_charset4633,777 us2.3%33,777 us2.3%
PhutilSymbolLoader::loadSymbol53833,021 us2.2%3,794 us0.3%
LiskDAO::loadFromArray57733,017 us2.2%7,090 us0.5%
DivinerBookQuery::loadPage731,779 us2.1%125 us0.0%
PhabricatorBarePageView::willRenderPage131,676 us2.1%5 us0.0%
PhabricatorOpcodeCacheSpec::getActiveCacheSpec131,555 us2.1%16 us0.0%
PhabricatorOpcodeCacheSpec::initOpcacheSpec131,536 us2.1%2,618 us0.2%
PHUIDocumentView::getTagContent131,509 us2.1%60 us0.0%
AphrontDatabaseConnection::queryData931,392 us2.1%57 us0.0%
phutil_tag_div230,639 us2.1%5 us0.0%
DivinerSectionView::getTagContent130,420 us2.0%15 us0.0%
call_user_func_array4,02929,841 us2.0%9,003 us0.6%