XHProf PhabricatorPolicyFilter::apply Profile
XHProf Profile
XHProf Profile
| Symbol | Count | Wall Time | % |
|---|---|---|---|
| Metrics for this Call | |||
| PhabricatorPolicyFilter::apply | 7 | 10,620 us | 100.0% |
| Parent Calls | |||
| PhabricatorPolicyAwareQuery::execute | 3 | 283 us | |
| PhabricatorPolicyFilter::hasCapability | 4 | 10,337 us | |
| Child Calls | |||
| PhabricatorPolicyFilter::loadCustomPolicies | 1 | 8,887 us | 83.7% |
| PhabricatorPolicyAwareQuery::execute | 1 | 798 us | 7.5% |
| PhabricatorPolicyFilter::checkCapability | 6 | 299 us | 2.8% |
| spl_autoload_call | 3 | 235 us | 2.2% |
| PhabricatorPolicyFilter::getObjectPolicy | 6 | 118 us | 1.1% |
| PhabricatorApplication::getCapabilities | 2 | 76 us | 0.7% |
| phid_get_type | 6 | 28 us | 0.3% |
| assert_instances_of | 7 | 19 us | 0.2% |
| PhabricatorPolicyQuery::isObjectPolicy | 6 | 14 us | 0.1% |
| id | 1 | 0 us | |
| array_unique | 1 | 0 us | |
| PhabricatorPolicyAwareQuery::setViewer | 1 | 0 us | |
| PhabricatorUser::isOmnipotent | 7 | 0 us | |
| PhabricatorProjectQuery::withMemberPHIDs | 1 | 0 us | |
| PhabricatorProjectQuery::withPHIDs | 1 | 0 us | |
| in_array | 6 | 0 us | |
| PhabricatorSpacesNamespace::getCapabilities | 4 | 0 us | |
| LiskDAO::getPHID | 7 | 0 us | |
| PhabricatorUser::getOmnipotentUser | 1 | 0 us |