XHProf PhabricatorPolicyFilter::checkCapability Profile
XHProf Profile
XHProf Profile
Symbol | Count | Wall Time | % |
---|---|---|---|
Metrics for this Call | |||
PhabricatorPolicyFilter::checkCapability | 160 | 6,068 us | 100.0% |
Parent Calls | |||
PhabricatorPolicyFilter::apply@1 | 1 | 2,026 us | |
PhabricatorPolicyFilter::apply | 159 | 4,042 us | |
Child Calls | |||
PhabricatorPolicyCapability::getCapabilityByKey | 154 | 3,348 us | 55.2% |
PhabricatorPolicyFilter::getObjectPolicy | 160 | 1,457 us | 24.0% |
PhabricatorPolicyFilter::checkCustomPolicy | 1 | 50 us | 0.8% |
phid_get_type | 4 | 25 us | 0.4% |
PhabricatorUser::getIsAdmin | 2 | 18 us | 0.3% |
PhabricatorPolicyQuery::isObjectPolicy | 4 | 8 us | 0.1% |
PhabricatorEnv::getEnvConfig | 154 | 6 us | 0.1% |
PhabricatorUser::hasAutomaticCapability | 1 | 4 us | 0.1% |
PhabricatorApplication::hasAutomaticCapability | 155 | 2 us | 0.0% |
LiskDAO::getPHID | 3 | 0 us | |
PhabricatorPolicyFilter::rejectObject | 6 | 0 us | |
PhabricatorSpacesNamespace::hasAutomaticCapability | 4 | 0 us | |
PhabricatorUser::isOmnipotent | 160 | 0 us | |
PhabricatorPolicyCanViewCapability::shouldAllowPublicPolicySetting | 154 | 0 us |