Diff Report
Run #5608311397db4: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #5608318a89619: XHProf Run (Namespace=drupal-perf-joelpittet)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\Core\Session\UserSession::hasPermission

Drupal\Core\Session\UserSession::hasPermissionRun #5608311397db4Run #5608318a89619DiffDiff%
Number of Function Calls110 110 0 0.0%
Incl. Wall Time (microsec)10,080 10,234 154 1.5%
Incl. Wall Time (microsec) per call 92 93 1 1.5%
Excl. Wall Time (microsec)630 647 17 2.7%
Incl. MemUse (bytes)1,226,800 1,226,768 -32 -0.0%
Incl. MemUse (bytes) per call 11,153 11,152 -0 -0.0%
Excl. MemUse (bytes)2,088 2,088 0 0.0%
Incl. PeakMemUse (bytes)1,398,928 1,398,520 -408 -0.0%
Incl. PeakMemUse (bytes) per call 12,718 12,714 -4 -0.0%
Excl. PeakMemUse (bytes)1,208 1,136 -72 -6.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% 154 3.2% -32 -2.6% -408 -15.6%
Exclusive Metrics Diff for Current Function17 11.0% 0 0.0% -72 -17.6%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 154 100.0% -32 -100.0% -408 -100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% 187 121.4% 0 0.0% -8 -2.0%
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% -50 -32.5% -32 -100.0% -328 -80.4%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 0 0.0% 0 0.0% 0 0.0%