Diff Report
Run #52ed7448d018c: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #52ed72044139b: 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 #52ed7448d018cRun #52ed72044139bDiffDiff%
Number of Function Calls34 34 0 0.0%
Incl. Wall Time (microsec)21,971 25,289 3,318 15.1%
Incl. Wall Time (microsec) per call 646 744 98 15.1%
Excl. Wall Time (microsec)669 659 -10 -1.5%
Incl. CPU (microsecs)21,843 25,165 3,322 15.2%
Incl. CPU (microsecs) per call 642 740 98 15.2%
Excl. CPU (microsec)484 516 32 6.6%
Incl. MemUse (bytes)1,429,008 1,428,952 -56 -0.0%
Incl. MemUse (bytes) per call 42,030 42,028 -2 -0.0%
Excl. MemUse (bytes)-5,600 -5,600 0 0.0%
Incl. PeakMemUse (bytes)1,435,328 1,432,840 -2,488 -0.2%
Incl. PeakMemUse (bytes) per call 42,216 42,142 -73 -0.2%
Excl. PeakMemUse (bytes)2,776 2,728 -48 -1.7%

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% 3,318 6.5% 3,322 6.4% -56 -0.0% -2,488 -1.0%
Exclusive Metrics Diff for Current Function-10 -0.3% 32 1.0% 0 0.0% -48 -1.9%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 3,432 103.4% 3,434 103.4% -64 -114.3% 144 5.8%
user_template_preprocess_default_variables_alter0 N/A% -81 -2.4% -82 -2.5% 0 0.0% -2,632 -105.8%
user_access0 N/A% -45 -1.4% -45 -1.4% 0 0.0% 0 0.0%
Drupal\views\ViewsAccessCheck::access0 N/A% 36 1.1% 35 1.1% 0 0.0% 0 0.0%
contextual_page_build0 N/A% -23 -0.7% -24 -0.7% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% -17 -0.5% -17 -0.5% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% -14 -0.4% -14 -0.4% 8 14.3% 0 0.0%
edit_page_build0 N/A% 12 0.4% 14 0.4% 0 0.0% 0 0.0%
shortcut_set_switch_access0 N/A% 11 0.3% 11 0.3% 0 0.0% 0 0.0%
contextual_toolbar0 N/A% 11 0.3% 11 0.3% 0 0.0% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -2 -0.1% 0 0.0% 0 0.0% 0 0.0%
tour_toolbar0 N/A% -2 -0.1% -1 -0.0% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 2,878 86.7% 2,852 85.9% -24 -42.9% -2,024 -81.4%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 414 12.5% 426 12.8% -32 -57.1% 120 4.8%
Drupal::entityManager0 N/A% 20 0.6% 9 0.3% 0 0.0% -536 -21.5%
Drupal\user\Entity\Role::hasPermission0 N/A% 7 0.2% 10 0.3% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 7 0.2% 1 0.0% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 2 0.1% -8 -0.2% 0 0.0% 0 0.0%