Diff Report
Run #5578e32524136: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #5578e29590a73: XHProf Run (Namespace=drupal-perf-joelpittet)
Tip
Click a function name below to drill down.

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

Drupal\Core\Session\AccountProxy::hasPermissionRun #5578e32524136Run #5578e29590a73DiffDiff%
Number of Function Calls76 76 0 0.0%
Incl. Wall Time (microsec)7,603 7,772 169 2.2%
Incl. Wall Time (microsec) per call 100 102 2 2.2%
Excl. Wall Time (microsec)265 266 1 0.4%
Incl. MemUse (bytes)1,225,848 1,225,856 8 0.0%
Incl. MemUse (bytes) per call 16,130 16,130 0 0.0%
Excl. MemUse (bytes)16,552 16,552 0 0.0%
Incl. PeakMemUse (bytes)1,247,848 1,249,800 1,952 0.2%
Incl. PeakMemUse (bytes) per call 16,419 16,445 26 0.2%
Excl. PeakMemUse (bytes)3,224 3,576 352 10.9%

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% 169 1.3% 8 0.0% 1,952 0.4%
Exclusive Metrics Diff for Current Function1 0.6% 0 0.0% 352 18.0%
Parent functions
Drupal\Core\Access\AccessResult::allowedIfHasPermissions0 N/A% 223 132.0% 8 100.0% 16 0.8%
rdf_preprocess_node0 N/A% -21 -12.4% 0 0.0% 0 0.0%
template_preprocess_username0 N/A% -11 -6.5% 0 0.0% 0 0.0%
Drupal\user\UserAccessControlHandler::checkFieldAccess0 N/A% -9 -5.3% 0 0.0% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -4 -2.4% 0 0.0% 0 0.0%
user_template_preprocess_default_variables_alter0 N/A% -4 -2.4% 0 0.0% 1,456 74.6%
Drupal\comment\CommentLinkBuilder::buildCommentedEntityLinks0 N/A% 3 1.8% 0 0.0% 0 0.0%
contextual_page_attachments0 N/A% -3 -1.8% 0 0.0% 0 0.0%
Drupal\node\NodeAccessControlHandler::createAccess0 N/A% -2 -1.2% 0 0.0% 0 0.0%
tour_page_bottom0 N/A% -2 -1.2% 0 0.0% 0 0.0%
Drupal\node\NodeAccessControlHandler::checkCreateAccess0 N/A% -2 -1.2% 0 0.0% 0 0.0%
node_views_query_substitutions0 N/A% 2 1.2% 0 0.0% 0 0.0%
Drupal\user\Plugin\views\access\Permission::access0 N/A% 2 1.2% 0 0.0% 0 0.0%
Drupal\Core\Access\AccessResult::allowedIfHasPermission0 N/A% 2 1.2% 0 0.0% 0 0.0%
Drupal\Core\Menu\DefaultMenuLinkTreeManipulators::menuLinkCheckAccess0 N/A% -2 -1.2% 0 0.0% 0 0.0%
Drupal\node\Access\NodeAddAccessCheck::access0 N/A% -1 -0.6% 0 0.0% 0 0.0%
views_add_contextual_links0 N/A% -1 -0.6% 0 0.0% 0 0.0%
node_help0 N/A% 1 0.6% 0 0.0% 0 0.0%
toolbar_page_top0 N/A% -1 -0.6% 0 0.0% 0 0.0%
Drupal\node\Cache\NodeAccessGrantsCacheContext::getContext0 N/A% -1 -0.6% 0 0.0% 0 0.0%
views_preprocess_html0 N/A% 0 0.0% 0 0.0% 480 24.6%
quickedit_page_attachments0 N/A% 0 0.0% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% 0 0.0% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Session\UserSession::hasPermission0 N/A% 161 95.3% 8 100.0% 1,600 82.0%
Drupal\Core\Session\AccountProxy::getAccount0 N/A% 7 4.1% 0 0.0% 0 0.0%