Diff Report
Run #52353d82849e7: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #52353e715a325: 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 #52353e715a325DiffDiff%
Number of Function Calls45 45 0 0.0%
Incl. Wall Time (microsec)27,209 26,339 -870 -3.2%
Incl. Wall Time (microsec) per call 605 585 -19 -3.2%
Excl. Wall Time (microsec)975 973 -2 -0.2%
Incl. CPU (microsecs)26,481 25,652 -829 -3.1%
Incl. CPU (microsecs) per call 588 570 -18 -3.1%
Excl. CPU (microsec)723 718 -5 -0.7%
Incl. MemUse (bytes)1,331,736 1,331,648 -88 -0.0%
Incl. MemUse (bytes) per call 29,594 29,592 -2 -0.0%
Excl. MemUse (bytes)-13,696 -13,696 0 0.0%
Incl. PeakMemUse (bytes)1,347,720 1,347,272 -448 -0.0%
Incl. PeakMemUse (bytes) per call 29,949 29,939 -10 -0.0%
Excl. PeakMemUse (bytes)3,104 3,016 -88 -2.8%

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% -870 -13.3% -829 -13.8% -88 -0.1% -448 -0.4%
Exclusive Metrics Diff for Current Function-2 -0.2% -5 -0.6% 0 0.0% -88 -19.6%
Parent functions
shortcut_set_switch_access0 N/A% -230 -26.4% -232 -28.0% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% -206 -23.7% -207 -25.0% 0 0.0% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest0 N/A% -200 -23.0% -201 -24.2% 0 0.0% 0 0.0%
user_access0 N/A% -189 -21.7% -145 -17.5% -88 -100.0% -448 -100.0%
tour_toolbar0 N/A% -55 -6.3% -55 -6.6% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% -41 -4.7% -42 -5.1% 0 0.0% 0 0.0%
contextual_page_build0 N/A% 38 4.4% 39 4.7% 0 0.0% 0 0.0%
edit_page_build0 N/A% 22 2.5% 24 2.9% 0 0.0% 0 0.0%
search_is_active0 N/A% -13 -1.5% -13 -1.6% 0 0.0% 0 0.0%
contextual_toolbar0 N/A% 4 0.5% 3 0.4% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -599 -68.9% -563 -67.9% -48 -54.5% -176 -39.3%
Drupal::entityManager0 N/A% -181 -20.8% -185 -22.3% -96 -109.1% -96 -21.4%
Drupal\user\Entity\Role::hasPermission0 N/A% -37 -4.3% -39 -4.7% 0 0.0% 0 0.0%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -33 -3.8% -24 -2.9% 56 63.6% -88 -19.6%
Drupal\Core\Session\UserSession::getRoles0 N/A% -11 -1.3% -9 -1.1% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% -7 -0.8% -4 -0.5% 0 0.0% 0 0.0%