XHProf PhabricatorPolicyFilter::apply Profile

XHProf Profile

SymbolCountWall Time%
Metrics for this Call
PhabricatorPolicyFilter::apply31531,454 us100.0%
Parent Calls
PhabricatorPolicyAwareQuery::execute3121,956 us
PhabricatorPolicyFilter::hasCapability1139,757 us
PhabricatorPolicyAwareQuery::execute@331,505 us
PhabricatorPolicyAwareQuery::execute@132,340 us
PhabricatorPolicyAwareQuery::execute@2238,370 us
PhabricatorPolicyAwareQuery::execute@5358,173 us
PhabricatorPolicyAwareQuery::execute@46269,353 us
Child Calls
PhabricatorPolicyFilter::checkCapability501330,334 us62.2%
PhabricatorPolicyFilter::loadCustomPolicies157,657 us10.8%
PhabricatorPolicyAwareQuery::execute@5251,720 us9.7%
PhabricatorPolicyAwareQuery::execute@1129,562 us5.6%
phid_get_type50123,384 us4.4%
PhabricatorPolicyFilter::getObjectPolicy5013,548 us0.7%
PhabricatorPolicyQuery::isObjectPolicy5011,157 us0.2%
PhabricatorPolicyFilter::applyExtendedPolicyChecks11,043 us0.2%
__phutil_autoload4791 us0.1%
PhabricatorApplication::getCapabilities9578 us0.1%
assert_instances_of31447 us0.1%
array_select_keys139 us0.0%
in_array50135 us0.0%
ConpherenceThread::getCapabilities1214 us0.0%
PhabricatorUser::isOmnipotent318 us0.0%
PhabricatorPolicyAwareQuery::setViewer36 us0.0%
PhabricatorRepository::getCapabilities46 us0.0%
PhabricatorUser::getCapabilities305 us0.0%
ManiphestTask::getCapabilities1574 us0.0%
PhabricatorSpacesNamespace::getCapabilities34 us0.0%
PhabricatorApplicationTransactionComment::getCapabilities104 us0.0%
LiskDAO::getPHID353 us0.0%
PhabricatorApplicationTransaction::getCapabilities163 us0.0%
array_keys13 us0.0%
PhabricatorObjectHandle::getCapabilities2233 us0.0%
PhabricatorProjectQuery::withMemberPHIDs33 us0.0%
array_unique33 us0.0%
PhabricatorUser::getOmnipotentUser33 us0.0%
PhabricatorRepositoryCommit::getCapabilities52 us0.0%
FundInitiative::getCapabilities12 us0.0%
PhabricatorProjectQuery::withPHIDs31 us0.0%
PhabricatorFile::getCapabilities31 us0.0%
DifferentialRevision::getCapabilities281 us0.0%
id30 us