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

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 Function-143 -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%