XHProf
PhabricatorPolicyFilter::checkCapability Profile
XHProf Profile
Symbol
Count
Wall Time
%
Metrics for this Call
PhabricatorPolicyFilter::checkCapability
549
42,118 us
100.0%
Parent Calls
PhabricatorPolicyFilter::apply
537
41,616 us
PhabricatorPolicyFilter::apply@1
12
502 us
Child Calls
PhabricatorPolicyCapability::getCapabilityByKey
515
22,845 us
54.2%
PhabricatorPolicyFilter::getObjectPolicy
549
4,794 us
11.4%
PhabricatorPolicyFilter::canViewerSeeObjectsInSpace
24
3,071 us
7.3%
PhabricatorPolicyFilter::checkCustomPolicy
21
1,085 us
2.6%
PhabricatorApplicationTransaction::hasAutomaticCapability
118
1,070 us
2.5%
PhabricatorEnv::getEnvConfig
515
395 us
0.9%
phid_get_type
28
297 us
0.7%
ManiphestTask::hasAutomaticCapability
24
267 us
0.6%
PhabricatorFeedStory::hasAutomaticCapability
31
264 us
0.6%
DifferentialRevision::hasAutomaticCapability
25
249 us
0.6%
PhabricatorApplicationTransactionComment::hasAutomaticCapability
18
213 us
0.5%
PhabricatorRepositoryCommit::hasAutomaticCapability
27
179 us
0.4%
PhabricatorFile::hasAutomaticCapability
6
136 us
0.3%
PhabricatorUser::hasAutomaticCapability
40
134 us
0.3%
PhabricatorPolicyQuery::isObjectPolicy
28
118 us
0.3%
PhabricatorProject::hasAutomaticCapability
5
67 us
0.2%
PhabricatorApplication::hasAutomaticCapability
66
67 us
0.2%
DifferentialDiff::hasAutomaticCapability
2
48 us
0.1%
PhabricatorRepository::hasAutomaticCapability
24
23 us
0.1%
PhabricatorSpacesNamespace::hasAutomaticCapability
21
22 us
0.1%
PhabricatorObjectHandle::hasAutomaticCapability
139
16 us
0.0%
PhabricatorPolicyCanViewCapability::shouldAllowPublicPolicySetting
515
2 us
0.0%
PhabricatorToken::hasAutomaticCapability
2
2 us
0.0%
PhabricatorDashboardPanel::hasAutomaticCapability
1
1 us
0.0%
PhabricatorUser::isOmnipotent
549
1 us
0.0%
LiskDAO::getPHID
7
0 us
ManiphestTask::getSpacePHID
24
0 us