XHProf
PhabricatorPolicyFilter::apply Profile
XHProf Profile
Symbol
Count
Wall Time
%
Metrics for this Call
PhabricatorPolicyFilter::apply
12
37,626 us
100.0%
Parent Calls
PhabricatorPolicyFilter::hasCapability
7
36,215 us
PhabricatorPolicyAwareQuery::execute@1
3
1,016 us
PhabricatorPolicyAwareQuery::execute
2
395 us
Child Calls
PhabricatorPolicyAwareQuery::execute@1
2
17,694 us
47.0%
PhabricatorPolicyFilter::loadCustomPolicies
1
13,019 us
34.6%
PhabricatorPolicyFilter::checkCapability
19
3,776 us
10.0%
PhabricatorPolicyFilter::applyApplicationChecks
10
1,459 us
3.9%
spl_autoload_call
4
602 us
1.6%
PhabricatorApplication::getCapabilities
2
279 us
0.7%
PhabricatorPolicyFilter::getObjectPolicy
19
240 us
0.6%
phid_get_type
19
108 us
0.3%
assert_instances_of
12
34 us
0.1%
PhabricatorPolicyQuery::isObjectPolicy
19
33 us
0.1%
PhabricatorPolicyFilter::applyExtendedPolicyChecks
1
32 us
0.1%
array_select_keys
1
12 us
0.0%
PhabricatorSpacesNamespace::getCapabilities
5
2 us
0.0%
in_array
19
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%
PhabricatorRepositoryURI::getCapabilities
10
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
LiskDAO::getPHID
12
0 us
array_unique
2
0 us
id
2
0 us