Diff Report
Run #523f26a22745b: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #523f27198f838: 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 #523f26a22745bRun #523f27198f838DiffDiff%
Number of Function Calls124 124 0 0.0%
Incl. Wall Time (microsec)31,610 31,378 -232 -0.7%
Incl. Wall Time (microsec) per call 255 253 -2 -0.7%
Excl. Wall Time (microsec)1,834 1,877 43 2.3%
Incl. CPU (microsecs)31,030 30,778 -252 -0.8%
Incl. CPU (microsecs) per call 250 248 -2 -0.8%
Excl. CPU (microsec)1,246 1,263 17 1.4%
Incl. MemUse (bytes)1,250,920 1,250,920 0 0.0%
Incl. MemUse (bytes) per call 10,088 10,088 0 0.0%
Excl. MemUse (bytes)-56,216 -56,216 0 0.0%
Incl. PeakMemUse (bytes)1,265,120 1,265,120 0 0.0%
Incl. PeakMemUse (bytes) per call 10,203 10,203 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% -232 -20.3% -252 -303.6% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function43 18.5% 17 6.7% 0 N/A% 0 N/A%
Parent functions
user_access0 N/A% -209 -90.1% -228 -90.5% 0 N/A% 0 N/A%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest0 N/A% -12 -5.2% -12 -4.8% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% -6 -2.6% -6 -2.4% 0 N/A% 0 N/A%
shortcut_set_switch_access0 N/A% -4 -1.7% -4 -1.6% 0 N/A% 0 N/A%
contextual_toolbar0 N/A% -2 -0.9% -2 -0.8% 0 N/A% 0 N/A%
contextual_page_build0 N/A% -1 -0.4% 0 0.0% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 1 0.4% 1 0.4% 0 N/A% 0 N/A%
edit_page_build0 N/A% 1 0.4% 0 0.0% 0 N/A% 0 N/A%
tour_toolbar0 N/A% 0 0.0% -1 -0.4% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -239 -103.0% -215 -85.3% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -89 -38.4% -100 -39.7% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 43 18.5% 18 7.1% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 17 7.3% 16 6.3% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -4 -1.7% -9 -3.6% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -3 -1.3% 21 8.3% 0 N/A% 0 N/A%