Run Report
Run #5589a6c3ebdf6: XHProf Run (Namespace=drupal-perf-stefanr)
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::hasPermission64 32.2% 25,130 2.3% 1,845,888 3.7% 1,869,544 3.7%
Exclusive Metrics for Current Function366 1.5% 16,376 0.9% 3,384 0.2%
Parent functions
Drupal\Core\Access\AccessResult::allowedIfHasPermissions3 4.7% 19,331 76.9% 1,825,952 98.9% 1,848,000 98.8%
template_preprocess_username10 15.6% 972 3.9% 1,152 0.1% 0 0.0%
rdf_preprocess_node10 15.6% 900 3.6% 1,144 0.1% 0 0.0%
Drupal\Core\Menu\DefaultMenuLinkTreeManipulators::menuLinkCheckAccess7 10.9% 764 3.0% 1,048 0.1% 1,248 0.1%
node_views_query_substitutions6 9.4% 547 2.2% 968 0.1% 1,128 0.1%
Drupal\comment\CommentLinkBuilder::buildCommentedEntityLinks3 4.7% 305 1.2% 848 0.0% 0 0.0%
Drupal\node\NodeAccessControlHandler::createAccess4 6.2% 294 1.2% 888 0.0% 0 0.0%
Drupal\user\UserAccessControlHandler::checkFieldAccess2 3.1% 215 0.9% 800 0.0% 1,744 0.1%
Drupal\node\Cache\NodeAccessGrantsCacheContext::getContext2 3.1% 207 0.8% 800 0.0% 1,400 0.1%
Drupal\Core\Access\AccessResult::allowedIfHasPermission2 3.1% 201 0.8% 800 0.0% 384 0.0%
shortcut_set_edit_access2 3.1% 161 0.6% 768 0.0% 0 0.0%
Drupal\node\NodeAccessControlHandler::checkCreateAccess2 3.1% 139 0.6% 800 0.0% 0 0.0%
node_help1 1.6% 131 0.5% 704 0.0% 1,696 0.1%
Drupal\user\Theme\AdminNegotiator::applies1 1.6% 122 0.5% 2,696 0.1% 3,728 0.2%
Drupal\user\Plugin\views\access\Permission::access1 1.6% 113 0.4% 744 0.0% 1,368 0.1%
views_preprocess_html1 1.6% 112 0.4% 712 0.0% 0 0.0%
user_template_preprocess_default_variables_alter1 1.6% 110 0.4% 744 0.0% 1,864 0.1%
contextual_page_attachments1 1.6% 97 0.4% 720 0.0% 1,480 0.1%
Drupal\node\Access\NodeAddAccessCheck::access1 1.6% 91 0.4% 736 0.0% 0 0.0%
toolbar_page_top1 1.6% 89 0.4% 712 0.0% 1,104 0.1%
views_add_contextual_links1 1.6% 80 0.3% 720 0.0% 1,920 0.1%
quickedit_page_attachments1 1.6% 76 0.3% 720 0.0% 1,376 0.1%
tour_page_bottom1 1.6% 73 0.3% 712 0.0% 1,104 0.1%
Child functions
Drupal\Core\Session\UserSession::hasPermission64 50.0% 23,820 94.8% 1,785,440 96.7% 1,822,504 97.5%
Drupal\Core\Session\AccountProxy::getAccount64 50.0% 944 3.8% 44,072 2.4% 43,656 2.3%