XHProf PhabricatorPolicyFilter::apply Profile
XHProf Profile
XHProf Profile
| Symbol | Count | Wall Time | % |
|---|---|---|---|
| Metrics for this Call | |||
| PhabricatorPolicyFilter::apply | 12 | 693,402 us | 100.0% |
| Parent Calls | |||
| PhabricatorPolicyAwareQuery::execute | 5 | 672,385 us | |
| PhabricatorPolicyFilter::hasCapability | 5 | 20,715 us | |
| PhabricatorPolicyAwareQuery::execute@1 | 2 | 302 us | |
| Child Calls | |||
| PhabricatorApplication::getCapabilities | 202 | 365,262 us | 52.7% |
| PhabricatorPolicyFilter::loadCustomPolicies | 2 | 209,187 us | 30.2% |
| phid_get_type | 102 | 29,385 us | 4.2% |
| PhabricatorPolicyFilter::checkCapability | 102 | 26,093 us | 3.8% |
| PhabricatorPolicyAwareQuery::execute@1 | 2 | 23,705 us | 3.4% |
| spl_autoload_call | 2 | 18,680 us | 2.7% |
| PhabricatorPolicyFilter::getObjectPolicy | 102 | 2,695 us | 0.4% |
| assert_instances_of | 12 | 136 us | 0.0% |
| in_array | 102 | 37 us | 0.0% |
| PhabricatorUser::isOmnipotent | 12 | 6 us | 0.0% |
| PhabricatorPolicyAwareQuery::setViewer | 2 | 5 us | 0.0% |
| PhabricatorUser::getOmnipotentUser | 2 | 4 us | 0.0% |
| PhabricatorUser::getCapabilities | 2 | 3 us | 0.0% |
| array_unique | 2 | 3 us | 0.0% |
| LiskDAO::getPHID | 14 | 3 us | 0.0% |
| PhabricatorProjectQuery::withPHIDs | 2 | 2 us | 0.0% |
| PhabricatorProjectQuery::withMemberPHIDs | 2 | 2 us | 0.0% |
| array_keys | 2 | 2 us | 0.0% |
| id | 2 | 1 us | 0.0% |