XHProf PhabricatorPolicyFilter::apply Profile

XHProf Profile

SymbolCountWall Time%
Metrics for this Call
PhabricatorPolicyFilter::apply3559,747 us100.0%
Parent Calls
PhabricatorPolicyAwareQuery::execute81,125 us
PhabricatorPolicyFilter::hasCapability1444,294 us
PhabricatorPolicyAwareQuery::execute@3410,939 us
PhabricatorPolicyAwareQuery::execute@42742 us
PhabricatorPolicyAwareQuery::execute@53834 us
PhabricatorPolicyAwareQuery::execute@61519 us
PhabricatorPolicyAwareQuery::execute@21832 us
PhabricatorPolicyAwareQuery::execute@12462 us
Child Calls
PhabricatorPolicyAwareQuery::execute218,135 us30.4%
PhabricatorPolicyFilter::loadCustomPolicies117,493 us29.3%
PhabricatorPolicyFilter::checkCapability568,010 us13.4%
PhabricatorPolicyFilter::applyApplicationChecks347,814 us13.1%
PhabricatorPolicyAwareQuery::execute@414,731 us7.9%
PhabricatorPolicyFilter::getObjectPolicy56963 us1.6%
spl_autoload_call4491 us0.8%
phid_get_type56305 us0.5%
PhabricatorApplication::getCapabilities8278 us0.5%
assert_instances_of35138 us0.2%
PhabricatorPolicyQuery::isObjectPolicy56134 us0.2%
PhabricatorPolicyFilter::applyExtendedPolicyChecks239 us0.1%
in_array5613 us0.0%
array_select_keys26 us0.0%
PhabricatorApplicationTransaction::getCapabilities64 us0.0%
PhabricatorUser::getCapabilities63 us0.0%
PhabricatorSpacesNamespace::getCapabilities53 us0.0%
PhabricatorPolicyAwareQuery::setViewer33 us0.0%
PhabricatorFeedStory::getCapabilities42 us0.0%
PhabricatorUser::getOmnipotentUser32 us0.0%
PhabricatorFile::getCapabilities21 us0.0%
array_unique31 us0.0%
PhabricatorApplicationTransactionComment::getCapabilities31 us0.0%
PhabricatorUser::isOmnipotent351 us0.0%
PhabricatorProject::getCapabilities31 us0.0%
ManiphestTask::getCapabilities41 us0.0%
PhabricatorProjectQuery::withMemberPHIDs30 us
PhabricatorProjectQuery::withPHIDs30 us
PhabricatorObjectHandle::getCapabilities150 us
array_keys20 us
LiskDAO::getPHID390 us
id30 us