Diff Report
Run #54df9298c351d: XHProf Run (Namespace=drupal-perf-davidhernandez)
vs.
Run #54df8d322535a: 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 #54df9298c351dRun #54df8d322535aDiffDiff%
Number of Function Calls42 42 0 0.0%
Incl. Wall Time (microsec)15,290 15,403 113 0.7%
Incl. Wall Time (microsec) per call 364 367 3 0.7%
Excl. Wall Time (microsec)317 310 -7 -2.2%
Incl. MemUse (bytes)1,572,648 1,572,472 -176 -0.0%
Incl. MemUse (bytes) per call 37,444 37,440 -4 -0.0%
Excl. MemUse (bytes)1,936 1,936 0 0.0%
Incl. PeakMemUse (bytes)1,402,400 1,402,208 -192 -0.0%
Incl. PeakMemUse (bytes) per call 33,390 33,386 -5 -0.0%
Excl. PeakMemUse (bytes)1,472 1,472 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% 113 0.4% -176 -0.8% -192 -0.9%
Exclusive Metrics Diff for Current Function-7 -6.2% 0 0.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 113 100.0% -176 -100.0% -192 -100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% 104 92.0% -176 -100.0% -224 -116.7%
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% 10 8.8% 0 0.0% 32 16.7%
Drupal\Core\Session\UserSession::getRoles0 N/A% 7 6.2% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% -1 -0.9% 0 0.0% 0 0.0%