Diff Report
Run #523e4c6056bfd: 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 #523e4c6056bfdRun #523e49a66dc20DiffDiff%
Number of Function Calls30 30 0 0.0%
Incl. Wall Time (microsec)11,062 11,040 -22 -0.2%
Incl. Wall Time (microsec) per call 369 368 -1 -0.2%
Excl. Wall Time (microsec)522 520 -2 -0.4%
Incl. CPU (microsecs)10,536 10,384 -152 -1.4%
Incl. CPU (microsecs) per call 351 346 -5 -1.4%
Excl. CPU (microsec)364 359 -5 -1.4%
Incl. MemUse (bytes)739,128 739,144 16 0.0%
Incl. MemUse (bytes) per call 24,638 24,638 1 0.0%
Excl. MemUse (bytes)-8,624 -8,560 64 0.7%
Incl. PeakMemUse (bytes)737,760 753,976 16,216 2.2%
Incl. PeakMemUse (bytes) per call 24,592 25,133 541 2.2%
Excl. PeakMemUse (bytes)2,656 2,848 192 7.2%

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% -22 -0.0% -152 -0.0% 16 0.0% 16,216 0.1%
Exclusive Metrics Diff for Current Function-2 -9.1% -5 -3.3% 64 400.0% 192 1.2%
Parent functions
user_access0 N/A% 178 809.1% 50 32.9% 48 300.0% 11,896 73.4%
shortcut_set_edit_access0 N/A% -139 -631.8% -142 -93.4% 0 0.0% 2,664 16.4%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest0 N/A% -82 -372.7% -82 -53.9% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% 17 77.3% 17 11.2% 0 0.0% 1,656 10.2%
edit_page_build0 N/A% 5 22.7% 6 3.9% -32 -200.0% 0 0.0%
contextual_page_build0 N/A% -1 -4.5% -1 -0.7% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -183 -831.8% -191 -125.7% -80 -500.0% 15,184 93.6%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 139 631.8% 14 9.2% 16 100.0% 16 0.1%
Drupal::entityManager0 N/A% 26 118.2% 26 17.1% 40 250.0% 824 5.1%
Drupal\Core\Session\UserSession::getRoles0 N/A% -3 -13.6% -5 -3.3% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 3 13.6% 3 2.0% 0 0.0% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% -2 -9.1% 6 3.9% -24 -150.0% 0 0.0%