Diff Report
Run #530ef14e56c65: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #530ef2275628d: 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 #530ef14e56c65Run #530ef2275628dDiffDiff%
Number of Function Calls29 29 0 0.0%
Incl. Wall Time (microsec)8,243 8,210 -33 -0.4%
Incl. Wall Time (microsec) per call 284 283 -1 -0.4%
Excl. Wall Time (microsec)482 493 11 2.3%
Incl. CPU (microsecs)8,204 8,176 -28 -0.3%
Incl. CPU (microsecs) per call 283 282 -1 -0.3%
Excl. CPU (microsec)341 331 -10 -2.9%
Incl. MemUse (bytes)171,008 171,040 32 0.0%
Incl. MemUse (bytes) per call 5,897 5,898 1 0.0%
Excl. MemUse (bytes)-1,856 -1,856 0 0.0%
Incl. PeakMemUse (bytes)190,776 190,832 56 0.0%
Incl. PeakMemUse (bytes) per call 6,578 6,580 2 0.0%
Excl. PeakMemUse (bytes)1,304 1,304 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% -33 -0.5% -28 -0.4% 32 0.1% 56 0.2%
Exclusive Metrics Diff for Current Function11 33.3% -10 -35.7% 0 0.0% 0 0.0%
Parent functions
user_template_preprocess_default_variables_alter0 N/A% -90 -272.7% -88 -314.3% 0 0.0% 0 0.0%
Drupal\field_ui\Access\FormModeAccessCheck::access0 N/A% 46 139.4% 46 164.3% 32 100.0% 96 171.4%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 41 124.2% 41 146.4% 0 0.0% 0 0.0%
contextual_page_build0 N/A% -40 -121.2% -40 -142.9% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% 36 109.1% 38 135.7% 0 0.0% 0 0.0%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -32 -97.0% -34 -121.4% 0 0.0% 0 0.0%
shortcut_set_switch_access0 N/A% -17 -51.5% -18 -64.3% 0 0.0% 0 0.0%
Drupal\views\ViewsAccessCheck::access0 N/A% -14 -42.4% -11 -39.3% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% 11 33.3% 11 39.3% 0 0.0% 0 0.0%
edit_page_build0 N/A% 11 33.3% 11 39.3% 0 0.0% 0 0.0%
contextual_toolbar0 N/A% 7 21.2% 8 28.6% 0 0.0% 0 0.0%
user_access0 N/A% 7 21.2% 7 25.0% 0 0.0% -40 -71.4%
Drupal\field_ui\Access\ViewModeAccessCheck::access0 N/A% 6 18.2% 6 21.4% 0 0.0% 0 0.0%
tour_toolbar0 N/A% -5 -15.2% -5 -17.9% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -52 -157.6% -49 -175.0% 0 0.0% -40 -71.4%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 22 66.7% 23 82.1% 32 100.0% 48 85.7%
Drupal\Core\Session\UserSession::id0 N/A% -9 -27.3% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -6 -18.2% 3 10.7% 0 0.0% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% 3 9.1% 4 14.3% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% -2 -6.1% 1 3.6% 0 0.0% 48 85.7%