Diff Report
Run #524042daedba9: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #5240420daae43: XHProf Run (Namespace=drupal-perf-cottser)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\Core\Session\UserSession::hasPermission

Drupal\Core\Session\UserSession::hasPermissionRun #524042daedba9Run #5240420daae43DiffDiff%
Number of Function Calls67 67 0 0.0%
Incl. Wall Time (microsec)23,816 23,604 -212 -0.9%
Incl. Wall Time (microsec) per call 355 352 -3 -0.9%
Excl. Wall Time (microsec)1,192 1,180 -12 -1.0%
Incl. CPU (microsecs)23,174 23,010 -164 -0.7%
Incl. CPU (microsecs) per call 346 343 -2 -0.7%
Excl. CPU (microsec)889 895 6 0.7%
Incl. MemUse (bytes)741,992 742,008 16 0.0%
Incl. MemUse (bytes) per call 11,075 11,075 0 0.0%
Excl. MemUse (bytes)-28,352 -28,352 0 0.0%
Incl. PeakMemUse (bytes)778,184 778,200 16 0.0%
Incl. PeakMemUse (bytes) per call 11,615 11,615 0 0.0%
Excl. PeakMemUse (bytes)3,384 3,384 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% -212 -2.1% -164 -1.7% 16 0.0% 16 0.0%
Exclusive Metrics Diff for Current Function-12 -5.7% 6 3.7% 0 0.0% 0 0.0%
Parent functions
user_access0 N/A% -198 -93.4% -149 -90.9% 16 100.0% 16 100.0%
edit_page_build0 N/A% -22 -10.4% -22 -13.4% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% 6 2.8% 5 3.0% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% 1 0.5% 1 0.6% 0 0.0% 0 0.0%
contextual_page_build0 N/A% 1 0.5% 1 0.6% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -132 -62.3% -98 -59.8% 0 0.0% 0 0.0%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -79 -37.3% -64 -39.0% 0 0.0% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% 11 5.2% -5 -3.0% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 6 2.8% 4 2.4% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% -4 -1.9% -12 -7.3% 16 100.0% 16 100.0%
Drupal\Core\Session\UserSession::id0 N/A% -2 -0.9% 5 3.0% 0 0.0% 0 0.0%