Diff Report
Run #53ccf1bb00d4b: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #53ccf06f3ae60: 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 #53ccf1bb00d4bRun #53ccf06f3ae60DiffDiff%
Number of Function Calls192 192 0 0.0%
Incl. Wall Time (microsec)31,143 31,146 3 0.0%
Incl. Wall Time (microsec) per call 162 162 0 0.0%
Excl. Wall Time (microsec)1,470 1,521 51 3.5%
Incl. CPU (microsecs)30,806 30,834 28 0.1%
Incl. CPU (microsecs) per call 160 161 0 0.1%
Excl. CPU (microsec)984 1,018 34 3.5%
Incl. MemUse (bytes)1,334,120 1,334,080 -40 -0.0%
Incl. MemUse (bytes) per call 6,949 6,948 -0 -0.0%
Excl. MemUse (bytes)2,080 2,080 0 0.0%
Incl. PeakMemUse (bytes)1,354,480 1,355,136 656 0.0%
Incl. PeakMemUse (bytes) per call 7,055 7,058 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 Function51 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%