Diff Report
Run #54dec09b09eb9: XHProf Run (Namespace=drupal-perf-davidhernandez)
vs.
Run #54dec21b63f84: 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 #54dec09b09eb9Run #54dec21b63f84DiffDiff%
Number of Function Calls25 25 0 0.0%
Incl. Wall Time (microsec)6,347 6,312 -35 -0.6%
Incl. Wall Time (microsec) per call 254 252 -1 -0.6%
Excl. Wall Time (microsec)191 190 -1 -0.5%
Incl. MemUse (bytes)1,039,808 1,039,792 -16 -0.0%
Incl. MemUse (bytes) per call 41,592 41,592 -1 -0.0%
Excl. MemUse (bytes)1,936 1,936 0 0.0%
Incl. PeakMemUse (bytes)840,592 840,720 128 0.0%
Incl. PeakMemUse (bytes) per call 33,624 33,629 5 0.0%
Excl. PeakMemUse (bytes)1,536 1,464 -72 -4.7%

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% -35 -0.0% -16 -0.0% 128 0.0%
Exclusive Metrics Diff for Current Function-1 -2.9% 0 0.0% -72 -56.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -35 -100.0% -16 -100.0% 128 100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -78 -222.9% 0 0.0% 48 37.5%
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% 41 117.1% -16 -100.0% 152 118.8%
Drupal\Core\Session\UserSession::getRoles0 N/A% 3 8.6% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 0 0.0% 0 0.0%