XHProf
PhabricatorPolicyFilter::apply Profile
XHProf Profile
Symbol
Count
Wall Time
%
Metrics for this Call
PhabricatorPolicyFilter::apply
12
22,826 us
100.0%
Parent Calls
PhabricatorPolicyFilter::hasCapability
7
21,444 us
PhabricatorPolicyAwareQuery::execute@1
3
1,005 us
PhabricatorPolicyAwareQuery::execute
2
377 us
Child Calls
PhabricatorPolicyAwareQuery::execute@1
2
9,933 us
43.5%
PhabricatorPolicyFilter::loadCustomPolicies
1
6,340 us
27.8%
PhabricatorPolicyFilter::checkCapability
19
3,499 us
15.3%
PhabricatorPolicyFilter::applyApplicationChecks
10
1,413 us
6.2%
spl_autoload_call
4
585 us
2.6%
PhabricatorApplication::getCapabilities
2
284 us
1.2%
PhabricatorPolicyFilter::getObjectPolicy
19
229 us
1.0%
phid_get_type
19
106 us
0.5%
assert_instances_of
12
33 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%
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%
PhabricatorRepository::getCapabilities
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