XHProf PhabricatorPolicyFilter::apply Profile
XHProf Profile
XHProf Profile
Symbol | Count | Wall Time | % |
---|---|---|---|
Metrics for this Call | |||
PhabricatorPolicyFilter::apply | 20 | 26,846 us | 100.0% |
Parent Calls | |||
PhabricatorPolicyAwareQuery::execute | 7 | 19,790 us | |
PhabricatorPolicyAwareQuery::execute@1 | 3 | 413 us | |
PhabricatorPolicyFilter::hasCapability | 10 | 6,643 us | |
Child Calls | |||
PhabricatorPolicyFilter::checkCapability | 145 | 12,473 us | 46.5% |
PhabricatorPolicyAwareQuery::execute | 2 | 4,542 us | 16.9% |
PhabricatorApplication::getCapabilities | 286 | 3,342 us | 12.4% |
PhabricatorPolicyFilter::getObjectPolicy | 145 | 2,801 us | 10.4% |
phid_get_type | 145 | 751 us | 2.8% |
__phutil_autoload | 3 | 568 us | 2.1% |
assert_instances_of | 20 | 170 us | 0.6% |
PhabricatorUser::getOmnipotentUser | 2 | 16 us | 0.1% |
in_array | 145 | 11 us | 0.0% |
PhabricatorPolicyAwareQuery::setViewer | 2 | 3 us | 0.0% |
PhabricatorUser::getCapabilities | 2 | 2 us | 0.0% |
array_unique | 2 | 2 us | 0.0% |
PhabricatorProjectQuery::withMemberPHIDs | 2 | 2 us | 0.0% |
id | 2 | 1 us | 0.0% |
PhabricatorFile::getCapabilities | 2 | 1 us | 0.0% |
PhabricatorProjectQuery::withPHIDs | 2 | 0 us | |
LiskDAO::getPHID | 22 | 0 us | |
PhabricatorUser::isOmnipotent | 20 | 0 us |