Diff Report
Run #54f295e72ec52: XHProf Run (Namespace=drupal-perf-davidhernandez)
vs.
Run #54f29712d4f96: 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 #54f295e72ec52Run #54f29712d4f96DiffDiff%
Number of Function Calls44 44 0 0.0%
Incl. Wall Time (microsec)7,648 7,783 135 1.8%
Incl. Wall Time (microsec) per call 174 177 3 1.8%
Excl. Wall Time (microsec)338 332 -6 -1.8%
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% 135 0.1% 0 0.0% 0 0.0%
Exclusive Metrics Diff for Current Function-6 -4.4% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 135 100.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% 125 92.6% 0 N/A% 0 N/A%
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% 32 23.7% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -16 -11.9% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 0 N/A% 0 N/A%