Diff Report
Run #541de429e5ab1: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #541de5cbd937a: 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 #541de429e5ab1Run #541de5cbd937aDiffDiff%
Number of Function Calls131 131 0 0.0%
Incl. Wall Time (microsec)20,852 20,721 -131 -0.6%
Incl. Wall Time (microsec) per call 159 158 -1 -0.6%
Excl. Wall Time (microsec)1,301 1,281 -20 -1.5%
Incl. CPU (microsecs)20,474 20,354 -120 -0.6%
Incl. CPU (microsecs) per call 156 155 -1 -0.6%
Excl. CPU (microsec)958 951 -7 -0.7%
Incl. MemUse (bytes)1,494,776 1,494,688 -88 -0.0%
Incl. MemUse (bytes) per call 11,411 11,410 -1 -0.0%
Excl. MemUse (bytes)2,080 2,080 0 0.0%
Incl. PeakMemUse (bytes)1,516,984 1,516,952 -32 -0.0%
Incl. PeakMemUse (bytes) per call 11,580 11,580 -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% -131 -1.4% -120 -1.5% -88 -0.1% -32 -0.0%
Exclusive Metrics Diff for Current Function-20 -15.3% -7 -5.8% 0 0.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -131 -100.0% -120 -100.0% -88 -100.0% -32 -100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -137 -104.6% -137 -114.2% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% 51 38.9% 46 38.3% -88 -100.0% -32 -100.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -15 -11.5% -11 -9.2% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% -10 -7.6% -11 -9.2% 0 0.0% 0 0.0%