XHProf
PhabricatorPolicyFilter::checkCapability Profile
XHProf Profile
Symbol
Count
Wall Time
%
Metrics for this Call
PhabricatorPolicyFilter::checkCapability
48
6,776 us
100.0%
Parent Calls
PhabricatorPolicyFilter::apply
38
5,210 us
PhabricatorPolicyFilter::apply@1
7
1,005 us
PhabricatorPolicyFilter::apply@2
3
561 us
Child Calls
PhabricatorPolicyCapability::getCapabilityByKey
45
3,528 us
52.1%
PhabricatorPolicyFilter::canViewerSeeObjectsInSpace
11
1,536 us
22.7%
PhabricatorPolicyFilter::getObjectPolicy
48
436 us
6.4%
DifferentialRevision::hasAutomaticCapability
7
250 us
3.7%
HarbormasterBuild::hasAutomaticCapability
4
93 us
1.4%
HarbormasterBuildTarget::hasAutomaticCapability
4
73 us
1.1%
PhabricatorPolicyFilter::checkCustomPolicy
1
63 us
0.9%
DifferentialDiff::hasAutomaticCapability
3
54 us
0.8%
HarbormasterBuildable::hasAutomaticCapability
3
48 us
0.7%
PhabricatorEnv::getEnvConfig
45
29 us
0.4%
phid_get_type
3
25 us
0.4%
PhabricatorPolicyQuery::isObjectPolicy
3
11 us
0.2%
PhabricatorSpacesNamespace::hasAutomaticCapability
5
4 us
0.1%
PhabricatorPolicyFilter::rejectObject
4
4 us
0.1%
PhabricatorRepository::hasAutomaticCapability
11
3 us
0.0%
PhabricatorObjectHandle::hasAutomaticCapability
2
2 us
0.0%
HarbormasterBuildPlan::hasAutomaticCapability
2
2 us
0.0%
LiskDAO::getPHID
3
1 us
0.0%
PhabricatorApplication::hasAutomaticCapability
7
1 us
0.0%
PhabricatorUser::isOmnipotent
48
0 us
PhabricatorRepository::getSpacePHID
11
0 us
PhabricatorPolicyCapability::shouldAllowPublicPolicySetting
1
0 us
PhabricatorPolicyCanViewCapability::shouldAllowPublicPolicySetting
44
0 us