XHProf
PhabricatorPolicyFilter::checkCapability Profile
XHProf Profile
Symbol
Count
Wall Time
%
Metrics for this Call
PhabricatorPolicyFilter::checkCapability
667
66,596 us
100.0%
Parent Calls
PhabricatorPolicyFilter::apply
655
66,170 us
PhabricatorPolicyFilter::apply@1
12
426 us
Child Calls
PhabricatorPolicyCapability::getCapabilityByKey
630
40,306 us
60.5%
PhabricatorPolicyFilter::canViewerSeeObjectsInSpace
78
9,235 us
13.9%
PhabricatorPolicyFilter::getObjectPolicy
667
4,717 us
7.1%
PhabricatorApplicationTransaction::hasAutomaticCapability
91
803 us
1.2%
ManiphestTask::hasAutomaticCapability
73
689 us
1.0%
PhabricatorEnv::getEnvConfig
630
547 us
0.8%
PhabricatorFile::hasAutomaticCapability
24
429 us
0.6%
PhabricatorApplicationTransactionComment::hasAutomaticCapability
35
359 us
0.5%
PhabricatorUser::hasAutomaticCapability
79
335 us
0.5%
DifferentialRevision::hasAutomaticCapability
20
278 us
0.4%
PhabricatorProject::hasAutomaticCapability
26
277 us
0.4%
PhabricatorFeedStory::hasAutomaticCapability
31
257 us
0.4%
phid_get_type
14
144 us
0.2%
PhabricatorRepositoryCommit::hasAutomaticCapability
10
77 us
0.1%
PhabricatorPaste::hasAutomaticCapability
5
77 us
0.1%
DifferentialDiff::hasAutomaticCapability
4
73 us
0.1%
PhabricatorPolicyQuery::isObjectPolicy
15
61 us
0.1%
PhabricatorSpacesNamespace::hasAutomaticCapability
42
42 us
0.1%
PhabricatorPolicyFilter::checkObjectPolicy
1
38 us
0.1%
PhabricatorRepository::hasAutomaticCapability
34
33 us
0.0%
PhabricatorObjectHandle::hasAutomaticCapability
176
15 us
0.0%
PhabricatorApplication::hasAutomaticCapability
14
15 us
0.0%
PhabricatorToken::hasAutomaticCapability
2
2 us
0.0%
PhabricatorPolicyFilter::rejectObject
1
2 us
0.0%
PhabricatorDashboardPanel::hasAutomaticCapability
1
1 us
0.0%
PhabricatorUser::isOmnipotent
667
1 us
0.0%
ManiphestTask::getSpacePHID
73
0 us
LiskDAO::getPHID
15
0 us
PhabricatorPolicyCanViewCapability::shouldAllowPublicPolicySetting
630
0 us
PhabricatorPaste::getSpacePHID
5
0 us