Run Report
Run #55894e8c35711: 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::hasPermission6,400 32.2% 2,793,084 2.3% 184,592,000 3.7% 186,825,600 3.7%
Exclusive Metrics for Current Function40,433 1.4% 1,637,600 0.9% 338,400 0.2%
Parent functions
Drupal\Core\Access\AccessResult::allowedIfHasPermissions300 4.7% 2,112,181 75.6% 182,598,400 98.9% 184,791,200 98.9%
template_preprocess_username1,000 15.6% 110,862 4.0% 115,200 0.1% 0 0.0%
rdf_preprocess_node1,000 15.6% 108,387 3.9% 114,400 0.1% 0 0.0%
Drupal\Core\Menu\DefaultMenuLinkTreeManipulators::menuLinkCheckAccess700 10.9% 85,358 3.1% 104,800 0.1% 124,800 0.1%
node_views_query_substitutions600 9.4% 57,332 2.1% 96,800 0.1% 112,800 0.1%
Drupal\node\NodeAccessControlHandler::createAccess400 6.2% 41,204 1.5% 88,800 0.0% 0 0.0%
Drupal\comment\CommentLinkBuilder::buildCommentedEntityLinks300 4.7% 32,407 1.2% 84,800 0.0% 0 0.0%
Drupal\Core\Access\AccessResult::allowedIfHasPermission200 3.1% 26,933 1.0% 80,000 0.0% 38,400 0.0%
Drupal\node\Cache\NodeAccessGrantsCacheContext::getContext200 3.1% 26,600 1.0% 80,000 0.0% 140,000 0.1%
Drupal\user\UserAccessControlHandler::checkFieldAccess200 3.1% 23,615 0.8% 80,000 0.0% 174,400 0.1%
shortcut_set_edit_access200 3.1% 21,940 0.8% 76,800 0.0% 0 0.0%
Drupal\node\NodeAccessControlHandler::checkCreateAccess200 3.1% 19,217 0.7% 80,000 0.0% 0 0.0%
Drupal\user\Plugin\views\access\Permission::access100 1.6% 13,297 0.5% 74,400 0.0% 136,800 0.1%
Drupal\user\Theme\AdminNegotiator::applies100 1.6% 13,259 0.5% 269,600 0.1% 372,800 0.2%
node_help100 1.6% 13,086 0.5% 70,400 0.0% 169,600 0.1%
Drupal\node\Access\NodeAddAccessCheck::access100 1.6% 12,882 0.5% 73,600 0.0% 0 0.0%
user_template_preprocess_default_variables_alter100 1.6% 12,676 0.5% 74,400 0.0% 66,400 0.0%
views_preprocess_html100 1.6% 12,638 0.5% 71,200 0.0% 0 0.0%
contextual_page_attachments100 1.6% 11,465 0.4% 72,000 0.0% 148,000 0.1%
toolbar_page_top100 1.6% 10,831 0.4% 71,200 0.0% 110,400 0.1%
views_add_contextual_links100 1.6% 9,507 0.3% 72,000 0.0% 192,000 0.1%
tour_page_bottom100 1.6% 8,715 0.3% 71,200 0.0% 110,400 0.1%
quickedit_page_attachments100 1.6% 8,692 0.3% 72,000 0.0% 137,600 0.1%
Child functions
Drupal\Core\Session\UserSession::hasPermission6,400 50.0% 2,680,706 96.0% 178,545,600 96.7% 182,120,000 97.5%
Drupal\Core\Session\AccountProxy::getAccount6,400 50.0% 71,945 2.6% 4,408,800 2.4% 4,367,200 2.3%