Diff Report
Run #557c27da9db93: XHProf Run (Namespace=drupal-perf-lauriii)
vs.
Run #557c2635273b3: XHProf Run (Namespace=drupal-perf-lauriii)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\Core\Session\AccountProxy::hasPermission

Drupal\Core\Session\AccountProxy::hasPermissionRun #557c27da9db93Run #557c2635273b3DiffDiff%
Number of Function Calls78 78 0 0.0%
Incl. Wall Time (microsec)7,545 8,211 666 8.8%
Incl. Wall Time (microsec) per call 97 105 9 8.8%
Excl. Wall Time (microsec)290 298 8 2.8%
Incl. MemUse (bytes)1,190,976 1,191,024 48 0.0%
Incl. MemUse (bytes) per call 15,269 15,270 1 0.0%
Excl. MemUse (bytes)16,552 16,552 0 0.0%
Incl. PeakMemUse (bytes)1,214,304 1,215,304 1,000 0.1%
Incl. PeakMemUse (bytes) per call 15,568 15,581 13 0.1%
Excl. PeakMemUse (bytes)3,320 3,512 192 5.8%

Parent/Child Regression/Improvement report for Drupal\Core\Session\AccountProxy::hasPermission [View Callgraph Diff]


Function NameCalls DiffCalls
Diff%
Incl. Wall
Diff
(microsec)
IWall
Diff%
Incl.
MemUse
Diff
(bytes)
IMemUse
Diff%
Incl.
PeakMemUse
Diff
(bytes)
IPeakMemUse
Diff%
Current Function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 666 2.7% 48 0.0% 1,000 0.2%
Exclusive Metrics Diff for Current Function8 1.2% 0 0.0% 192 19.2%
Parent functions
Drupal\Core\Access\AccessResult::allowedIfHasPermissions0 N/A% 461 69.2% 48 100.0% -128 -12.8%
rdf_preprocess_node0 N/A% 65 9.8% 0 0.0% 0 0.0%
Drupal\user\UserAccessControlHandler::checkFieldAccess0 N/A% 35 5.3% 0 0.0% 0 0.0%
Drupal\node\NodeAccessControlHandler::createAccess0 N/A% 34 5.1% 0 0.0% 0 0.0%
node_help0 N/A% -32 -4.8% 0 0.0% 0 0.0%
Drupal\comment\CommentLinkBuilder::buildCommentedEntityLinks0 N/A% 26 3.9% 0 0.0% 0 0.0%
contextual_page_attachments0 N/A% -19 -2.9% 0 0.0% -80 -8.0%
template_preprocess_username0 N/A% 19 2.9% 0 0.0% -600 -60.0%
views_add_contextual_links0 N/A% 15 2.3% 0 0.0% 0 0.0%
Drupal\Core\Access\AccessResult::allowedIfHasPermission0 N/A% 13 2.0% 0 0.0% 0 0.0%
node_views_query_substitutions0 N/A% 12 1.8% 0 0.0% 0 0.0%
Drupal\user\Plugin\views\access\Permission::access0 N/A% 9 1.4% 0 0.0% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 9 1.4% 0 0.0% 0 0.0%
Drupal\node\Cache\NodeAccessGrantsCacheContext::getContext0 N/A% 6 0.9% 0 0.0% 0 0.0%
toolbar_page_top0 N/A% 5 0.8% 0 0.0% 0 0.0%
quickedit_page_attachments0 N/A% 5 0.8% 0 0.0% 0 0.0%
tour_page_bottom0 N/A% 4 0.6% 0 0.0% 0 0.0%
user_template_preprocess_default_variables_alter0 N/A% 3 0.5% 0 0.0% 1,728 172.8%
Drupal\Core\Menu\DefaultMenuLinkTreeManipulators::menuLinkCheckAccess0 N/A% -3 -0.5% 0 0.0% 0 0.0%
views_preprocess_html0 N/A% -2 -0.3% 0 0.0% 80 8.0%
shortcut_set_edit_access0 N/A% 2 0.3% 0 0.0% 0 0.0%
Drupal\node\Access\NodeAddAccessCheck::access0 N/A% -1 -0.2% 0 0.0% 0 0.0%
Drupal\node\NodeAccessControlHandler::checkCreateAccess0 N/A% 0 0.0% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Session\UserSession::hasPermission0 N/A% 644 96.7% 48 100.0% 912 91.2%
Drupal\Core\Session\AccountProxy::getAccount0 N/A% 14 2.1% 0 0.0% -104 -10.4%