Diff Report
Run #560d7dac0c098: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #560d810c7abba: 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 #560d7dac0c098Run #560d810c7abbaDiffDiff%
Number of Function Calls131 131 0 0.0%
Incl. Wall Time (microsec)6,222 5,686 -536 -8.6%
Incl. Wall Time (microsec) per call 47 43 -4 -8.6%
Excl. Wall Time (microsec)632 568 -64 -10.1%
Incl. MemUse (bytes)177,200 177,200 0 0.0%
Incl. MemUse (bytes) per call 1,353 1,353 0 0.0%
Excl. MemUse (bytes)2,056 2,056 0 0.0%
Incl. PeakMemUse (bytes)169,128 169,128 0 0.0%
Incl. PeakMemUse (bytes) per call 1,291 1,291 0 0.0%
Excl. PeakMemUse (bytes)656 656 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.
MemUse
Diff
(bytes)
IMemUse
Diff%
Incl.
PeakMemUse
Diff
(bytes)
IPeakMemUse
Diff%
Current Function
Drupal\Core\Session\UserSession::hasPermission0 N/A% -536 -34.2% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-64 -11.9% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -536 -100.0% 0 N/A% 0 N/A%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -370 -69.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% -101 -18.8% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -1 -0.2% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 0 N/A% 0 N/A%