Diff Report
Run #54dec59a01be2: XHProf Run (Namespace=drupal-perf-davidhernandez)
vs.
Run #54dec697a5762: 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 #54dec697a5762DiffDiff%
Number of Function Calls25 25 0 0.0%
Incl. Wall Time (microsec)6,265 6,345 80 1.3%
Incl. Wall Time (microsec) per call 251 254 3 1.3%
Excl. Wall Time (microsec)191 193 2 1.0%
Incl. MemUse (bytes)1,039,808 1,039,808 0 0.0%
Incl. MemUse (bytes) per call 41,592 41,592 0 0.0%
Excl. MemUse (bytes)1,936 1,936 0 0.0%
Incl. PeakMemUse (bytes)840,592 840,592 0 0.0%
Incl. PeakMemUse (bytes) per call 33,624 33,624 0 0.0%
Excl. PeakMemUse (bytes)1,536 1,536 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% 80 3.2% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function2 2.5% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 80 100.0% 0 N/A% 0 N/A%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% 40 50.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% 37 46.2% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 1 1.2% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 0 N/A% 0 N/A%