Diff Report
Run #523f01e38fa84: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #523f01900df5c: 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 #523f01e38fa84Run #523f01900df5cDiffDiff%
Number of Function Calls51 51 0 0.0%
Incl. Wall Time (microsec)18,801 18,658 -143 -0.8%
Incl. Wall Time (microsec) per call 369 366 -3 -0.8%
Excl. Wall Time (microsec)772 772 0 0.0%
Incl. CPU (microsecs)18,095 17,845 -250 -1.4%
Incl. CPU (microsecs) per call 355 350 -5 -1.4%
Excl. CPU (microsec)522 524 2 0.4%
Incl. MemUse (bytes)1,247,064 1,247,064 0 0.0%
Incl. MemUse (bytes) per call 24,452 24,452 0 0.0%
Excl. MemUse (bytes)-17,696 -17,696 0 0.0%
Incl. PeakMemUse (bytes)1,262,424 1,262,424 0 0.0%
Incl. PeakMemUse (bytes) per call 24,753 24,753 0 0.0%
Excl. PeakMemUse (bytes)3,152 3,152 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% -143 -42.1% -250 -6.2% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function0 0.0% 2 0.8% 0 N/A% 0 N/A%
Parent functions
user_access0 N/A% -126 -88.1% -235 -94.0% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% -27 -18.9% -28 -11.2% 0 N/A% 0 N/A%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest0 N/A% 14 9.8% 14 5.6% 0 N/A% 0 N/A%
shortcut_set_switch_access0 N/A% -7 -4.9% -7 -2.8% 0 N/A% 0 N/A%
tour_toolbar0 N/A% 1 0.7% 2 0.8% 0 N/A% 0 N/A%
contextual_toolbar0 N/A% 1 0.7% 1 0.4% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 1 0.7% 2 0.8% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 0 0.0% -1 -0.4% 0 N/A% 0 N/A%
edit_page_build0 N/A% 0 0.0% 2 0.8% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -195 -136.4% -207 -82.8% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 126 88.1% 38 15.2% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -53 -37.1% -56 -22.4% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -8 -5.6% -12 -4.8% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -7 -4.9% -12 -4.8% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -6 -4.2% -3 -1.2% 0 N/A% 0 N/A%