Diff Report
Run #531ee5f3237b0: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #531ee626b79e4: 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 #531ee626b79e4DiffDiff%
Number of Function Calls55 55 0 0.0%
Incl. Wall Time (microsec)18,309 18,008 -301 -1.6%
Incl. Wall Time (microsec) per call 333 327 -5 -1.6%
Excl. Wall Time (microsec)737 708 -29 -3.9%
Incl. CPU (microsecs)17,868 17,590 -278 -1.6%
Incl. CPU (microsecs) per call 325 320 -5 -1.6%
Excl. CPU (microsec)489 507 18 3.7%
Incl. MemUse (bytes)1,533,424 1,533,424 0 0.0%
Incl. MemUse (bytes) per call 27,880 27,880 0 0.0%
Excl. MemUse (bytes)-16,976 -16,976 0 0.0%
Incl. PeakMemUse (bytes)1,532,288 1,532,288 0 0.0%
Incl. PeakMemUse (bytes) per call 27,860 27,860 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% -301 -212.0% -278 -78.1% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-29 -9.6% 18 6.5% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -343 -114.0% -322 -115.8% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 69 22.9% 67 24.1% 0 N/A% 0 N/A%
user_access0 N/A% -7 -2.3% -6 -2.2% 0 N/A% 0 N/A%
contextual_toolbar0 N/A% 6 2.0% 6 2.2% 0 N/A% 0 N/A%
Drupal\views\ViewsAccessCheck::access0 N/A% -5 -1.7% -4 -1.4% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% -5 -1.7% -5 -1.8% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% -4 -1.3% -4 -1.4% 0 N/A% 0 N/A%
tour_toolbar0 N/A% -4 -1.3% -4 -1.4% 0 N/A% 0 N/A%
contextual_page_build0 N/A% -3 -1.0% -2 -0.7% 0 N/A% 0 N/A%
shortcut_set_switch_access0 N/A% -2 -0.7% -3 -1.1% 0 N/A% 0 N/A%
edit_page_build0 N/A% -2 -0.7% -1 -0.4% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% -1 -0.3% 0 0.0% 0 N/A% 0 N/A%
Drupal\system\Controller\SystemController::overview0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -178 -59.1% -160 -57.6% 0 N/A% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -82 -27.2% -80 -28.8% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -29 -9.6% -35 -12.6% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 14 4.7% -10 -3.6% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 13 4.3% 2 0.7% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -10 -3.3% -13 -4.7% 0 N/A% 0 N/A%