Run Report
Run #558953448336f: 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% 24,246 2.2% 1,845,256 3.6% 1,868,016 3.7%
Exclusive Metrics for Current Function357 1.5% 16,376 0.9% 3,384 0.2%
Parent functions
Drupal\Core\Access\AccessResult::allowedIfHasPermissions3 4.7% 18,356 75.7% 1,825,320 98.9% 1,847,488 98.9%
template_preprocess_username10 15.6% 974 4.0% 1,152 0.1% 0 0.0%
rdf_preprocess_node10 15.6% 867 3.6% 1,144 0.1% 0 0.0%
Drupal\Core\Menu\DefaultMenuLinkTreeManipulators::menuLinkCheckAccess7 10.9% 694 2.9% 1,048 0.1% 1,248 0.1%
node_views_query_substitutions6 9.4% 598 2.5% 968 0.1% 1,128 0.1%
Drupal\node\NodeAccessControlHandler::createAccess4 6.2% 328 1.4% 888 0.0% 0 0.0%
Drupal\comment\CommentLinkBuilder::buildCommentedEntityLinks3 4.7% 250 1.0% 848 0.0% 0 0.0%
Drupal\Core\Access\AccessResult::allowedIfHasPermission2 3.1% 223 0.9% 800 0.0% 384 0.0%
Drupal\node\Cache\NodeAccessGrantsCacheContext::getContext2 3.1% 219 0.9% 800 0.0% 1,400 0.1%
Drupal\user\UserAccessControlHandler::checkFieldAccess2 3.1% 202 0.8% 800 0.0% 1,744 0.1%
shortcut_set_edit_access2 3.1% 200 0.8% 768 0.0% 0 0.0%
Drupal\node\Access\NodeAddAccessCheck::access1 1.6% 141 0.6% 736 0.0% 0 0.0%
Drupal\node\NodeAccessControlHandler::checkCreateAccess2 3.1% 138 0.6% 800 0.0% 0 0.0%
quickedit_page_attachments1 1.6% 127 0.5% 720 0.0% 1,376 0.1%
Drupal\user\Plugin\views\access\Permission::access1 1.6% 125 0.5% 744 0.0% 1,368 0.1%
Drupal\user\Theme\AdminNegotiator::applies1 1.6% 122 0.5% 2,696 0.1% 3,728 0.2%
contextual_page_attachments1 1.6% 117 0.5% 720 0.0% 1,480 0.1%
user_template_preprocess_default_variables_alter1 1.6% 110 0.5% 744 0.0% 848 0.0%
node_help1 1.6% 102 0.4% 704 0.0% 1,696 0.1%
views_preprocess_html1 1.6% 101 0.4% 712 0.0% 0 0.0%
toolbar_page_top1 1.6% 92 0.4% 712 0.0% 1,104 0.1%
views_add_contextual_links1 1.6% 81 0.3% 720 0.0% 1,920 0.1%
tour_page_bottom1 1.6% 79 0.3% 712 0.0% 1,104 0.1%
Child functions
Drupal\Core\Session\UserSession::hasPermission64 50.0% 23,298 96.1% 1,784,832 96.7% 1,821,000 97.5%
Drupal\Core\Session\AccountProxy::getAccount64 50.0% 591 2.4% 44,048 2.4% 43,632 2.3%