Run Report
Run #544337f542f97: XHProf Run (Namespace=drupal-perf-joelpittet)
Tip
Click a function name below to drill down.

Parent/Child report for Drupal\Core\Session\AccountProxy::hasPermission [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl. CPU
(microsecs)
ICpu%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
Drupal\Core\Session\AccountProxy::hasPermission656 33.2% 73,793 2.0% 74,224 2.0% 1,445,696 2.5% 1,421,392 2.5%
Exclusive Metrics for Current Function3,294 4.5% 3,015 4.1% 20,656 1.4% 4,592 0.3%
Parent functions
Drupal\user\Theme\AdminNegotiator::applies213 32.5% 20,298 27.5% 20,527 27.7% 11,056 0.8% 5,144 0.4%
Drupal\Core\Access\AccessResult::allowedIfHasPermissions4 0.6% 13,485 18.3% 13,365 18.0% 1,393,008 96.4% 1,392,744 98.0%
Drupal\comment\Plugin\Field\FieldFormatter\CommentDefaultFormatter::viewElements150 22.9% 13,402 18.2% 13,519 18.2% 8,072 0.6% 3,576 0.3%
Drupal\comment\CommentLinkBuilder::buildCommentedEntityLinks100 15.2% 8,258 11.2% 8,334 11.2% 5,648 0.4% 0 0.0%
template_preprocess_username50 7.6% 4,995 6.8% 5,033 6.8% 3,216 0.2% 3,880 0.3%
rdf_preprocess_node50 7.6% 4,764 6.5% 4,787 6.4% 3,208 0.2% 0 0.0%
Drupal\user\UserAccessControlHandler::checkFieldAccess50 7.6% 4,758 6.4% 4,780 6.4% 3,248 0.2% 0 0.0%
node_views_query_substitutions9 1.4% 825 1.1% 833 1.1% 1,280 0.1% 2,680 0.2%
Drupal\Core\Menu\DefaultMenuLinkTreeManipulators::menuLinkCheckAccess7 1.1% 707 1.0% 717 1.0% 1,192 0.1% 272 0.0%
Drupal\Core\Access\AccessResult::allowedIfHasPermission3 0.5% 413 0.6% 417 0.6% 3,240 0.2% 1,360 0.1%
Drupal\node\NodeAccessControlHandler::createAccess4 0.6% 310 0.4% 314 0.4% 1,032 0.1% 0 0.0%
shortcut_set_edit_access2 0.3% 222 0.3% 224 0.3% 912 0.1% 1,888 0.1%
node_query_node_access_alter2 0.3% 192 0.3% 193 0.3% 912 0.1% 2,112 0.1%
node_help1 0.2% 162 0.2% 164 0.2% 848 0.1% 0 0.0%
Drupal\node\NodeAccessControlHandler::checkCreateAccess2 0.3% 157 0.2% 161 0.2% 944 0.1% 0 0.0%
Drupal\views\Plugin\views\display\DisplayPluginBase::access1 0.2% 131 0.2% 132 0.2% 896 0.1% 704 0.0%
contextual_page_attachments1 0.2% 114 0.2% 115 0.2% 864 0.1% 0 0.0%
user_template_preprocess_default_variables_alter1 0.2% 114 0.2% 115 0.2% 888 0.1% 2,360 0.2%
views_preprocess_page1 0.2% 89 0.1% 90 0.1% 856 0.1% 1,408 0.1%
Drupal\search\Plugin\Block\SearchBlock::blockAccess1 0.2% 83 0.1% 86 0.1% 912 0.1% 0 0.0%
Drupal\user\Plugin\views\access\Permission::access1 0.2% 80 0.1% 82 0.1% 888 0.1% 1,024 0.1%
tour_page_bottom1 0.2% 79 0.1% 80 0.1% 856 0.1% 1,120 0.1%
toolbar_page_top1 0.2% 78 0.1% 79 0.1% 856 0.1% 1,120 0.1%
quickedit_page_attachments1 0.2% 77 0.1% 77 0.1% 864 0.1% 0 0.0%
Child functions
Drupal\Core\Session\UserSession::hasPermission656 50.0% 69,735 94.5% 69,928 94.2% 1,424,208 98.5% 1,415,968 99.6%
Drupal\Core\Session\AccountProxy::getAccount656 50.0% 764 1.0% 1,281 1.7% 832 0.1% 832 0.1%