Diff Report
Run #54811c7da26f8: 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 #54811c7da26f8Run #54811b6aec43dDiffDiff%
Number of Function Calls244 244 0 0.0%
Incl. Wall Time (microsec)19,160 19,280 120 0.6%
Incl. Wall Time (microsec) per call 79 79 0 0.6%
Excl. Wall Time (microsec)1,876 1,979 103 5.5%
Incl. MemUse (bytes)944,344 944,344 0 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)944,976 944,976 0 0.0%
Incl. PeakMemUse (bytes) per call 3,873 3,873 0 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% 120 8.3% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function103 85.8% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 120 100.0% 0 N/A% 0 N/A%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% 89 74.2% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -42 -35.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% -20 -16.7% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -10 -8.3% 0 N/A% 0 N/A%