Diff Report
Run #54811e8abf892: XHProf Run (Namespace=drupal-perf-davidhernandez)
vs.
Run #54811b6aec43d: XHProf Run (Namespace=drupal-perf-davidhernandez)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\Core\Session\UserSession::hasPermission

Drupal\Core\Session\UserSession::hasPermissionRun #54811e8abf892Run #54811b6aec43dDiffDiff%
Number of Function Calls244 244 0 0.0%
Incl. Wall Time (microsec)20,074 19,280 -794 -4.0%
Incl. Wall Time (microsec) per call 82 79 -3 -4.0%
Excl. Wall Time (microsec)1,978 1,979 1 0.1%
Incl. MemUse (bytes)944,296 944,344 48 0.0%
Incl. MemUse (bytes) per call 3,870 3,870 0 0.0%
Excl. MemUse (bytes)1,936 1,936 0 0.0%
Incl. PeakMemUse (bytes)945,416 944,976 -440 -0.0%
Incl. PeakMemUse (bytes) per call 3,875 3,873 -2 -0.0%
Excl. PeakMemUse (bytes)1,840 1,840 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% -794 -1.1% 48 0.1% -440 -0.6%
Exclusive Metrics Diff for Current Function1 0.1% 0 0.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -794 -100.0% 48 100.0% -440 -100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -601 -75.7% -32 -66.7% -368 -83.6%
Drupal\Core\Session\UserSession::getRoles0 N/A% -95 -12.0% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% -76 -9.6% 80 166.7% -72 -16.4%
Drupal\Core\Session\UserSession::id0 N/A% -23 -2.9% 0 0.0% 0 0.0%