Diff Report
Run #531ee5f3237b0: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #531ee657ba49e: 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 #531ee5f3237b0Run #531ee657ba49eDiffDiff%
Number of Function Calls55 55 0 0.0%
Incl. Wall Time (microsec)18,309 17,677 -632 -3.5%
Incl. Wall Time (microsec) per call 333 321 -11 -3.5%
Excl. Wall Time (microsec)737 725 -12 -1.6%
Incl. CPU (microsecs)17,868 17,242 -626 -3.5%
Incl. CPU (microsecs) per call 325 313 -11 -3.5%
Excl. CPU (microsec)489 483 -6 -1.2%
Incl. MemUse (bytes)1,533,424 1,533,208 -216 -0.0%
Incl. MemUse (bytes) per call 27,880 27,877 -4 -0.0%
Excl. MemUse (bytes)-16,976 -16,976 0 0.0%
Incl. PeakMemUse (bytes)1,532,288 1,533,672 1,384 0.1%
Incl. PeakMemUse (bytes) per call 27,860 27,885 25 0.1%
Excl. PeakMemUse (bytes)3,112 3,432 320 10.3%

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% -632 -25.1% -626 -20.7% -216 -0.3% 1,384 1.8%
Exclusive Metrics Diff for Current Function-12 -1.9% -6 -1.0% 0 0.0% 320 23.1%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -457 -72.3% -452 -72.2% -216 -100.0% -136 -9.8%
user_access0 N/A% -45 -7.1% -47 -7.5% 0 0.0% 0 0.0%
contextual_page_build0 N/A% -38 -6.0% -39 -6.2% 0 0.0% 640 46.2%
Drupal\views\ViewsAccessCheck::access0 N/A% -32 -5.1% -31 -5.0% 0 0.0% 0 0.0%
edit_page_build0 N/A% -27 -4.3% -26 -4.2% 0 0.0% 880 63.6%
tour_preprocess_page0 N/A% -23 -3.6% -22 -3.5% 0 0.0% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -6 -0.9% -6 -1.0% 0 0.0% 0 0.0%
tour_toolbar0 N/A% 2 0.3% 2 0.3% 0 0.0% 0 0.0%
contextual_toolbar0 N/A% -2 -0.3% -3 -0.5% 0 0.0% 0 0.0%
Drupal\system\Controller\SystemController::overview0 N/A% -2 -0.3% 0 0.0% 0 0.0% 0 0.0%
user_template_preprocess_default_variables_alter0 N/A% -2 -0.3% -2 -0.3% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% 0 0.0% -1 -0.2% 0 0.0% 0 0.0%
shortcut_set_switch_access0 N/A% 0 0.0% 1 0.2% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -326 -51.6% -319 -51.0% -488 -225.9% 712 51.4%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -202 -32.0% -199 -31.8% 272 125.9% 352 25.4%
Drupal\user\Entity\Role::hasPermission0 N/A% -38 -6.0% -50 -8.0% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% -29 -4.6% -29 -4.6% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% -15 -2.4% -16 -2.6% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -10 -1.6% -7 -1.1% 0 0.0% 0 0.0%