XHProf PhabricatorPolicyFilter::apply Profile

XHProf Profile

SymbolCountWall Time%
Metrics for this Call
PhabricatorPolicyFilter::apply4346,947 us100.0%
Parent Calls
PhabricatorPolicyAwareQuery::execute146,181 us
PhabricatorPolicyFilter::hasCapability1837,824 us
PhabricatorPolicyAwareQuery::execute@34880 us
PhabricatorPolicyAwareQuery::execute@141,585 us
PhabricatorPolicyAwareQuery::execute@22472 us
PhabricatorPolicyAwareQuery::execute@415 us
Child Calls
PhabricatorPolicyAwareQuery::execute219,549 us41.6%
PhabricatorPolicyFilter::loadCustomPolicies112,049 us25.7%
PhabricatorPolicyFilter::checkCapability445,749 us12.2%
PhabricatorPolicyAwareQuery::execute@113,623 us7.7%
PhabricatorPolicyFilter::applyApplicationChecks413,544 us7.5%
PhabricatorPolicyFilter::getObjectPolicy44473 us1.0%
spl_autoload_call4311 us0.7%
PhabricatorApplication::getCapabilities10273 us0.6%
phid_get_type44198 us0.4%
assert_instances_of43113 us0.2%
PhabricatorPolicyQuery::isObjectPolicy4494 us0.2%
PhabricatorPolicyFilter::applyExtendedPolicyChecks118 us0.0%
array_select_keys12 us0.0%
PhabricatorPaste::getCapabilities92 us0.0%
in_array442 us0.0%
PhabricatorPolicyAwareQuery::setViewer32 us0.0%
PhabricatorUser::getOmnipotentUser32 us0.0%
PhabricatorUser::getCapabilities32 us0.0%
PhabricatorSpacesNamespace::getCapabilities61 us0.0%
PhabricatorProject::getCapabilities11 us0.0%
PhabricatorEditEngineConfiguration::getCapabilities21 us0.0%
PhabricatorFile::getCapabilities11 us0.0%
PhabricatorUser::isOmnipotent431 us0.0%
PhabricatorEditEngine::getCapabilities11 us0.0%
PhabricatorApplicationTransaction::getCapabilities61 us0.0%
PhabricatorObjectHandle::getCapabilities51 us0.0%
PhabricatorProjectQuery::withMemberPHIDs30 us
PhabricatorProjectQuery::withPHIDs30 us
LiskDAO::getPHID440 us
array_keys10 us
array_unique30 us
id30 us