Diff Report
Run #53195a48b6f09: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #53195bb0cc668: 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 #53195a48b6f09Run #53195bb0cc668DiffDiff%
Number of Function Calls105 105 0 0.0%
Incl. Wall Time (microsec)32,266 32,300 34 0.1%
Incl. Wall Time (microsec) per call 307 308 0 0.1%
Excl. Wall Time (microsec)1,517 1,519 2 0.1%
Incl. CPU (microsecs)32,204 32,197 -7 -0.0%
Incl. CPU (microsecs) per call 307 307 -0 -0.0%
Excl. CPU (microsec)1,068 1,056 -12 -1.1%
Incl. MemUse (bytes)1,434,744 1,434,688 -56 -0.0%
Incl. MemUse (bytes) per call 13,664 13,664 -1 -0.0%
Excl. MemUse (bytes)-43,608 -43,608 0 0.0%
Incl. PeakMemUse (bytes)1,433,936 1,433,784 -152 -0.0%
Incl. PeakMemUse (bytes) per call 13,657 13,655 -1 -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% 34 1.0% -7 -0.2% -56 -0.0% -152 -0.0%
Exclusive Metrics Diff for Current Function2 5.9% -12 -171.4% 0 0.0% 0 0.0%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 63 185.3% 15 214.3% -56 -100.0% -96 -63.2%
user_template_preprocess_default_variables_alter0 N/A% 37 108.8% 37 528.6% 0 0.0% -56 -36.8%
shortcut_set_edit_access0 N/A% -32 -94.1% -32 -457.1% 0 0.0% 0 0.0%
user_access0 N/A% -25 -73.5% -22 -314.3% 0 0.0% 0 0.0%
Drupal\views\ViewsAccessCheck::access0 N/A% 24 70.6% 26 371.4% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% 18 52.9% 18 257.1% 0 0.0% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -18 -52.9% -17 -242.9% 0 0.0% 0 0.0%
shortcut_set_switch_access0 N/A% -14 -41.2% -15 -214.3% 0 0.0% 0 0.0%
contextual_toolbar0 N/A% -14 -41.2% -14 -200.0% 0 0.0% 0 0.0%
edit_page_build0 N/A% -6 -17.6% -5 -71.4% 0 0.0% 0 0.0%
contextual_page_build0 N/A% 3 8.8% 3 42.9% 0 0.0% 0 0.0%
tour_toolbar0 N/A% -2 -5.9% -1 -14.3% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 65 191.2% 65 928.6% -80 -142.9% -120 -78.9%
Drupal::entityManager0 N/A% -22 -64.7% -27 -385.7% 0 0.0% 0 0.0%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -20 -58.8% -54 -771.4% 24 42.9% -32 -21.1%
Drupal\Core\Session\UserSession::getRoles0 N/A% -20 -58.8% 4 57.1% 0 0.0% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% 15 44.1% 1 14.3% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 14 41.2% 16 228.6% 0 0.0% 0 0.0%