Diff Report
Run #54e0a6d45fe2a: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #54e0a7d2151b1: 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 #54e0a6d45fe2aRun #54e0a7d2151b1DiffDiff%
Number of Function Calls84 84 0 0.0%
Incl. Wall Time (microsec)13,230 13,287 57 0.4%
Incl. Wall Time (microsec) per call 158 158 1 0.4%
Excl. Wall Time (microsec)700 683 -17 -2.4%
Incl. CPU (microsecs)12,767 12,829 62 0.5%
Incl. CPU (microsecs) per call 152 153 1 0.5%
Excl. CPU (microsec)467 447 -20 -4.3%
Incl. MemUse (bytes)1,593,904 1,593,832 -72 -0.0%
Incl. MemUse (bytes) per call 18,975 18,974 -1 -0.0%
Excl. MemUse (bytes)2,080 2,080 0 0.0%
Incl. PeakMemUse (bytes)1,626,608 1,626,568 -40 -0.0%
Incl. PeakMemUse (bytes) per call 19,364 19,364 -0 -0.0%
Excl. PeakMemUse (bytes)2,056 2,056 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% 57 7.7% 62 17.0% -72 -0.7% -40 -0.4%
Exclusive Metrics Diff for Current Function-17 -29.8% -20 -32.3% 0 0.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 57 100.0% 62 100.0% -72 -100.0% -40 -100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% 99 173.7% 95 153.2% -72 -100.0% 64 160.0%
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -32 -56.1% -18 -29.0% 0 0.0% -104 -260.0%
Drupal\Core\Session\UserSession::id0 N/A% 11 19.3% -1 -1.6% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -4 -7.0% 6 9.7% 0 0.0% 0 0.0%