XHProf Profile
SymbolCountWall Time (Inclusive)%Wall Time (Exclusive)%
Total125,615206,648 us100.0%206,648 us100.0%
main()1206,648 us100.0%69 us0.0%
AphrontApplicationConfiguration::processRequest1205,442 us99.4%54 us0.0%
HeraldTestConsoleController::handleRequest1173,961 us84.2%286 us0.1%
PhabricatorPolicyAwareQuery::execute296140,507 us68.0%6,874 us3.3%
HeraldEngine::applyRules193,920 us45.4%231 us0.1%
HeraldEngine::doesRuleMatch3092,384 us44.7%615 us0.3%
HeraldEngine::canAuthorViewObject2068,619 us33.2%186 us0.1%
HeraldAdapter::getEnabledAdapterMap1861,685 us29.9%1,236 us0.6%
PhabricatorPolicyFilter::apply38660,492 us29.3%6,727 us3.3%
HeraldAdapter::isAvailableToUser27157,607 us27.9%2,112 us1.0%
PhabricatorPolicyAwareQuery::executeOne541,999 us20.3%32 us0.0%
PhabricatorObjectQuery::loadPage331,411 us15.2%54 us0.0%
call_user_func_array93930,745 us14.9%1,654 us0.8%
PhabricatorController::willBeginExecution128,318 us13.7%112 us0.1%
PhutilSymbolLoader::selectAndLoadSymbols16528,306 us13.7%6,682 us3.2%
PhabricatorPolicyFilter::hasCapability7427,823 us13.5%507 us0.2%
PhutilClassMapQuery::execute47025,776 us12.5%626 us0.3%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows1325,420 us12.3%64 us0.0%
PhutilClassMapQuery::loadMap1824,245 us11.7%761 us0.4%
queryfx3224,040 us11.6%212 us0.1%
HeraldTestConsoleController::newContentSource122,853 us11.1%26 us0.0%
AphrontBaseMySQLDatabaseConnection::executeRawQuery3221,961 us10.6%730 us0.4%
PhutilSymbolLoader::loadSymbol68521,652 us10.5%3,450 us1.7%
PhutilSymbolLoader::loadObjects1820,942 us10.1%786 us0.4%
HeraldTestConsoleController::loadTestObject120,914 us10.1%28 us0.0%
HeraldEngine::getConditionObjectValue5420,529 us9.9%121 us0.1%
AphrontMySQLiDatabaseConnection::rawQuery3220,279 us9.8%394 us0.2%
HeraldEngine::getObjectFieldValue5420,226 us9.8%86 us0.0%
HeraldAdapter::getHeraldField1020,139 us9.7%44 us0.0%
queryfx_all3119,905 us9.6%133 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection1319,476 us9.4%68 us0.0%
PhabricatorApplicationQuery::loadPage27219,169 us9.3%16,857 us8.2%
PhutilBootloader::loadLibrarySource64918,405 us8.9%1,574 us0.8%
mysqli::poll3218,220 us8.8%18,220 us8.8%
LiskDAO::establishConnection3518,163 us8.8%257 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage617,922 us8.7%75 us0.0%
PhabricatorPolicyFilter::checkCapability42817,204 us8.3%3,418 us1.7%
PhabricatorLiskDAO::establishLiveConnection917,126 us8.3%63 us0.0%
PhabricatorLiskDAO::newClusterConnection916,998 us8.2%54 us0.0%
PhutilBootloader::executeInclude64916,911 us8.2%5,873 us2.8%
PhabricatorSpacesNamespaceQuery::getViewerSpaces416,734 us8.1%40 us0.0%
PhabricatorDatabaseRef::isReachable916,434 us8.0%56 us0.0%
AphrontBaseMySQLDatabaseConnection::openConnection916,359 us7.9%11 us0.0%
AphrontBaseMySQLDatabaseConnection::requireConnection16316,349 us7.9%15 us0.0%
AphrontBaseMySQLDatabaseConnection::establishConnection916,334 us7.9%116 us0.1%
AphrontMySQLiDatabaseConnection::connect916,079 us7.8%213 us0.1%
PhabricatorObjectQuery::loadObjectsByName115,954 us7.7%25 us0.0%
DifferentialRevisionPHIDType::loadNamedObjects115,926 us7.7%33 us0.0%
PhabricatorPolicyFilter::applyApplicationChecks37715,669 us7.6%1,800 us0.9%
HeraldRuleQuery::willFilterPage114,095 us6.8%372 us0.2%
DifferentialRevisionQuery::loadPage413,890 us6.7%30 us0.0%
DifferentialRevisionQuery::loadData413,457 us6.5%40 us0.0%
PhabricatorProjectQuery::loadPage413,053 us6.3%15 us0.0%
mysqli::real_connect912,898 us6.2%12,898 us6.2%
PhabricatorApplicationTransactionQuery::willFilterPage112,867 us6.2%48 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClause1712,198 us5.9%52 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::buildSelectClauseParts1711,863 us5.7%121 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildStandardPageQuery1311,622 us5.6%175 us0.1%
PhabricatorApplication::isClassInstalledForViewer44811,214 us5.4%2,791 us1.4%
PhabricatorCursorPagedPolicyAwareQuery::getOrderVector8011,100 us5.4%116 us0.1%
PhabricatorCursorPagedPolicyAwareQuery::buildFerretSelectClause1710,942 us5.3%78 us0.0%
PhabricatorObjectQuery::loadObjectsByPHID210,835 us5.2%45 us0.0%
PhabricatorPHIDType::loadObjects310,682 us5.2%36 us0.0%
PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns7410,668 us5.2%361 us0.2%
PhabricatorCursorPagedPolicyAwareQuery::setOrderVector1910,618 us5.1%369 us0.2%
DifferentialRevisionQuery::willFilterPage410,492 us5.1%117 us0.1%
DifferentialRevisionAuthorProjectsHeraldField::getHeraldFieldValue110,320 us5.0%198 us0.1%
PhabricatorCustomField::getObjectFields410,318 us5.0%223 us0.1%
spl_autoload_call14710,252 us5.0%225 us0.1%
__phutil_autoload14710,072 us4.9%743 us0.4%
DifferentialRevisionQuery::buildSelectStatement49,526 us4.6%73 us0.0%
LiskDAO::loadAllWhere69,136 us4.4%46 us0.0%
PhabricatorCustomField::buildFieldList49,034 us4.4%372 us0.2%
LiskDAO::loadAllFromArray268,914 us4.3%714 us0.3%
PhabricatorRepositoryQuery::loadPage58,811 us4.3%33 us0.0%
iterator_to_array18,773 us4.2%16 us0.0%
PhabricatorHandleList::current28,756 us4.2%5 us0.0%
PhabricatorHandleList::getHandle28,751 us4.2%3 us0.0%
PhabricatorHandleList::loadHandles18,748 us4.2%2 us0.0%
PhabricatorHandlePool::loadPHIDs18,746 us4.2%33 us0.0%
HeraldEngine::getTranscript18,703 us4.2%2 us0.0%
LiskDAO::save18,701 us4.2%4 us0.0%
LiskDAO::insert18,684 us4.2%5 us0.0%
LiskDAO::insertRecordIntoDatabase18,678 us4.2%58 us0.0%
LiskDAO::loadFromArray2588,666 us4.2%3,419 us1.7%
PhabricatorHandleQuery::loadPage18,496 us4.1%71 us0.0%
PhabricatorPolicyFilter::getObjectPolicy8568,456 us4.1%1,003 us0.5%
qsprintf2108,291 us4.0%708 us0.3%
LiskDAO::loadRawDataWhere77,621 us3.7%101 us0.0%
xsprintf2107,551 us3.7%2,537 us1.2%
PhabricatorPolicyFilter::applyExtendedPolicyChecks207,460 us3.6%440 us0.2%
DifferentialRevisionQuery::getOrderableColumns167,277 us3.5%54 us0.0%
PhabricatorPolicyCapability::getCapabilityByKey4256,879 us3.3%812 us0.4%
HeraldTestConsoleController::loadAdapter16,689 us3.2%51 us0.0%
PhabricatorApplication::getPolicy6026,641 us3.2%1,112 us0.5%
PhabricatorPolicyFilter::executeExtendedPolicyChecks206,575 us3.2%141 us0.1%
HeraldAdapter::requireFieldImplementation106,328 us3.1%11 us0.0%
HeraldAdapter::getFieldImplementation106,317 us3.1%21 us0.0%
HeraldAdapter::getFieldImplementationMap106,295 us3.0%422 us0.2%
DifferentialJIRAIssuesField::isFieldEnabled26,195 us3.0%6 us0.0%