Diff Report
Run #523f527beec76: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #523f531e517da: 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 #523f531e517daDiffDiff%
Number of Function Calls42 42 0 0.0%
Incl. Wall Time (microsec)17,549 17,433 -116 -0.7%
Incl. Wall Time (microsec) per call 418 415 -3 -0.7%
Excl. Wall Time (microsec)658 659 1 0.2%
Incl. CPU (microsecs)16,854 16,750 -104 -0.6%
Incl. CPU (microsecs) per call 401 399 -2 -0.6%
Excl. CPU (microsec)469 451 -18 -3.8%
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,920 16 0.1%
Incl. PeakMemUse (bytes)1,249,496 1,252,336 2,840 0.2%
Incl. PeakMemUse (bytes) per call 29,750 29,818 68 0.2%
Excl. PeakMemUse (bytes)2,792 2,880 88 3.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% -116 -2.9% -104 -1.5% 0 0.0% 2,840 10.8%
Exclusive Metrics Diff for Current Function1 0.9% -18 -17.3% 16 N/A% 88 3.1%
Parent functions
user_access0 N/A% -105 -90.5% -94 -90.4% 0 N/A% 2,840 100.0%
shortcut_set_edit_access0 N/A% -21 -18.1% -21 -20.2% 0 N/A% 0 0.0%
contextual_toolbar0 N/A% 19 16.4% 21 20.2% 0 N/A% 0 0.0%
tour_toolbar0 N/A% -8 -6.9% -9 -8.7% 0 N/A% 0 0.0%
shortcut_set_switch_access0 N/A% -4 -3.4% -5 -4.8% 0 N/A% 0 0.0%
contextual_page_build0 N/A% 3 2.6% 4 3.8% 0 N/A% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest0 N/A% 2 1.7% 1 1.0% 0 N/A% 0 0.0%
edit_page_build0 N/A% -1 -0.9% -1 -1.0% 0 N/A% 0 0.0%
tour_preprocess_page0 N/A% -1 -0.9% 0 0.0% 0 N/A% 0 0.0%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -83 -71.6% 34 32.7% 0 N/A% 0 0.0%
Drupal::entityManager0 N/A% -67 -57.8% -69 -66.3% 0 N/A% 72 2.5%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 45 38.8% -44 -42.3% -16 N/A% 2,680 94.4%
Drupal\Core\Session\UserSession::id0 N/A% -10 -8.6% -9 -8.7% 0 N/A% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% -1 -0.9% 6 5.8% 0 N/A% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -1 -0.9% -4 -3.8% 0 N/A% 0 0.0%