XHProf
PhabricatorPolicyFilter::apply Profile
XHProf Profile
Symbol
Count
Wall Time
%
Metrics for this Call
PhabricatorPolicyFilter::apply
12
23,574 us
100.0%
Parent Calls
PhabricatorPolicyFilter::hasCapability
7
22,128 us
PhabricatorPolicyAwareQuery::execute@1
3
1,001 us
PhabricatorPolicyAwareQuery::execute
2
445 us
Child Calls
PhabricatorPolicyAwareQuery::execute@1
2
9,846 us
41.8%
PhabricatorPolicyFilter::loadCustomPolicies
1
6,827 us
29.0%
PhabricatorPolicyFilter::checkCapability
19
3,658 us
15.5%
PhabricatorPolicyFilter::applyApplicationChecks
10
1,485 us
6.3%
spl_autoload_call
4
588 us
2.5%
PhabricatorPolicyFilter::getObjectPolicy
19
333 us
1.4%
PhabricatorApplication::getCapabilities
2
289 us
1.2%
phid_get_type
19
106 us
0.4%
assert_instances_of
12
34 us
0.1%
PhabricatorPolicyQuery::isObjectPolicy
19
30 us
0.1%
PhabricatorPolicyFilter::applyExtendedPolicyChecks
1
29 us
0.1%
array_select_keys
1
9 us
0.0%
PhabricatorRepository::getCapabilities
1
2 us
0.0%
PhabricatorPolicyAwareQuery::setViewer
2
1 us
0.0%
PhabricatorRepositoryURI::getCapabilities
10
1 us
0.0%
PhabricatorSpacesNamespace::getCapabilities
5
1 us
0.0%
array_keys
1
1 us
0.0%
LiskDAO::getPHID
12
0 us
in_array
19
0 us
id
2
0 us
PhabricatorUser::isOmnipotent
12
0 us
PhabricatorUser::getOmnipotentUser
2
0 us
PhabricatorProjectQuery::withMemberPHIDs
2
0 us
PhabricatorProjectQuery::withPHIDs
2
0 us
array_unique
2
0 us
PhabricatorFile::getCapabilities
1
0 us