Diff Report
Run #52e97b490de91: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #52e97bda33da9: 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 #52e97b490de91Run #52e97bda33da9DiffDiff%
Number of Function Calls42 42 0 0.0%
Incl. Wall Time (microsec)14,200 14,546 346 2.4%
Incl. Wall Time (microsec) per call 338 346 8 2.4%
Excl. Wall Time (microsec)811 819 8 1.0%
Incl. CPU (microsecs)14,214 14,549 335 2.4%
Incl. CPU (microsecs) per call 338 346 8 2.4%
Excl. CPU (microsec)612 611 -1 -0.2%
Incl. MemUse (bytes)137,320 137,320 0 0.0%
Incl. MemUse (bytes) per call 3,270 3,270 0 0.0%
Excl. MemUse (bytes)-8,400 -8,400 0 0.0%
Incl. PeakMemUse (bytes)154,000 154,000 0 0.0%
Incl. PeakMemUse (bytes) per call 3,667 3,667 0 0.0%
Excl. PeakMemUse (bytes)1,904 1,904 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% 346 88.7% 335 22.4% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function8 2.3% -1 -0.3% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 192 55.5% 193 57.6% 0 N/A% 0 N/A%
Drupal\views\ViewsAccessCheck::access0 N/A% 102 29.5% 102 30.4% 0 N/A% 0 N/A%
Drupal\filter\FilterFormatAccessController::checkAccess0 N/A% -87 -25.1% -86 -25.7% 0 N/A% 0 N/A%
user_access0 N/A% 60 17.3% 50 14.9% 0 N/A% 0 N/A%
contextual_toolbar0 N/A% 38 11.0% 39 11.6% 0 N/A% 0 N/A%
path_form_node_form_alter0 N/A% 33 9.5% 35 10.4% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% -22 -6.4% -23 -6.9% 0 N/A% 0 N/A%
tour_toolbar0 N/A% 14 4.0% 13 3.9% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% 11 3.2% 11 3.3% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 10 2.9% 9 2.7% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 9 2.6% 8 2.4% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -6 -1.7% -7 -2.1% 0 N/A% 0 N/A%
menu_form_node_form_alter0 N/A% -6 -1.7% -7 -2.1% 0 N/A% 0 N/A%
edit_page_build0 N/A% -2 -0.6% -2 -0.6% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 260 75.1% 255 76.1% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 33 9.5% 30 9.0% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 26 7.5% 37 11.0% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 12 3.5% 0 0.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 4 1.2% 8 2.4% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 3 0.9% 6 1.8% 0 N/A% 0 N/A%