Diff Report
Run #53195b6957e56: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #53195a48b6f09: 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 #53195b6957e56Run #53195a48b6f09DiffDiff%
Number of Function Calls105 105 0 0.0%
Incl. Wall Time (microsec)32,159 32,266 107 0.3%
Incl. Wall Time (microsec) per call 306 307 1 0.3%
Excl. Wall Time (microsec)1,510 1,517 7 0.5%
Incl. CPU (microsecs)32,080 32,204 124 0.4%
Incl. CPU (microsecs) per call 306 307 1 0.4%
Excl. CPU (microsec)1,039 1,068 29 2.8%
Incl. MemUse (bytes)1,434,744 1,434,744 0 0.0%
Incl. MemUse (bytes) per call 13,664 13,664 0 0.0%
Excl. MemUse (bytes)-43,608 -43,608 0 0.0%
Incl. PeakMemUse (bytes)1,433,936 1,433,936 0 0.0%
Incl. PeakMemUse (bytes) per call 13,657 13,657 0 0.0%
Excl. PeakMemUse (bytes)3,512 3,512 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% 107 4.7% 124 5.2% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function7 6.5% 29 23.4% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 85 79.4% 95 76.6% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 37 34.6% 38 30.6% 0 N/A% 0 N/A%
contextual_toolbar0 N/A% -16 -15.0% -16 -12.9% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% -10 -9.3% -9 -7.3% 0 N/A% 0 N/A%
edit_page_build0 N/A% 7 6.5% 7 5.6% 0 N/A% 0 N/A%
shortcut_set_switch_access0 N/A% 6 5.6% 7 5.6% 0 N/A% 0 N/A%
contextual_page_build0 N/A% -5 -4.7% -4 -3.2% 0 N/A% 0 N/A%
user_access0 N/A% -4 -3.7% -3 -2.4% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 3 2.8% 3 2.4% 0 N/A% 0 N/A%
Drupal\views\ViewsAccessCheck::access0 N/A% 3 2.8% 4 3.2% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% 1 0.9% 2 1.6% 0 N/A% 0 N/A%
tour_toolbar0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 97 90.7% 104 83.9% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 15 14.0% 6 4.8% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -9 -8.4% -14 -11.3% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -8 -7.5% -11 -8.9% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 3 2.8% 5 4.0% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 2 1.9% 5 4.0% 0 N/A% 0 N/A%