Diff Report
Run #54811b6aec43d: XHProf Run (Namespace=drupal-perf-davidhernandez)
vs.
Run #54811e8abf892: 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 #54811b6aec43dRun #54811e8abf892DiffDiff%
Number of Function Calls244 244 0 0.0%
Incl. Wall Time (microsec)19,280 20,074 794 4.1%
Incl. Wall Time (microsec) per call 79 82 3 4.1%
Excl. Wall Time (microsec)1,979 1,978 -1 -0.1%
Incl. MemUse (bytes)944,344 944,296 -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)944,976 945,416 440 0.0%
Incl. PeakMemUse (bytes) per call 3,873 3,875 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 Function-1 -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%