Run Report
Run #545c2805be879: XHProf Run (Namespace=drupal-perf-davidhernandez)
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.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
Drupal\Core\Session\AccountProxy::hasPermission36 31.3% 6,933 3.0% 947,272 4.3% 965,080 4.3%
Exclusive Metrics for Current Function147 2.1% 12,232 1.3% 4,048 0.4%
Parent functions
Drupal\Core\Access\AccessResult::allowedIfHasPermissions1 2.8% 4,708 67.9% 932,728 98.5% 932,112 96.6%
Drupal\user\Theme\AdminNegotiator::applies9 25.0% 588 8.5% 1,120 0.1% 5,768 0.6%
node_views_query_substitutions9 25.0% 543 7.8% 1,112 0.1% 5,896 0.6%
Drupal\comment\CommentLinkBuilder::buildCommentedEntityLinks2 5.6% 133 1.9% 800 0.1% 3,336 0.3%
shortcut_set_edit_access2 5.6% 131 1.9% 768 0.1% 1,648 0.2%
node_query_node_access_alter2 5.6% 121 1.7% 768 0.1% 1,208 0.1%
user_template_preprocess_default_variables_alter1 2.8% 77 1.1% 744 0.1% 2,160 0.2%
Drupal\views\Plugin\views\display\DisplayPluginBase::access1 2.8% 76 1.1% 752 0.1% 1,072 0.1%
Drupal\Core\Access\AccessResult::allowedIfHasPermission1 2.8% 73 1.1% 2,712 0.3% 2,952 0.3%
node_help1 2.8% 72 1.0% 704 0.1% 1,752 0.2%
contextual_page_attachments1 2.8% 69 1.0% 720 0.1% 1,456 0.2%
Drupal\user\Plugin\views\access\Permission::access1 2.8% 62 0.9% 744 0.1% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::blockAccess1 2.8% 61 0.9% 744 0.1% 472 0.0%
toolbar_page_top1 2.8% 59 0.9% 712 0.1% 1,376 0.1%
quickedit_page_attachments1 2.8% 54 0.8% 720 0.1% 1,296 0.1%
views_preprocess_page1 2.8% 53 0.8% 712 0.1% 1,200 0.1%
tour_page_bottom1 2.8% 53 0.8% 712 0.1% 1,376 0.1%
Child functions
Drupal\Core\Session\UserSession::hasPermission36 50.0% 6,774 97.7% 934,352 98.6% 960,344 99.5%
Drupal\Core\Session\AccountProxy::getAccount36 50.0% 12 0.2% 688 0.1% 688 0.1%