XHProf PhabricatorPolicyFilter::apply Profile
XHProf Profile
XHProf Profile
Symbol | Count | Wall Time | % |
---|---|---|---|
Metrics for this Call | |||
PhabricatorPolicyFilter::apply | 37 | 41,733 us | 100.0% |
Parent Calls | |||
PhabricatorPolicyAwareQuery::execute | 5 | 30,463 us | |
PhabricatorPolicyFilter::hasCapability | 29 | 10,822 us | |
PhabricatorPolicyAwareQuery::execute@1 | 2 | 252 us | |
PhabricatorPolicyAwareQuery::execute@2 | 1 | 196 us | |
Child Calls | |||
PhabricatorPolicyFilter::checkCapability | 163 | 17,111 us | 41.0% |
__phutil_autoload | 3 | 7,322 us | 17.5% |
PhabricatorPolicyAwareQuery::execute | 2 | 6,191 us | 14.8% |
PhabricatorApplication::getCapabilities | 322 | 4,164 us | 10.0% |
PhabricatorPolicyFilter::getObjectPolicy | 163 | 3,216 us | 7.7% |
phid_get_type | 163 | 853 us | 2.0% |
assert_instances_of | 37 | 237 us | 0.6% |
PhabricatorUser::getOmnipotentUser | 2 | 16 us | 0.0% |
in_array | 163 | 14 us | 0.0% |
array_unique | 2 | 2 us | 0.0% |
PhabricatorPolicyAwareQuery::setViewer | 2 | 2 us | 0.0% |
PhabricatorUser::getCapabilities | 2 | 2 us | 0.0% |
PhabricatorProjectQuery::withMemberPHIDs | 2 | 1 us | 0.0% |
PhabricatorUser::isOmnipotent | 37 | 1 us | 0.0% |
PhabricatorFile::getCapabilities | 2 | 1 us | 0.0% |
id | 2 | 0 us | |
PhabricatorProjectQuery::withPHIDs | 2 | 0 us | |
LiskDAO::getPHID | 41 | 0 us |