XHProf
PhabricatorPolicyFilter::checkCapability Profile
XHProf Profile
Symbol
Count
Wall Time
%
Metrics for this Call
PhabricatorPolicyFilter::checkCapability
42
11,176 us
100.0%
Parent Calls
PhabricatorPolicyFilter::apply
32
8,844 us
PhabricatorPolicyFilter::apply@1
7
1,428 us
PhabricatorPolicyFilter::apply@2
3
904 us
Child Calls
PhabricatorPolicyCapability::getCapabilityByKey
39
6,182 us
55.3%
PhabricatorPolicyFilter::canViewerSeeObjectsInSpace
11
2,731 us
24.4%
PhabricatorPolicyFilter::getObjectPolicy
42
728 us
6.5%
PhabricatorPolicyFilter::checkCustomPolicy
1
151 us
1.4%
DifferentialRevision::hasAutomaticCapability
7
123 us
1.1%
HarbormasterBuildable::hasAutomaticCapability
3
94 us
0.8%
DifferentialDiff::hasAutomaticCapability
3
88 us
0.8%
HarbormasterBuild::hasAutomaticCapability
2
78 us
0.7%
HarbormasterBuildTarget::hasAutomaticCapability
1
49 us
0.4%
PhabricatorEnv::getEnvConfig
39
49 us
0.4%
phid_get_type
3
30 us
0.3%
PhabricatorPolicyQuery::isObjectPolicy
3
16 us
0.1%
PhabricatorRepository::hasAutomaticCapability
11
15 us
0.1%
PhabricatorUser::isOmnipotent
42
10 us
0.1%
PhabricatorApplication::hasAutomaticCapability
7
7 us
0.1%
PhabricatorPolicyCanViewCapability::shouldAllowPublicPolicySetting
38
7 us
0.1%
PhabricatorSpacesNamespace::hasAutomaticCapability
5
5 us
0.0%
PhabricatorPolicyFilter::rejectObject
4
4 us
0.0%
PhabricatorObjectHandle::hasAutomaticCapability
2
4 us
0.0%
PhabricatorRepository::getSpacePHID
11
2 us
0.0%
LiskDAO::getPHID
3
2 us
0.0%
HarbormasterBuildPlan::hasAutomaticCapability
1
1 us
0.0%
PhabricatorPolicyCapability::shouldAllowPublicPolicySetting
1
1 us
0.0%