XHProf
PhabricatorPolicyFilter::apply Profile
XHProf Profile
Symbol
Count
Wall Time
%
Metrics for this Call
PhabricatorPolicyFilter::apply
12
23,028 us
100.0%
Parent Calls
PhabricatorPolicyFilter::hasCapability
7
21,645 us
PhabricatorPolicyAwareQuery::execute@1
3
1,001 us
PhabricatorPolicyAwareQuery::execute
2
382 us
Child Calls
PhabricatorPolicyAwareQuery::execute@1
2
9,734 us
42.3%
PhabricatorPolicyFilter::loadCustomPolicies
1
6,531 us
28.4%
PhabricatorPolicyFilter::checkCapability
19
3,497 us
15.2%
PhabricatorPolicyFilter::applyApplicationChecks
10
1,508 us
6.5%
spl_autoload_call
4
587 us
2.5%
PhabricatorPolicyFilter::getObjectPolicy
19
330 us
1.4%
PhabricatorApplication::getCapabilities
2
293 us
1.3%
phid_get_type
19
109 us
0.5%
assert_instances_of
12
33 us
0.1%
PhabricatorPolicyQuery::isObjectPolicy
19
30 us
0.1%
PhabricatorPolicyFilter::applyExtendedPolicyChecks
1
28 us
0.1%
array_select_keys
1
10 us
0.0%
PhabricatorSpacesNamespace::getCapabilities
5
1 us
0.0%
PhabricatorFile::getCapabilities
1
1 us
0.0%
PhabricatorPolicyAwareQuery::setViewer
2
1 us
0.0%
PhabricatorRepository::getCapabilities
1
1 us
0.0%
array_keys
1
1 us
0.0%
PhabricatorUser::isOmnipotent
12
0 us
PhabricatorUser::getOmnipotentUser
2
0 us
PhabricatorProjectQuery::withMemberPHIDs
2
0 us
PhabricatorProjectQuery::withPHIDs
2
0 us
in_array
19
0 us
PhabricatorRepositoryURI::getCapabilities
10
0 us
LiskDAO::getPHID
12
0 us
array_unique
2
0 us
id
2
0 us