Diff Report
Run #523e4a8c453b2: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #523e49a66dc20: 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 #523e4a8c453b2Run #523e49a66dc20DiffDiff%
Number of Function Calls30 30 0 0.0%
Incl. Wall Time (microsec)10,767 11,040 273 2.5%
Incl. Wall Time (microsec) per call 359 368 9 2.5%
Excl. Wall Time (microsec)499 520 21 4.2%
Incl. CPU (microsecs)10,225 10,384 159 1.6%
Incl. CPU (microsecs) per call 341 346 5 1.6%
Excl. CPU (microsec)353 359 6 1.7%
Incl. MemUse (bytes)739,144 739,144 0 0.0%
Incl. MemUse (bytes) per call 24,638 24,638 0 0.0%
Excl. MemUse (bytes)-8,560 -8,560 0 0.0%
Incl. PeakMemUse (bytes)753,976 753,976 0 0.0%
Incl. PeakMemUse (bytes) per call 25,133 25,133 0 0.0%
Excl. PeakMemUse (bytes)2,848 2,848 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% 273 3.1% 159 3.5% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function21 7.7% 6 3.8% 0 N/A% 0 N/A%
Parent functions
user_access0 N/A% 259 94.9% 150 94.3% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 13 4.8% 12 7.5% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 11 4.0% 8 5.0% 0 N/A% 0 N/A%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest0 N/A% -5 -1.8% -6 -3.8% 0 N/A% 0 N/A%
contextual_page_build0 N/A% -4 -1.5% -5 -3.1% 0 N/A% 0 N/A%
edit_page_build0 N/A% -1 -0.4% 0 0.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 252 92.3% 93 58.5% 0 N/A% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -52 -19.0% 4 2.5% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 51 18.7% 51 32.1% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -4 -1.5% 3 1.9% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 3 1.1% 6 3.8% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 2 0.7% -4 -2.5% 0 N/A% 0 N/A%