Diff Report
Run #54dec59a01be2: XHProf Run (Namespace=drupal-perf-davidhernandez)
vs.
Run #54dec6fc087bf: 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 #54dec59a01be2Run #54dec6fc087bfDiffDiff%
Number of Function Calls25 25 0 0.0%
Incl. Wall Time (microsec)6,265 6,377 112 1.8%
Incl. Wall Time (microsec) per call 251 255 4 1.8%
Excl. Wall Time (microsec)191 196 5 2.6%
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,400 -192 -0.0%
Incl. PeakMemUse (bytes) per call 33,624 33,616 -8 -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% 112 0.2% -16 -0.0% -192 -0.0%
Exclusive Metrics Diff for Current Function5 4.5% 0 0.0% -72 -37.5%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 112 100.0% -16 -100.0% -192 -100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% 73 65.2% -16 -100.0% 72 37.5%
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% 33 29.5% 0 0.0% -192 -100.0%
Drupal\Core\Session\UserSession::id0 N/A% 2 1.8% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -1 -0.9% 0 0.0% 0 0.0%