XHProf
PhabricatorPolicyFilter::apply Profile
XHProf Profile
Symbol
Count
Wall Time
%
Metrics for this Call
PhabricatorPolicyFilter::apply
12
22,738 us
100.0%
Parent Calls
PhabricatorPolicyFilter::hasCapability
7
21,326 us
PhabricatorPolicyAwareQuery::execute@1
3
1,029 us
PhabricatorPolicyAwareQuery::execute
2
383 us
Child Calls
PhabricatorPolicyAwareQuery::execute@1
2
9,757 us
42.9%
PhabricatorPolicyFilter::loadCustomPolicies
1
6,437 us
28.3%
PhabricatorPolicyFilter::checkCapability
19
3,481 us
15.3%
PhabricatorPolicyFilter::applyApplicationChecks
10
1,421 us
6.2%
spl_autoload_call
4
581 us
2.6%
PhabricatorApplication::getCapabilities
2
285 us
1.3%
PhabricatorPolicyFilter::getObjectPolicy
19
235 us
1.0%
phid_get_type
19
105 us
0.5%
assert_instances_of
12
32 us
0.1%
PhabricatorPolicyQuery::isObjectPolicy
19
31 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%
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
in_array
19
0 us
LiskDAO::getPHID
12
0 us
array_unique
2
0 us
id
2
0 us