XHProf PhabricatorPolicyFilter::apply Profile

XHProf Profile

SymbolCountWall Time%
Metrics for this Call
PhabricatorPolicyFilter::apply108184,032 us100.0%
Parent Calls
PhabricatorPolicyAwareQuery::execute430,675 us
PhabricatorPolicyFilter::hasCapability3341,630 us
PhabricatorPolicyAwareQuery::execute@32133,347 us
PhabricatorPolicyAwareQuery::execute@51921,535 us
PhabricatorPolicyAwareQuery::execute@41011,079 us
PhabricatorPolicyAwareQuery::execute@61031,154 us
PhabricatorPolicyAwareQuery::execute@71118 us
PhabricatorPolicyAwareQuery::execute@279,819 us
PhabricatorPolicyAwareQuery::execute@134,675 us
Child Calls
PhabricatorPolicyFilter::loadCustomPolicies1261,460 us33.4%
PhabricatorPolicyFilter::checkCapability53461,366 us33.3%
PhabricatorPolicyAwareQuery::execute@6321,633 us11.8%
PhabricatorApplication::getCapabilities136,152 us3.3%
PhabricatorPolicyAwareQuery::execute@435,923 us3.2%
PhabricatorPolicyFilter::getObjectPolicy5345,345 us2.9%
PhabricatorPolicyAwareQuery::execute@513,699 us2.0%
phid_get_type5342,957 us1.6%
PhabricatorPolicyAwareQuery::execute@311,859 us1.0%
PhabricatorPolicyQuery::isObjectPolicy5341,453 us0.8%
__phutil_autoload4990 us0.5%
assert_instances_of108725 us0.4%
PhabricatorPolicyFilter::applyExtendedPolicyChecks7694 us0.4%
in_array534114 us0.1%
array_select_keys764 us0.0%
PhabricatorRepository::getCapabilities2535 us0.0%
PhabricatorSpacesNamespace::getCapabilities2122 us0.0%
PhabricatorApplicationTransaction::getCapabilities12420 us0.0%
DifferentialRevision::getCapabilities3015 us0.0%
PhabricatorApplicationTransactionComment::getCapabilities1813 us0.0%
PhabricatorPolicyAwareQuery::setViewer813 us0.0%
PhabricatorUser::getOmnipotentUser811 us0.0%
PhabricatorUser::getCapabilities4211 us0.0%
PhabricatorRepositoryCommit::getCapabilities3111 us0.0%
array_unique89 us0.0%
ManiphestTask::getCapabilities239 us0.0%
PhabricatorProject::getCapabilities78 us0.0%
PhabricatorObjectHandle::getCapabilities1527 us0.0%
array_keys77 us0.0%
PhabricatorFile::getCapabilities86 us0.0%
PhabricatorUser::isOmnipotent1084 us0.0%
PhabricatorProjectQuery::withMemberPHIDs84 us0.0%
DifferentialDiff::getCapabilities64 us0.0%
PhabricatorFeedStory::getCapabilities313 us0.0%
id82 us0.0%
PhabricatorDashboardPanel::getCapabilities12 us0.0%
PhabricatorProjectQuery::withPHIDs82 us0.0%
PhabricatorToken::getCapabilities22 us0.0%
LiskDAO::getPHID1232 us0.0%