Diff Report
Run #52353d82849e7: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #52353dd1139c1: 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 #52353d82849e7Run #52353dd1139c1DiffDiff%
Number of Function Calls45 45 0 0.0%
Incl. Wall Time (microsec)27,209 26,868 -341 -1.3%
Incl. Wall Time (microsec) per call 605 597 -8 -1.3%
Excl. Wall Time (microsec)975 942 -33 -3.4%
Incl. CPU (microsecs)26,481 26,183 -298 -1.1%
Incl. CPU (microsecs) per call 588 582 -7 -1.1%
Excl. CPU (microsec)723 680 -43 -5.9%
Incl. MemUse (bytes)1,331,736 1,331,736 0 0.0%
Incl. MemUse (bytes) per call 29,594 29,594 0 0.0%
Excl. MemUse (bytes)-13,696 -13,696 0 0.0%
Incl. PeakMemUse (bytes)1,347,720 1,347,720 0 0.0%
Incl. PeakMemUse (bytes) per call 29,949 29,949 0 0.0%
Excl. PeakMemUse (bytes)3,104 3,104 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% -341 -1136.7% -298 -36.2% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-33 -9.7% -43 -14.4% 0 N/A% 0 N/A%
Parent functions
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest0 N/A% -292 -85.6% -292 -98.0% 0 N/A% 0 N/A%
user_access0 N/A% 271 79.5% 318 106.7% 0 N/A% 0 N/A%
shortcut_set_switch_access0 N/A% -264 -77.4% -267 -89.6% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% -227 -66.6% -229 -76.8% 0 N/A% 0 N/A%
search_is_active0 N/A% 164 48.1% 165 55.4% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% -11 -3.2% -11 -3.7% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 9 2.6% 9 3.0% 0 N/A% 0 N/A%
tour_toolbar0 N/A% 8 2.3% 7 2.3% 0 N/A% 0 N/A%
edit_page_build0 N/A% 1 0.3% 2 0.7% 0 N/A% 0 N/A%
contextual_toolbar0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%
Child functions
Drupal::entityManager0 N/A% -236 -69.2% -244 -81.9% 0 N/A% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -216 -63.3% -179 -60.1% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 189 55.4% 205 68.8% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -28 -8.2% -24 -8.1% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -14 -4.1% -8 -2.7% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -3 -0.9% -5 -1.7% 0 N/A% 0 N/A%