Diff Report
Run #54f29a0893b1f: XHProf Run (Namespace=drupal-perf-davidhernandez)
vs.
Run #54f29a910bf1c: 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 #54f29a0893b1fRun #54f29a910bf1cDiffDiff%
Number of Function Calls44 44 0 0.0%
Incl. Wall Time (microsec)7,580 7,609 29 0.4%
Incl. Wall Time (microsec) per call 172 173 1 0.4%
Excl. Wall Time (microsec)318 347 29 9.1%
Incl. MemUse (bytes)1,051,952 1,051,952 0 0.0%
Incl. MemUse (bytes) per call 23,908 23,908 0 0.0%
Excl. MemUse (bytes)1,936 1,936 0 0.0%
Incl. PeakMemUse (bytes)1,079,256 1,079,256 0 0.0%
Incl. PeakMemUse (bytes) per call 24,529 24,529 0 0.0%
Excl. PeakMemUse (bytes)2,056 2,056 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% 29 12.1% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function29 100.0% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 29 100.0% 0 N/A% 0 N/A%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% 14 48.3% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% -12 -41.4% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -2 -6.9% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 0 N/A% 0 N/A%