Diff Report
Run #530ef19752730: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #530ef14e56c65: 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 #530ef19752730Run #530ef14e56c65DiffDiff%
Number of Function Calls29 29 0 0.0%
Incl. Wall Time (microsec)8,132 8,243 111 1.4%
Incl. Wall Time (microsec) per call 280 284 4 1.4%
Excl. Wall Time (microsec)481 482 1 0.2%
Incl. CPU (microsecs)8,098 8,204 106 1.3%
Incl. CPU (microsecs) per call 279 283 4 1.3%
Excl. CPU (microsec)347 341 -6 -1.7%
Incl. MemUse (bytes)171,008 171,008 0 0.0%
Incl. MemUse (bytes) per call 5,897 5,897 0 0.0%
Excl. MemUse (bytes)-1,856 -1,856 0 0.0%
Incl. PeakMemUse (bytes)190,776 190,776 0 0.0%
Incl. PeakMemUse (bytes) per call 6,578 6,578 0 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% 111 1.1% 106 1.2% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function1 0.9% -6 -5.7% 0 N/A% 0 N/A%
Parent functions
contextual_page_build0 N/A% 39 35.1% 38 35.8% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% 26 23.4% 32 30.2% 0 N/A% 0 N/A%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 15 13.5% 17 16.0% 0 N/A% 0 N/A%
tour_toolbar0 N/A% -12 -10.8% -12 -11.3% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 11 9.9% 11 10.4% 0 N/A% 0 N/A%
Drupal\field_ui\Access\ViewModeAccessCheck::access0 N/A% 9 8.1% 9 8.5% 0 N/A% 0 N/A%
Drupal\views\ViewsAccessCheck::access0 N/A% 7 6.3% 5 4.7% 0 N/A% 0 N/A%
user_access0 N/A% 5 4.5% 4 3.8% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 5 4.5% 4 3.8% 0 N/A% 0 N/A%
contextual_toolbar0 N/A% 3 2.7% 1 0.9% 0 N/A% 0 N/A%
edit_page_build0 N/A% 3 2.7% 2 1.9% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 1 0.9% -1 -0.9% 0 N/A% 0 N/A%
shortcut_set_switch_access0 N/A% -1 -0.9% -1 -0.9% 0 N/A% 0 N/A%
Drupal\field_ui\Access\FormModeAccessCheck::access0 N/A% 0 0.0% -3 -2.8% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 93 83.8% 98 92.5% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 6 5.4% -4 -3.8% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 5 4.5% 6 5.7% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 4 3.6% 1 0.9% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 2 1.8% 10 9.4% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 0 0.0% 1 0.9% 0 N/A% 0 N/A%