Run Report
Run #5578e32524136: 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,603 2.0% 1,225,848 4.5% 1,247,848 4.5%
Exclusive Metrics for Current Function265 3.5% 16,552 1.4% 3,224 0.3%
Parent functions
Drupal\Core\Access\AccessResult::allowedIfHasPermissions3 3.9% 4,391 57.8% 1,205,336 98.3% 1,227,400 98.4%
template_preprocess_username10 13.2% 517 6.8% 1,152 0.1% 808 0.1%
rdf_preprocess_node10 13.2% 438 5.8% 1,144 0.1% 0 0.0%
Drupal\comment\CommentLinkBuilder::buildCommentedEntityLinks10 13.2% 378 5.0% 1,184 0.1% 0 0.0%
Drupal\Core\Menu\DefaultMenuLinkTreeManipulators::menuLinkCheckAccess7 9.2% 361 4.7% 1,048 0.1% 0 0.0%
Drupal\user\UserAccessControlHandler::checkFieldAccess7 9.2% 304 4.0% 1,040 0.1% 0 0.0%
node_views_query_substitutions6 7.9% 210 2.8% 968 0.1% 5,080 0.4%
Drupal\node\NodeAccessControlHandler::createAccess4 5.3% 146 1.9% 888 0.1% 0 0.0%
Drupal\node\Cache\NodeAccessGrantsCacheContext::getContext2 2.6% 112 1.5% 800 0.1% 1,480 0.1%
Drupal\Core\Access\AccessResult::allowedIfHasPermission2 2.6% 90 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% 70 0.9% 800 0.1% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies1 1.3% 61 0.8% 2,696 0.2% 3,784 0.3%
user_template_preprocess_default_variables_alter1 1.3% 58 0.8% 744 0.1% 0 0.0%
views_preprocess_html1 1.3% 56 0.7% 712 0.1% 0 0.0%
Drupal\user\Plugin\views\access\Permission::access1 1.3% 54 0.7% 744 0.1% 0 0.0%
node_help1 1.3% 53 0.7% 704 0.1% 1,928 0.2%
Drupal\node\Access\NodeAddAccessCheck::access1 1.3% 41 0.5% 736 0.1% 0 0.0%
contextual_page_attachments1 1.3% 40 0.5% 720 0.1% 1,568 0.1%
toolbar_page_top1 1.3% 37 0.5% 712 0.1% 1,104 0.1%
views_add_contextual_links1 1.3% 36 0.5% 720 0.1% 1,800 0.1%
tour_page_bottom1 1.3% 35 0.5% 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,258 95.5% 1,185,328 96.7% 1,221,200 97.9%
Drupal\Core\Session\AccountProxy::getAccount76 50.0% 80 1.1% 23,968 2.0% 23,424 1.9%