Diff Report
Run #53ccf06f3ae60: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #53ccf1bb00d4b: 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 #53ccf06f3ae60Run #53ccf1bb00d4bDiffDiff%
Number of Function Calls192 192 0 0.0%
Incl. Wall Time (microsec)31,146 31,143 -3 -0.0%
Incl. Wall Time (microsec) per call 162 162 -0 -0.0%
Excl. Wall Time (microsec)1,521 1,470 -51 -3.4%
Incl. CPU (microsecs)30,834 30,806 -28 -0.1%
Incl. CPU (microsecs) per call 161 160 -0 -0.1%
Excl. CPU (microsec)1,018 984 -34 -3.3%
Incl. MemUse (bytes)1,334,080 1,334,120 40 0.0%
Incl. MemUse (bytes) per call 6,948 6,949 0 0.0%
Excl. MemUse (bytes)2,080 2,080 0 0.0%
Incl. PeakMemUse (bytes)1,355,136 1,354,480 -656 -0.0%
Incl. PeakMemUse (bytes) per call 7,058 7,055 -3 -0.0%
Excl. PeakMemUse (bytes)2,016 2,016 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% -3 -0.2% -28 -1.7% 40 0.6% -656 -6.1%
Exclusive Metrics Diff for Current Function-51 -1700.0% -34 -121.4% 0 0.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -3 -100.0% -28 -100.0% 40 100.0% -656 -100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% 58 1933.3% 39 139.3% 16 40.0% -280 -42.7%
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -36 -1200.0% -39 -139.3% 24 60.0% -376 -57.3%
Drupal\Core\Session\UserSession::getRoles0 N/A% 27 900.0% -5 -17.9% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% -1 -33.3% 11 39.3% 0 0.0% 0 0.0%