Diff Report
Run #54e0a6d45fe2a: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #54e0a7d2151b1: XHProf Run (Namespace=drupal-perf-cottser)
Tip
Click a function name below to drill down.

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

Drupal\Core\Session\AccountProxy::hasPermissionRun #54e0a6d45fe2aRun #54e0a7d2151b1DiffDiff%
Number of Function Calls84 84 0 0.0%
Incl. Wall Time (microsec)13,641 13,696 55 0.4%
Incl. Wall Time (microsec) per call 162 163 1 0.4%
Excl. Wall Time (microsec)367 369 2 0.5%
Incl. CPU (microsecs)13,194 13,264 70 0.5%
Incl. CPU (microsecs) per call 157 158 1 0.5%
Excl. CPU (microsec)296 307 11 3.7%
Incl. MemUse (bytes)1,614,400 1,614,328 -72 -0.0%
Incl. MemUse (bytes) per call 19,219 19,218 -1 -0.0%
Excl. MemUse (bytes)19,664 19,664 0 0.0%
Incl. PeakMemUse (bytes)1,630,680 1,630,712 32 0.0%
Incl. PeakMemUse (bytes) per call 19,413 19,413 0 0.0%
Excl. PeakMemUse (bytes)3,240 3,312 72 2.2%

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. CPU Diff
(microsec)
ICpu
Diff%
Incl.
MemUse
Diff
(bytes)
IMemUse
Diff%
Incl.
PeakMemUse
Diff
(bytes)
IPeakMemUse
Diff%
Current Function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 55 7.4% 70 19.2% -72 -0.7% 32 0.3%
Exclusive Metrics Diff for Current Function2 3.6% 11 15.7% 0 0.0% 72 225.0%
Parent functions
Drupal\Core\Access\AccessResult::allowedIfHasPermissions0 N/A% 63 114.5% 76 108.6% -72 -100.0% 0 0.0%
template_preprocess_username0 N/A% 9 16.4% 9 12.9% 0 0.0% 0 0.0%
Drupal\user\UserAccessControlHandler::checkFieldAccess0 N/A% 8 14.5% 9 12.9% 0 0.0% 0 0.0%
toolbar_page_top0 N/A% -7 -12.7% -7 -10.0% 0 0.0% 0 0.0%
Drupal\Core\Menu\DefaultMenuLinkTreeManipulators::menuLinkCheckAccess0 N/A% -7 -12.7% -6 -8.6% 0 0.0% 0 0.0%
contextual_page_attachments0 N/A% -7 -12.7% -6 -8.6% 0 0.0% 0 0.0%
user_template_preprocess_default_variables_alter0 N/A% 6 10.9% 5 7.1% 0 0.0% 72 225.0%
views_add_contextual_links0 N/A% -6 -10.9% -5 -7.1% 0 0.0% 0 0.0%
Drupal\comment\CommentLinkBuilder::buildCommentedEntityLinks0 N/A% 6 10.9% 6 8.6% 0 0.0% 0 0.0%
quickedit_page_attachments0 N/A% -6 -10.9% -6 -8.6% 0 0.0% 0 0.0%
tour_page_bottom0 N/A% -6 -10.9% -6 -8.6% 0 0.0% 0 0.0%
Drupal\Core\Access\AccessResult::allowedIfHasPermission0 N/A% 5 9.1% 5 7.1% 0 0.0% 0 0.0%
rdf_preprocess_node0 N/A% 4 7.3% 4 5.7% 0 0.0% 0 0.0%
Drupal\user\Plugin\views\access\Permission::access0 N/A% -4 -7.3% -2 -2.9% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% -3 -5.5% -5 -7.1% 0 0.0% 0 0.0%
Drupal\node\NodeAccessControlHandler::checkCreateAccess0 N/A% 2 3.6% 1 1.4% 0 0.0% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::blockAccess0 N/A% -2 -3.6% -5 -7.1% 0 0.0% -40 -125.0%
node_query_node_access_alter0 N/A% -1 -1.8% 0 0.0% 0 0.0% 0 0.0%
node_views_query_substitutions0 N/A% 1 1.8% 1 1.4% 0 0.0% 0 0.0%
views_preprocess_html0 N/A% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\node\NodeAccessControlHandler::createAccess0 N/A% 0 0.0% 2 2.9% 0 0.0% 0 0.0%
node_help0 N/A% 0 0.0% -1 -1.4% 0 0.0% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 0 0.0% 1 1.4% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Session\UserSession::hasPermission0 N/A% 57 103.6% 62 88.6% -72 -100.0% -40 -125.0%
Drupal\Core\Session\AccountProxy::getAccount0 N/A% -4 -7.3% -3 -4.3% 0 0.0% 0 0.0%