Diff Report
Run #523f527beec76: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #523f52fbabfcb: 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 #523f527beec76Run #523f52fbabfcbDiffDiff%
Number of Function Calls42 42 0 0.0%
Incl. Wall Time (microsec)17,549 17,281 -268 -1.5%
Incl. Wall Time (microsec) per call 418 411 -6 -1.5%
Excl. Wall Time (microsec)658 652 -6 -0.9%
Incl. CPU (microsecs)16,854 16,628 -226 -1.3%
Incl. CPU (microsecs) per call 401 396 -5 -1.3%
Excl. CPU (microsec)469 428 -41 -8.7%
Incl. MemUse (bytes)1,247,000 1,247,000 0 0.0%
Incl. MemUse (bytes) per call 29,690 29,690 0 0.0%
Excl. MemUse (bytes)-12,936 -12,936 0 0.0%
Incl. PeakMemUse (bytes)1,249,496 1,249,496 0 0.0%
Incl. PeakMemUse (bytes) per call 29,750 29,750 0 0.0%
Excl. PeakMemUse (bytes)2,792 2,792 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% -268 -6.8% -226 -2.9% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-6 -2.2% -41 -18.1% 0 N/A% 0 N/A%
Parent functions
user_access0 N/A% -226 -84.3% -185 -81.9% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% -17 -6.3% -17 -7.5% 0 N/A% 0 N/A%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest0 N/A% -17 -6.3% -16 -7.1% 0 N/A% 0 N/A%
shortcut_set_switch_access0 N/A% -12 -4.5% -12 -5.3% 0 N/A% 0 N/A%
contextual_page_build0 N/A% -6 -2.2% -7 -3.1% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 5 1.9% 5 2.2% 0 N/A% 0 N/A%
tour_toolbar0 N/A% 4 1.5% 4 1.8% 0 N/A% 0 N/A%
contextual_toolbar0 N/A% 1 0.4% 2 0.9% 0 N/A% 0 N/A%
edit_page_build0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -181 -67.5% -59 -26.1% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -46 -17.2% -41 -18.1% 0 N/A% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -32 -11.9% -89 -39.4% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -6 -2.2% -1 -0.4% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 2 0.7% -1 -0.4% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 1 0.4% 6 2.7% 0 N/A% 0 N/A%