XHProf
PhabricatorPolicyFilter::apply Profile
XHProf Profile
Symbol
Count
Wall Time
%
Metrics for this Call
PhabricatorPolicyFilter::apply
15
39,131 us
100.0%
Parent Calls
PhabricatorPolicyAwareQuery::execute
4
1,292 us
PhabricatorPolicyFilter::hasCapability
6
36,939 us
PhabricatorPolicyAwareQuery::execute@1
3
597 us
PhabricatorApplicationTransactionEditor::applyCapabilityChecks
1
291 us
PhabricatorPolicyAwareQuery::execute@2
1
12 us
Child Calls
PhabricatorPolicyAwareQuery::execute
2
15,227 us
38.9%
PhabricatorPolicyFilter::loadCustomPolicies
1
13,277 us
33.9%
PhabricatorPolicyFilter::checkCapability
11
6,585 us
16.8%
PhabricatorPolicyFilter::applyApplicationChecks
11
2,349 us
6.0%
spl_autoload_call
4
474 us
1.2%
PhabricatorPolicyFilter::getObjectPolicy
11
404 us
1.0%
phid_get_type
11
182 us
0.5%
assert_instances_of
15
86 us
0.2%
PhabricatorPolicyQuery::isObjectPolicy
11
60 us
0.2%
PhabricatorApplication::getCapabilities
2
22 us
0.1%
in_array
11
13 us
0.0%
PhabricatorUser::isOmnipotent
15
8 us
0.0%
PhabricatorSpacesNamespace::getCapabilities
5
6 us
0.0%
PhabricatorUserPreferences::getCapabilities
3
4 us
0.0%
PhabricatorPolicyAwareQuery::setViewer
2
3 us
0.0%
LiskDAO::getPHID
13
3 us
0.0%
PhabricatorUser::getCapabilities
1
2 us
0.0%
PhabricatorUser::getOmnipotentUser
2
2 us
0.0%
PhabricatorProjectQuery::withMemberPHIDs
2
2 us
0.0%
array_unique
2
2 us
0.0%
id
2
1 us
0.0%
PhabricatorProjectQuery::withPHIDs
2
0 us