Diff Report
Run #523f26a22745b: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #523f27f8820ba: 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 #523f27f8820baDiffDiff%
Number of Function Calls124 124 0 0.0%
Incl. Wall Time (microsec)31,610 31,668 58 0.2%
Incl. Wall Time (microsec) per call 255 255 0 0.2%
Excl. Wall Time (microsec)1,834 1,977 143 7.8%
Incl. CPU (microsecs)31,030 31,100 70 0.2%
Incl. CPU (microsecs) per call 250 251 1 0.2%
Excl. CPU (microsec)1,246 1,281 35 2.8%
Incl. MemUse (bytes)1,250,920 1,251,048 128 0.0%
Incl. MemUse (bytes) per call 10,088 10,089 1 0.0%
Excl. MemUse (bytes)-56,216 -56,216 0 0.0%
Incl. PeakMemUse (bytes)1,265,120 1,266,112 992 0.1%
Incl. PeakMemUse (bytes) per call 10,203 10,211 8 0.1%
Excl. PeakMemUse (bytes)3,152 3,240 88 2.8%

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% 58 0.2% 70 0.3% 128 0.2% 992 1.2%
Exclusive Metrics Diff for Current Function143 246.6% 35 50.0% 0 0.0% 88 8.9%
Parent functions
user_access0 N/A% 39 67.2% 54 77.1% 128 100.0% 992 100.0%
tour_toolbar0 N/A% 20 34.5% 19 27.1% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% -5 -8.6% -5 -7.1% 0 0.0% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest0 N/A% 2 3.4% 1 1.4% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% -1 -1.7% -1 -1.4% 0 0.0% 0 0.0%
shortcut_set_switch_access0 N/A% 1 1.7% 1 1.4% 0 0.0% 0 0.0%
edit_page_build0 N/A% 1 1.7% 1 1.4% 0 0.0% 0 0.0%
contextual_page_build0 N/A% 1 1.7% 0 0.0% 0 0.0% 0 0.0%
contextual_toolbar0 N/A% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -195 -336.2% -168 -240.0% 72 56.2% 736 74.2%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 182 313.8% 193 275.7% -16 -12.5% -32 -3.2%
Drupal::entityManager0 N/A% -85 -146.6% -49 -70.0% 72 56.2% 200 20.2%
Drupal\user\Entity\Role::hasPermission0 N/A% 13 22.4% 39 55.7% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -4 -6.9% 10 14.3% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 4 6.9% 10 14.3% 0 0.0% 0 0.0%