Diff Report
Run #541de429e5ab1: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #541de55978b9a: 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 #541de55978b9aDiffDiff%
Number of Function Calls131 131 0 0.0%
Incl. Wall Time (microsec)20,852 20,701 -151 -0.7%
Incl. Wall Time (microsec) per call 159 158 -1 -0.7%
Excl. Wall Time (microsec)1,301 1,286 -15 -1.2%
Incl. CPU (microsecs)20,474 20,289 -185 -0.9%
Incl. CPU (microsecs) per call 156 155 -1 -0.9%
Excl. CPU (microsec)958 926 -32 -3.3%
Incl. MemUse (bytes)1,494,776 1,494,776 0 0.0%
Incl. MemUse (bytes) per call 11,411 11,411 0 0.0%
Excl. MemUse (bytes)2,080 2,080 0 0.0%
Incl. PeakMemUse (bytes)1,516,984 1,516,984 0 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% -151 -7.8% -185 -12.8% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-15 -9.9% -32 -17.3% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -151 -100.0% -185 -100.0% 0 N/A% 0 N/A%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -77 -51.0% -62 -33.5% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% -49 -32.5% -72 -38.9% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -6 -4.0% -11 -5.9% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -4 -2.6% -8 -4.3% 0 N/A% 0 N/A%