Diff Report
Run #531ccb2cb8e3d: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #531ccba053790: 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 #531ccb2cb8e3dRun #531ccba053790DiffDiff%
Number of Function Calls55 55 0 0.0%
Incl. Wall Time (microsec)17,459 17,659 200 1.1%
Incl. Wall Time (microsec) per call 317 321 4 1.1%
Excl. Wall Time (microsec)729 726 -3 -0.4%
Incl. CPU (microsecs)17,030 17,194 164 1.0%
Incl. CPU (microsecs) per call 310 313 3 1.0%
Excl. CPU (microsec)468 499 31 6.6%
Incl. MemUse (bytes)1,533,176 1,533,176 0 0.0%
Incl. MemUse (bytes) per call 27,876 27,876 0 0.0%
Excl. MemUse (bytes)-16,976 -16,976 0 0.0%
Incl. PeakMemUse (bytes)1,530,808 1,530,808 0 0.0%
Incl. PeakMemUse (bytes) per call 27,833 27,833 0 0.0%
Excl. PeakMemUse (bytes)3,112 3,112 0 0.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% 200 344.8% 164 278.0% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-3 -1.5% 31 18.9% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 167 83.5% 132 80.5% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 14 7.0% 13 7.9% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 9 4.5% 8 4.9% 0 N/A% 0 N/A%
edit_page_build0 N/A% 9 4.5% 10 6.1% 0 N/A% 0 N/A%
Drupal\views\ViewsAccessCheck::access0 N/A% 4 2.0% 3 1.8% 0 N/A% 0 N/A%
user_access0 N/A% -4 -2.0% -4 -2.4% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -3 -1.5% -3 -1.8% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% 2 1.0% 2 1.2% 0 N/A% 0 N/A%
shortcut_set_switch_access0 N/A% 1 0.5% 1 0.6% 0 N/A% 0 N/A%
tour_toolbar0 N/A% -1 -0.5% -1 -0.6% 0 N/A% 0 N/A%
contextual_toolbar0 N/A% 1 0.5% 2 1.2% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 1 0.5% 2 1.2% 0 N/A% 0 N/A%
Drupal\system\Controller\SystemController::overview0 N/A% 0 0.0% -1 -0.6% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 159 79.5% 154 93.9% 0 N/A% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 24 12.0% -12 -7.3% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 12 6.0% 6 3.7% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 4 2.0% -12 -7.3% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 3 1.5% 2 1.2% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 1 0.5% -5 -3.0% 0 N/A% 0 N/A%