Diff Report
Run #523f1dee40c1a: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #523f1e3aba264: 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 #523f1dee40c1aRun #523f1e3aba264DiffDiff%
Number of Function Calls124 124 0 0.0%
Incl. Wall Time (microsec)31,038 31,169 131 0.4%
Incl. Wall Time (microsec) per call 250 251 1 0.4%
Excl. Wall Time (microsec)1,845 1,870 25 1.4%
Incl. CPU (microsecs)30,465 30,471 6 0.0%
Incl. CPU (microsecs) per call 246 246 0 0.0%
Excl. CPU (microsec)1,249 1,267 18 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% 131 13.2% 6 3.3% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function25 19.1% 18 300.0% 0 N/A% 0 N/A%
Parent functions
user_access0 N/A% 131 100.0% 5 83.3% 0 N/A% 0 N/A%
shortcut_set_switch_access0 N/A% 10 7.6% 10 166.7% 0 N/A% 0 N/A%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest0 N/A% -6 -4.6% -4 -66.7% 0 N/A% 0 N/A%
contextual_page_build0 N/A% -3 -2.3% -2 -33.3% 0 N/A% 0 N/A%
tour_toolbar0 N/A% -2 -1.5% -2 -33.3% 0 N/A% 0 N/A%
contextual_toolbar0 N/A% 1 0.8% -1 -16.7% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% -1 -0.8% -2 -33.3% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 1 0.8% 1 16.7% 0 N/A% 0 N/A%
edit_page_build0 N/A% 0 0.0% 1 16.7% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 143 109.2% 39 650.0% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -93 -71.0% -103 -1716.7% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 25 19.1% 25 416.7% 0 N/A% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 19 14.5% 11 183.3% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 10 7.6% 2 33.3% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 2 1.5% 14 233.3% 0 N/A% 0 N/A%