Diff Report
Run #52e96dacba2bc: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #52e96ef41921e: 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 #52e96dacba2bcRun #52e96ef41921eDiffDiff%
Number of Function Calls42 42 0 0.0%
Incl. Wall Time (microsec)15,173 15,669 496 3.3%
Incl. Wall Time (microsec) per call 361 373 12 3.3%
Excl. Wall Time (microsec)833 889 56 6.7%
Incl. CPU (microsecs)15,172 15,669 497 3.3%
Incl. CPU (microsecs) per call 361 373 12 3.3%
Excl. CPU (microsec)632 658 26 4.1%
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% 496 1.3% 497 1.3% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function56 11.3% 26 5.2% 0 N/A% 0 N/A%
Parent functions
Drupal\filter\FilterFormatAccessController::checkAccess0 N/A% 454 91.5% 454 91.3% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 121 24.4% 121 24.3% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 86 17.3% 87 17.5% 0 N/A% 0 N/A%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -83 -16.7% -83 -16.7% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% -60 -12.1% -61 -12.3% 0 N/A% 0 N/A%
path_form_node_form_alter0 N/A% -37 -7.5% -36 -7.2% 0 N/A% 0 N/A%
menu_form_node_form_alter0 N/A% 36 7.3% 35 7.0% 0 N/A% 0 N/A%
Drupal\views\ViewsAccessCheck::access0 N/A% -31 -6.2% -30 -6.0% 0 N/A% 0 N/A%
edit_page_build0 N/A% 16 3.2% 14 2.8% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% 13 2.6% 13 2.6% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% -12 -2.4% -11 -2.2% 0 N/A% 0 N/A%
contextual_toolbar0 N/A% -6 -1.2% -5 -1.0% 0 N/A% 0 N/A%
tour_toolbar0 N/A% -1 -0.2% -1 -0.2% 0 N/A% 0 N/A%
user_access0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 406 81.9% 413 83.1% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 51 10.3% 62 12.5% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -34 -6.9% -33 -6.6% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 17 3.4% 19 3.8% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 9 1.8% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 0 0.0% 1 0.2% 0 N/A% 0 N/A%