Run Report
Run #55894d9279ad8: 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% 22,935 2.1% 1,845,256 3.7% 1,868,016 3.7%
Exclusive Metrics for Current Function424 1.8% 16,376 0.9% 3,384 0.2%
Parent functions
Drupal\Core\Access\AccessResult::allowedIfHasPermissions3 4.7% 17,177 74.9% 1,825,320 98.9% 1,847,488 98.9%
template_preprocess_username10 15.6% 1,049 4.6% 1,152 0.1% 0 0.0%
rdf_preprocess_node10 15.6% 875 3.8% 1,144 0.1% 0 0.0%
Drupal\Core\Menu\DefaultMenuLinkTreeManipulators::menuLinkCheckAccess7 10.9% 686 3.0% 1,048 0.1% 1,248 0.1%
node_views_query_substitutions6 9.4% 517 2.3% 968 0.1% 1,128 0.1%
Drupal\node\Cache\NodeAccessGrantsCacheContext::getContext2 3.1% 329 1.4% 800 0.0% 1,400 0.1%
Drupal\node\NodeAccessControlHandler::createAccess4 6.2% 326 1.4% 888 0.0% 0 0.0%
Drupal\comment\CommentLinkBuilder::buildCommentedEntityLinks3 4.7% 245 1.1% 848 0.0% 0 0.0%
Drupal\Core\Access\AccessResult::allowedIfHasPermission2 3.1% 205 0.9% 800 0.0% 384 0.0%
Drupal\user\UserAccessControlHandler::checkFieldAccess2 3.1% 200 0.9% 800 0.0% 1,744 0.1%
shortcut_set_edit_access2 3.1% 157 0.7% 768 0.0% 0 0.0%
Drupal\node\NodeAccessControlHandler::checkCreateAccess2 3.1% 149 0.6% 800 0.0% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies1 1.6% 125 0.5% 2,696 0.1% 3,728 0.2%
Drupal\user\Plugin\views\access\Permission::access1 1.6% 121 0.5% 744 0.0% 1,368 0.1%
user_template_preprocess_default_variables_alter1 1.6% 103 0.4% 744 0.0% 848 0.0%
node_help1 1.6% 98 0.4% 704 0.0% 1,696 0.1%
Drupal\node\Access\NodeAddAccessCheck::access1 1.6% 97 0.4% 736 0.0% 0 0.0%
views_preprocess_html1 1.6% 96 0.4% 712 0.0% 0 0.0%
contextual_page_attachments1 1.6% 90 0.4% 720 0.0% 1,480 0.1%
toolbar_page_top1 1.6% 81 0.4% 712 0.0% 1,104 0.1%
quickedit_page_attachments1 1.6% 73 0.3% 720 0.0% 1,376 0.1%
views_add_contextual_links1 1.6% 70 0.3% 720 0.0% 1,920 0.1%
tour_page_bottom1 1.6% 66 0.3% 712 0.0% 1,104 0.1%
Child functions
Drupal\Core\Session\UserSession::hasPermission64 50.0% 21,960 95.7% 1,784,832 96.7% 1,821,000 97.5%
Drupal\Core\Session\AccountProxy::getAccount64 50.0% 551 2.4% 44,048 2.4% 43,632 2.3%