XHProf PhabricatorPolicyFilter::apply Profile

XHProf Profile

SymbolCountWall Time%
Metrics for this Call
PhabricatorPolicyFilter::apply31460,492 us100.0%
Parent Calls
PhabricatorPolicyAwareQuery::execute26328,485 us
PhabricatorPolicyFilter::hasCapability2527,119 us
PhabricatorPolicyAwareQuery::execute@23739 us
PhabricatorPolicyAwareQuery::execute@1193,198 us
PhabricatorPolicyAwareQuery::execute@33733 us
PhabricatorPolicyAwareQuery::execute@41218 us
Child Calls
PhabricatorPolicyFilter::checkCapability35912,930 us21.4%
PhabricatorPolicyFilter::applyApplicationChecks30811,904 us19.7%
PhabricatorPolicyFilter::applyExtendedPolicyChecks207,460 us12.3%
PhabricatorPolicyAwareQuery::execute27,169 us11.9%
PhabricatorPolicyFilter::loadCustomPolicies15,377 us8.9%
PhabricatorPolicyFilter::getObjectPolicy3594,032 us6.7%
PhabricatorApplication::getCapabilities2753,512 us5.8%
phid_get_type359864 us1.4%
assert_instances_of314704 us1.2%
PhabricatorPolicyQuery::isObjectPolicy359627 us1.0%
spl_autoload_call4293 us0.5%
array_select_keys2040 us0.1%
LiskDAO::getPHID3123 us0.0%
PhabricatorRepository::getCapabilities33 us0.0%
in_array3591 us0.0%
PhabricatorSpacesNamespace::getCapabilities51 us0.0%
HeraldRule::getCapabilities301 us0.0%
PhabricatorPolicyAwareQuery::setViewer21 us0.0%
DifferentialRevision::getCapabilities201 us0.0%
PhabricatorUser::getCapabilities231 us0.0%
PhabricatorApplicationTransaction::getCapabilities11 us0.0%
id20 us
array_unique20 us
PhabricatorUser::isOmnipotent3140 us
PhabricatorProjectQuery::withPHIDs20 us
array_keys200 us
PhabricatorObjectHandle::getCapabilities20 us
PhabricatorUser::getOmnipotentUser20 us
PhabricatorProjectQuery::withMemberPHIDs20 us