Diff Report
Run #54f283c5bb5f3: XHProf Run (Namespace=drupal-perf-davidhernandez)
vs.
Run #54f28d53cc42b: 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 #54f283c5bb5f3Run #54f28d53cc42bDiffDiff%
Number of Function Calls27 27 0 0.0%
Incl. Wall Time (microsec)10,678 9,769 -909 -8.5%
Incl. Wall Time (microsec) per call 395 362 -34 -8.5%
Excl. Wall Time (microsec)298 280 -18 -6.0%
Incl. MemUse (bytes)1,051,104 1,051,096 -8 -0.0%
Incl. MemUse (bytes) per call 38,930 38,929 -0 -0.0%
Excl. MemUse (bytes)1,936 1,936 0 0.0%
Incl. PeakMemUse (bytes)1,077,848 1,078,368 520 0.0%
Incl. PeakMemUse (bytes) per call 39,920 39,940 19 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% -909 -8.4% -8 -0.0% 520 0.3%
Exclusive Metrics Diff for Current Function-18 -2.0% 0 0.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -909 -100.0% -8 -100.0% 520 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% -598 -65.8% -8 -100.0% 520 100.0%
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -285 -31.4% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% -5 -0.6% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -3 -0.3% 0 0.0% 0 0.0%