Diff Report
Run #5608311397db4: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #560831fb3d4d9: 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 #5608311397db4Run #560831fb3d4d9DiffDiff%
Number of Function Calls110 110 0 0.0%
Incl. Wall Time (microsec)10,573 10,641 68 0.6%
Incl. Wall Time (microsec) per call 96 97 1 0.6%
Excl. Wall Time (microsec)403 403 0 0.0%
Incl. MemUse (bytes)1,267,400 1,267,440 40 0.0%
Incl. MemUse (bytes) per call 11,522 11,522 0 0.0%
Excl. MemUse (bytes)15,216 15,224 8 0.1%
Incl. PeakMemUse (bytes)1,426,192 1,426,016 -176 -0.0%
Incl. PeakMemUse (bytes) per call 12,965 12,964 -2 -0.0%
Excl. PeakMemUse (bytes)2,168 2,104 -64 -3.0%

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% 68 0.2% 40 0.2% -176 -0.8%
Exclusive Metrics Diff for Current Function0 0.0% 8 20.0% -64 -36.4%
Parent functions
Drupal\Core\Access\AccessResult::allowedIfHasPermissions0 N/A% -96 -141.2% 32 80.0% -40 -22.7%
Drupal\node\NodeAccessControlHandler::access0 N/A% 94 138.2% 0 0.0% 32 18.2%
node_views_query_substitutions0 N/A% 30 44.1% 0 0.0% 0 0.0%
Drupal\Core\Access\AccessResult::allowedIfHasPermission0 N/A% 25 36.8% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% 5 7.4% 0 0.0% 0 0.0%
Drupal\devel\EventSubscriber\DevelEventSubscriber::onRequest0 N/A% 5 7.4% 0 0.0% 0 0.0%
user_template_preprocess_default_variables_alter0 N/A% 4 5.9% 0 0.0% 0 0.0%
Drupal\node\Cache\NodeAccessGrantsCacheContext::getContext0 N/A% -3 -4.4% 0 0.0% 0 0.0%
devel_page_attachments_alter0 N/A% -2 -2.9% 0 0.0% 0 0.0%
Drupal\node\NodeAccessControlHandler::createAccess0 N/A% 2 2.9% 0 0.0% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 2 2.9% 0 0.0% 0 0.0%
Drupal\user\Plugin\views\access\Permission::access0 N/A% 2 2.9% 0 0.0% 0 0.0%
Drupal\Core\Menu\DefaultMenuLinkTreeManipulators::menuLinkCheckAccess0 N/A% 1 1.5% 0 0.0% 0 0.0%
node_help0 N/A% -1 -1.5% 0 0.0% 0 0.0%
contextual_page_attachments0 N/A% 1 1.5% 0 0.0% 0 0.0%
toolbar_page_top0 N/A% -1 -1.5% 0 0.0% 0 0.0%
Drupal\node\NodeAccessControlHandler::checkCreateAccess0 N/A% 1 1.5% 0 0.0% 0 0.0%
views_add_contextual_links0 N/A% -1 -1.5% 0 0.0% -168 -95.5%
quickedit_page_attachments0 N/A% 0 0.0% 8 20.0% 0 0.0%
tour_page_bottom0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\node\Access\NodeAddAccessCheck::access0 N/A% 0 0.0% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Session\UserSession::hasPermission0 N/A% 83 122.1% 32 80.0% -112 -63.6%
Drupal\Core\Session\AccountProxy::getAccount0 N/A% -15 -22.1% 0 0.0% 0 0.0%