Diff Report
Run #523f024cca254: 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 #523f024cca254Run #523f01900df5cDiffDiff%
Number of Function Calls51 51 0 0.0%
Incl. Wall Time (microsec)18,596 18,658 62 0.3%
Incl. Wall Time (microsec) per call 365 366 1 0.3%
Excl. Wall Time (microsec)786 772 -14 -1.8%
Incl. CPU (microsecs)17,959 17,845 -114 -0.6%
Incl. CPU (microsecs) per call 352 350 -2 -0.6%
Excl. CPU (microsec)525 524 -1 -0.2%
Incl. MemUse (bytes)1,246,944 1,247,064 120 0.0%
Incl. MemUse (bytes) per call 24,450 24,452 2 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% 62 10.4% -114 -26.5% 120 0.3% 0 0.0%
Exclusive Metrics Diff for Current Function-14 -22.6% -1 -0.9% 0 0.0% 0 N/A%
Parent functions
user_access0 N/A% 56 90.3% -122 -107.0% 120 100.0% 0 N/A%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest0 N/A% 6 9.7% 7 6.1% 0 0.0% 0 N/A%
tour_toolbar0 N/A% 3 4.8% 4 3.5% 0 0.0% 0 N/A%
contextual_toolbar0 N/A% -1 -1.6% -1 -0.9% 0 0.0% 0 N/A%
tour_preprocess_page0 N/A% 1 1.6% 2 1.8% 0 0.0% 0 N/A%
edit_page_build0 N/A% -1 -1.6% 0 0.0% 0 0.0% 0 N/A%
contextual_page_build0 N/A% -1 -1.6% -2 -1.8% 0 0.0% 0 N/A%
shortcut_set_switch_access0 N/A% -1 -1.6% -1 -0.9% 0 0.0% 0 N/A%
shortcut_set_edit_access0 N/A% 0 0.0% -1 -0.9% 0 0.0% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 134 216.1% 6 5.3% -24 -20.0% -32 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -84 -135.5% -141 -123.7% 168 140.0% 56 N/A%
Drupal::entityManager0 N/A% 39 62.9% 54 47.4% -24 -20.0% -24 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -9 -14.5% -13 -11.4% 0 0.0% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -3 -4.8% -11 -9.6% 0 0.0% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -1 -1.6% -8 -7.0% 0 0.0% 0 N/A%