Run Report
Run #5578e29590a73: 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.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
Drupal\Core\Session\AccountProxy::hasPermission76 32.3% 7,772 2.1% 1,225,856 4.6% 1,249,800 4.6%
Exclusive Metrics for Current Function266 3.4% 16,552 1.4% 3,576 0.3%
Parent functions
Drupal\Core\Access\AccessResult::allowedIfHasPermissions3 3.9% 4,614 59.4% 1,205,344 98.3% 1,227,416 98.2%
template_preprocess_username10 13.2% 506 6.5% 1,152 0.1% 808 0.1%
rdf_preprocess_node10 13.2% 417 5.4% 1,144 0.1% 0 0.0%
Drupal\comment\CommentLinkBuilder::buildCommentedEntityLinks10 13.2% 381 4.9% 1,184 0.1% 0 0.0%
Drupal\Core\Menu\DefaultMenuLinkTreeManipulators::menuLinkCheckAccess7 9.2% 359 4.6% 1,048 0.1% 0 0.0%
Drupal\user\UserAccessControlHandler::checkFieldAccess7 9.2% 295 3.8% 1,040 0.1% 0 0.0%
node_views_query_substitutions6 7.9% 212 2.7% 968 0.1% 5,080 0.4%
Drupal\node\NodeAccessControlHandler::createAccess4 5.3% 144 1.9% 888 0.1% 0 0.0%
Drupal\node\Cache\NodeAccessGrantsCacheContext::getContext2 2.6% 111 1.4% 800 0.1% 1,480 0.1%
Drupal\Core\Access\AccessResult::allowedIfHasPermission2 2.6% 92 1.2% 800 0.1% 416 0.0%
shortcut_set_edit_access2 2.6% 84 1.1% 768 0.1% 0 0.0%
Drupal\node\NodeAccessControlHandler::checkCreateAccess2 2.6% 68 0.9% 800 0.1% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies1 1.3% 57 0.7% 2,696 0.2% 3,784 0.3%
views_preprocess_html1 1.3% 56 0.7% 712 0.1% 480 0.0%
Drupal\user\Plugin\views\access\Permission::access1 1.3% 56 0.7% 744 0.1% 0 0.0%
node_help1 1.3% 54 0.7% 704 0.1% 1,928 0.2%
user_template_preprocess_default_variables_alter1 1.3% 54 0.7% 744 0.1% 1,456 0.1%
Drupal\node\Access\NodeAddAccessCheck::access1 1.3% 40 0.5% 736 0.1% 0 0.0%
contextual_page_attachments1 1.3% 37 0.5% 720 0.1% 1,568 0.1%
toolbar_page_top1 1.3% 36 0.5% 712 0.1% 1,104 0.1%
views_add_contextual_links1 1.3% 35 0.5% 720 0.1% 1,800 0.1%
tour_page_bottom1 1.3% 33 0.4% 712 0.1% 1,104 0.1%
quickedit_page_attachments1 1.3% 31 0.4% 720 0.1% 1,376 0.1%
Child functions
Drupal\Core\Session\UserSession::hasPermission76 50.0% 7,419 95.5% 1,185,336 96.7% 1,222,800 97.8%
Drupal\Core\Session\AccountProxy::getAccount76 50.0% 87 1.1% 23,968 2.0% 23,424 1.9%