Diff Report
Run #523f1dee40c1a: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #523f1f1f50546: 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 #523f1f1f50546DiffDiff%
Number of Function Calls124 124 0 0.0%
Incl. Wall Time (microsec)31,038 31,237 199 0.6%
Incl. Wall Time (microsec) per call 250 252 2 0.6%
Excl. Wall Time (microsec)1,845 1,836 -9 -0.5%
Incl. CPU (microsecs)30,465 30,671 206 0.7%
Incl. CPU (microsecs) per call 246 247 2 0.7%
Excl. CPU (microsec)1,249 1,234 -15 -1.2%
Incl. MemUse (bytes)1,250,920 1,251,000 80 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,265,432 312 0.0%
Incl. PeakMemUse (bytes) per call 10,203 10,205 3 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% 199 6.0% 206 6.6% 80 0.0% 312 0.2%
Exclusive Metrics Diff for Current Function-9 -4.5% -15 -7.3% 0 0.0% 0 0.0%
Parent functions
user_access0 N/A% 191 96.0% 199 96.6% 80 100.0% 312 100.0%
tour_toolbar0 N/A% 6 3.0% 6 2.9% 0 0.0% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest0 N/A% 3 1.5% 4 1.9% 0 0.0% 0 0.0%
shortcut_set_switch_access0 N/A% -2 -1.0% -2 -1.0% 0 0.0% 0 0.0%
contextual_page_build0 N/A% -2 -1.0% -3 -1.5% 0 0.0% 0 0.0%
contextual_toolbar0 N/A% 2 1.0% 1 0.5% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% 1 0.5% 1 0.5% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
edit_page_build0 N/A% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 154 77.4% 190 92.2% 160 200.0% 392 125.6%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 50 25.1% 13 6.3% -64 -80.0% -64 -20.5%
Drupal::entityManager0 N/A% -10 -5.0% -6 -2.9% -16 -20.0% -16 -5.1%
Drupal\Core\Session\UserSession::getRoles0 N/A% 5 2.5% -7 -3.4% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 5 2.5% 16 7.8% 0 0.0% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% 4 2.0% 15 7.3% 0 0.0% 0 0.0%