Diff Report
Run #530ad1a439784: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #530ad1ecad192: 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 #530ad1a439784Run #530ad1ecad192DiffDiff%
Number of Function Calls30 30 0 0.0%
Incl. Wall Time (microsec)8,546 8,423 -123 -1.4%
Incl. Wall Time (microsec) per call 285 281 -4 -1.4%
Excl. Wall Time (microsec)525 510 -15 -2.9%
Incl. CPU (microsecs)8,538 8,415 -123 -1.4%
Incl. CPU (microsecs) per call 285 281 -4 -1.4%
Excl. CPU (microsec)361 363 2 0.6%
Incl. MemUse (bytes)145,704 145,704 0 0.0%
Incl. MemUse (bytes) per call 4,857 4,857 0 0.0%
Excl. MemUse (bytes)-3,000 -3,000 0 0.0%
Incl. PeakMemUse (bytes)160,208 160,208 0 0.0%
Incl. PeakMemUse (bytes) per call 5,340 5,340 0 0.0%
Excl. PeakMemUse (bytes)2,336 2,336 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% -123 -7.3% -123 -8.4% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-15 -12.2% 2 1.6% 0 N/A% 0 N/A%
Parent functions
tour_toolbar0 N/A% -55 -44.7% -53 -43.1% 0 N/A% 0 N/A%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -27 -22.0% -26 -21.1% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -22 -17.9% -21 -17.1% 0 N/A% 0 N/A%
contextual_toolbar0 N/A% -21 -17.1% -22 -17.9% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 14 11.4% 14 11.4% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% 14 11.4% 13 10.6% 0 N/A% 0 N/A%
user_access0 N/A% -11 -8.9% -14 -11.4% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityAccessController::checkAccess0 N/A% -8 -6.5% -8 -6.5% 0 N/A% 0 N/A%
edit_page_build0 N/A% -4 -3.3% -4 -3.3% 0 N/A% 0 N/A%
contextual_page_build0 N/A% -2 -1.6% -2 -1.6% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 2 1.6% 1 0.8% 0 N/A% 0 N/A%
Drupal\views\ViewsAccessCheck::access0 N/A% -2 -1.6% 0 0.0% 0 N/A% 0 N/A%
shortcut_set_switch_access0 N/A% -1 -0.8% -1 -0.8% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -122 -99.2% -125 -101.6% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 24 19.5% 12 9.8% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -12 -9.8% -16 -13.0% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 2 1.6% 5 4.1% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -1 -0.8% 0 0.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 1 0.8% -1 -0.8% 0 N/A% 0 N/A%