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

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

Drupal\Core\Session\UserSession::hasPermissionRun #531ccbd4518b6Run #531ccb2cb8e3dDiffDiff%
Number of Function Calls55 55 0 0.0%
Incl. Wall Time (microsec)17,693 17,459 -234 -1.3%
Incl. Wall Time (microsec) per call 322 317 -4 -1.3%
Excl. Wall Time (microsec)728 729 1 0.1%
Incl. CPU (microsecs)17,232 17,030 -202 -1.2%
Incl. CPU (microsecs) per call 313 310 -4 -1.2%
Excl. CPU (microsec)473 468 -5 -1.1%
Incl. MemUse (bytes)1,533,128 1,533,176 48 0.0%
Incl. MemUse (bytes) per call 27,875 27,876 1 0.0%
Excl. MemUse (bytes)-16,976 -16,976 0 0.0%
Incl. PeakMemUse (bytes)1,533,512 1,530,808 -2,704 -0.2%
Incl. PeakMemUse (bytes) per call 27,882 27,833 -49 -0.2%
Excl. PeakMemUse (bytes)3,240 3,112 -128 -4.0%

Parent/Child Regression/Improvement report for Drupal\Core\Session\UserSession::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\UserSession::hasPermission0 N/A% -234 -238.8% -202 -77.4% 48 0.1% -2,704 -6.9%
Exclusive Metrics Diff for Current Function1 0.4% -5 -2.5% 0 0.0% -128 -4.7%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -267 -114.1% -231 -114.4% 48 100.0% 8 0.3%
user_access0 N/A% 22 9.4% 19 9.4% 0 0.0% -1,384 -51.2%
contextual_page_build0 N/A% 16 6.8% 16 7.9% 0 0.0% -640 -23.7%
user_template_preprocess_default_variables_alter0 N/A% -12 -5.1% -12 -5.9% 0 0.0% 192 7.1%
edit_page_build0 N/A% 6 2.6% 5 2.5% 0 0.0% -880 -32.5%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -6 -2.6% -5 -2.5% 0 0.0% 0 0.0%
tour_toolbar0 N/A% 3 1.3% 3 1.5% 0 0.0% 0 0.0%
Drupal\system\Controller\SystemController::overview0 N/A% 2 0.9% 2 1.0% 0 0.0% 0 0.0%
contextual_toolbar0 N/A% 2 0.9% 1 0.5% 0 0.0% 0 0.0%
shortcut_set_switch_access0 N/A% 1 0.4% 2 1.0% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% -1 -0.4% -2 -1.0% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% -1 -0.4% 0 0.0% 0 0.0% 0 0.0%
Drupal\views\ViewsAccessCheck::access0 N/A% 1 0.4% 0 0.0% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -239 -102.1% -206 -102.0% -16 -33.3% -2,600 -96.2%
Drupal\user\Entity\Role::hasPermission0 N/A% 2 0.9% -7 -3.5% 0 0.0% 0 0.0%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 2 0.9% 3 1.5% 64 133.3% 24 0.9%
Drupal::entityManager0 N/A% 1 0.4% 9 4.5% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% -1 -0.4% 8 4.0% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 0 0.0% -4 -2.0% 0 0.0% 0 0.0%