Diff Report
Run #52ed72fd446c1: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #52ed72044139b: XHProf Run (Namespace=drupal-perf-joelpittet)
Tip
Click a function name below to drill down.

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

Drupal\Core\Session\UserSession::hasPermissionRun #52ed72fd446c1Run #52ed72044139bDiffDiff%
Number of Function Calls34 34 0 0.0%
Incl. Wall Time (microsec)25,614 25,289 -325 -1.3%
Incl. Wall Time (microsec) per call 753 744 -10 -1.3%
Excl. Wall Time (microsec)681 659 -22 -3.2%
Incl. CPU (microsecs)25,460 25,165 -295 -1.2%
Incl. CPU (microsecs) per call 749 740 -9 -1.2%
Excl. CPU (microsec)514 516 2 0.4%
Incl. MemUse (bytes)1,428,952 1,428,952 0 0.0%
Incl. MemUse (bytes) per call 42,028 42,028 0 0.0%
Excl. MemUse (bytes)-5,600 -5,600 0 0.0%
Incl. PeakMemUse (bytes)1,432,840 1,432,840 0 0.0%
Incl. PeakMemUse (bytes) per call 42,142 42,142 0 0.0%
Excl. PeakMemUse (bytes)2,728 2,728 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% -325 -33.3% -295 -15.5% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-22 -6.8% 2 0.7% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 488 150.2% 516 174.9% 0 N/A% 0 N/A%
contextual_page_build0 N/A% -311 -95.7% -312 -105.8% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% -254 -78.2% -254 -86.1% 0 N/A% 0 N/A%
edit_page_build0 N/A% -187 -57.5% -188 -63.7% 0 N/A% 0 N/A%
user_access0 N/A% -105 -32.3% -104 -35.3% 0 N/A% 0 N/A%
Drupal\views\ViewsAccessCheck::access0 N/A% 63 19.4% 64 21.7% 0 N/A% 0 N/A%
contextual_toolbar0 N/A% -49 -15.1% -49 -16.6% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% 13 4.0% 14 4.7% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 11 3.4% 11 3.7% 0 N/A% 0 N/A%
shortcut_set_switch_access0 N/A% 8 2.5% 8 2.7% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -3 -0.9% -2 -0.7% 0 N/A% 0 N/A%
tour_toolbar0 N/A% 1 0.3% 1 0.3% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -750 -230.8% -763 -258.6% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 505 155.4% 532 180.3% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -25 -7.7% -17 -5.8% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -25 -7.7% -33 -11.2% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -5 -1.5% -11 -3.7% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -3 -0.9% -5 -1.7% 0 N/A% 0 N/A%