XHProf PhabricatorPolicyFilter::apply Profile
XHProf Profile
XHProf Profile
| Symbol | Count | Wall Time | % |
|---|---|---|---|
| Metrics for this Call | |||
| PhabricatorPolicyFilter::apply | 21 | 28,596 us | 100.0% |
| Parent Calls | |||
| PhabricatorPolicyAwareQuery::execute | 6 | 21,279 us | |
| PhabricatorPolicyAwareQuery::execute@1 | 2 | 221 us | |
| PhabricatorPolicyFilter::hasCapability | 13 | 7,096 us | |
| Child Calls | |||
| PhabricatorPolicyFilter::checkCapability | 147 | 13,165 us | 46.0% |
| PhabricatorPolicyAwareQuery::execute | 2 | 4,366 us | 15.3% |
| PhabricatorApplication::getCapabilities | 288 | 4,149 us | 14.5% |
| PhabricatorPolicyFilter::getObjectPolicy | 147 | 3,017 us | 10.6% |
| phid_get_type | 147 | 806 us | 2.8% |
| __phutil_autoload | 3 | 583 us | 2.0% |
| assert_instances_of | 21 | 179 us | 0.6% |
| in_array | 147 | 17 us | 0.1% |
| PhabricatorUser::getOmnipotentUser | 2 | 16 us | 0.1% |
| PhabricatorUser::getCapabilities | 6 | 4 us | 0.0% |
| PhabricatorPolicyAwareQuery::setViewer | 2 | 3 us | 0.0% |
| array_unique | 2 | 2 us | 0.0% |
| PhabricatorProjectQuery::withMemberPHIDs | 2 | 1 us | 0.0% |
| PhabricatorProjectQuery::withPHIDs | 2 | 0 us | 0.0% |
| id | 2 | 0 us | 0.0% |
| LiskDAO::getPHID | 23 | 0 us | 0.0% |
| PhabricatorUser::isOmnipotent | 21 | 0 us | 0.0% |