Run Report
Run #544333b05173f: 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. CPU
(microsecs)
ICpu%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
Drupal\Core\Session\AccountProxy::hasPermission656 33.2% 71,263 1.9% 71,520 1.9% 1,445,432 2.5% 1,420,848 2.5%
Exclusive Metrics for Current Function3,577 5.0% 3,128 4.4% 20,632 1.4% 4,424 0.3%
Parent functions
Drupal\user\Theme\AdminNegotiator::applies213 32.5% 20,344 28.5% 20,532 28.7% 11,056 0.8% 5,232 0.4%
Drupal\comment\Plugin\Field\FieldFormatter\CommentDefaultFormatter::viewElements150 22.9% 13,543 19.0% 13,659 19.1% 8,072 0.6% 3,536 0.2%
Drupal\Core\Access\AccessResult::allowedIfHasPermissions4 0.6% 9,964 14.0% 9,912 13.9% 1,392,768 96.4% 1,392,664 98.0%
Drupal\comment\CommentLinkBuilder::buildCommentedEntityLinks100 15.2% 9,081 12.7% 8,931 12.5% 5,648 0.4% 0 0.0%
template_preprocess_username50 7.6% 4,895 6.9% 4,953 6.9% 3,216 0.2% 3,880 0.3%
Drupal\user\UserAccessControlHandler::checkFieldAccess50 7.6% 4,716 6.6% 4,711 6.6% 3,248 0.2% 0 0.0%
rdf_preprocess_node50 7.6% 4,602 6.5% 4,661 6.5% 3,208 0.2% 0 0.0%
Drupal\Core\Menu\DefaultMenuLinkTreeManipulators::menuLinkCheckAccess7 1.1% 890 1.2% 902 1.3% 1,192 0.1% 272 0.0%
node_views_query_substitutions9 1.4% 729 1.0% 735 1.0% 1,256 0.1% 2,528 0.2%
Drupal\node\NodeAccessControlHandler::createAccess4 0.6% 485 0.7% 491 0.7% 1,032 0.1% 0 0.0%
Drupal\Core\Access\AccessResult::allowedIfHasPermission3 0.5% 301 0.4% 305 0.4% 3,240 0.2% 1,360 0.1%
Drupal\node\NodeAccessControlHandler::checkCreateAccess2 0.3% 247 0.3% 250 0.3% 944 0.1% 0 0.0%
shortcut_set_edit_access2 0.3% 189 0.3% 191 0.3% 912 0.1% 1,544 0.1%
contextual_page_attachments1 0.2% 188 0.3% 175 0.2% 864 0.1% 0 0.0%
node_query_node_access_alter2 0.3% 163 0.2% 169 0.2% 912 0.1% 2,112 0.1%
node_help1 0.2% 161 0.2% 163 0.2% 872 0.1% 0 0.0%
Drupal\views\Plugin\views\display\DisplayPluginBase::access1 0.2% 140 0.2% 141 0.2% 896 0.1% 704 0.0%
user_template_preprocess_default_variables_alter1 0.2% 116 0.2% 118 0.2% 888 0.1% 2,360 0.2%
Drupal\search\Plugin\Block\SearchBlock::blockAccess1 0.2% 113 0.2% 116 0.2% 888 0.1% 0 0.0%
Drupal\user\Plugin\views\access\Permission::access1 0.2% 93 0.1% 95 0.1% 888 0.1% 1,024 0.1%
quickedit_page_attachments1 0.2% 80 0.1% 81 0.1% 864 0.1% 0 0.0%
toolbar_page_top1 0.2% 77 0.1% 79 0.1% 856 0.1% 1,120 0.1%
tour_page_bottom1 0.2% 73 0.1% 75 0.1% 856 0.1% 1,120 0.1%
views_preprocess_page1 0.2% 73 0.1% 75 0.1% 856 0.1% 1,392 0.1%
Child functions
Drupal\Core\Session\UserSession::hasPermission656 50.0% 66,845 93.8% 66,961 93.6% 1,423,968 98.5% 1,415,592 99.6%
Drupal\Core\Session\AccountProxy::getAccount656 50.0% 841 1.2% 1,431 2.0% 832 0.1% 832 0.1%