Diff Report
Run #530ad2358a7c5: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #530ad1a439784: 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 #530ad2358a7c5Run #530ad1a439784DiffDiff%
Number of Function Calls30 30 0 0.0%
Incl. Wall Time (microsec)8,435 8,546 111 1.3%
Incl. Wall Time (microsec) per call 281 285 4 1.3%
Excl. Wall Time (microsec)503 525 22 4.4%
Incl. CPU (microsecs)8,438 8,538 100 1.2%
Incl. CPU (microsecs) per call 281 285 3 1.2%
Excl. CPU (microsec)366 361 -5 -1.4%
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,280 160,208 -72 -0.0%
Incl. PeakMemUse (bytes) per call 5,343 5,340 -2 -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% 111 15.4% 100 41.3% 0 0.0% -72 -0.2%
Exclusive Metrics Diff for Current Function22 19.8% -5 -5.0% 0 N/A% 0 0.0%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 37 33.3% 27 27.0% 0 N/A% 0 0.0%
tour_toolbar0 N/A% 37 33.3% 35 35.0% 0 N/A% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 25 22.5% 26 26.0% 0 N/A% 0 0.0%
contextual_page_build0 N/A% 25 22.5% 25 25.0% 0 N/A% 0 0.0%
tour_preprocess_page0 N/A% -16 -14.4% -16 -16.0% 0 N/A% 0 0.0%
user_template_preprocess_default_variables_alter0 N/A% -14 -12.6% -13 -13.0% 0 N/A% 32 44.4%
shortcut_set_edit_access0 N/A% -14 -12.6% -15 -15.0% 0 N/A% 0 0.0%
Drupal\Core\Entity\EntityAccessController::checkAccess0 N/A% 13 11.7% 15 15.0% 0 N/A% 0 0.0%
edit_page_build0 N/A% 7 6.3% 7 7.0% 0 N/A% 0 0.0%
contextual_toolbar0 N/A% 7 6.3% 7 7.0% 0 N/A% 0 0.0%
Drupal\views\ViewsAccessCheck::access0 N/A% 5 4.5% 3 3.0% 0 N/A% 0 0.0%
shortcut_set_switch_access0 N/A% -1 -0.9% -2 -2.0% 0 N/A% 0 0.0%
user_access0 N/A% 0 0.0% 1 1.0% 0 N/A% -104 -144.4%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 94 84.7% 98 98.0% 0 N/A% -72 -100.0%
Drupal::entityManager0 N/A% 13 11.7% 8 8.0% 0 N/A% 0 0.0%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -12 -10.8% -5 -5.0% 0 N/A% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% -6 -5.4% -1 -1.0% 0 N/A% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 1 0.9% 0 0.0% 0 N/A% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -1 -0.9% 5 5.0% 0 N/A% 0 0.0%