XHProf PhabricatorPolicyFilter::apply Profile

XHProf Profile

SymbolCountWall Time%
Metrics for this Call
PhabricatorPolicyFilter::apply3667,789 us100.0%
Parent Calls
PhabricatorPolicyAwareQuery::execute82,398 us
PhabricatorPolicyFilter::hasCapability1254,496 us
PhabricatorPolicyAwareQuery::execute@441,956 us
PhabricatorPolicyAwareQuery::execute@342,604 us
PhabricatorPolicyAwareQuery::execute@253,424 us
PhabricatorPolicyAwareQuery::execute@61376 us
PhabricatorPolicyAwareQuery::execute@51616 us
PhabricatorPolicyAwareQuery::execute@111,919 us
Child Calls
PhabricatorPolicyAwareQuery::execute225,724 us37.9%
PhabricatorPolicyFilter::loadCustomPolicies118,594 us27.4%
PhabricatorPolicyFilter::checkCapability3810,012 us14.8%
PhabricatorPolicyFilter::applyApplicationChecks344,907 us7.2%
PhabricatorPolicyFilter::applyExtendedPolicyChecks74,079 us6.0%
PhabricatorPolicyFilter::getObjectPolicy381,146 us1.7%
PhabricatorApplication::getCapabilities7585 us0.9%
spl_autoload_call4583 us0.9%
phid_get_type38371 us0.5%
PhabricatorPolicyQuery::isObjectPolicy38221 us0.3%
assert_instances_of36170 us0.3%
in_array3839 us0.1%
array_select_keys725 us0.0%
PhabricatorUser::isOmnipotent3618 us0.0%
LiskDAO::getPHID3611 us0.0%
array_keys77 us0.0%
DifferentialRevision::getCapabilities46 us0.0%
HarbormasterBuildTarget::getCapabilities46 us0.0%
HarbormasterBuild::getCapabilities46 us0.0%
PhabricatorRepository::getCapabilities46 us0.0%
PhabricatorSpacesNamespace::getCapabilities55 us0.0%
HarbormasterBuildable::getCapabilities34 us0.0%
PhabricatorPolicyAwareQuery::setViewer23 us0.0%
DifferentialDiff::getCapabilities33 us0.0%
array_unique22 us0.0%
HarbormasterBuildPlan::getCapabilities22 us0.0%
PhabricatorObjectHandle::getCapabilities22 us0.0%
PhabricatorProjectQuery::withMemberPHIDs22 us0.0%
PhabricatorUser::getOmnipotentUser22 us0.0%
PhabricatorProjectQuery::withPHIDs21 us0.0%
id21 us0.0%