Diff Report
Run #5608318a89619: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #5608311397db4: 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 #5608318a89619Run #5608311397db4DiffDiff%
Number of Function Calls110 110 0 0.0%
Incl. Wall Time (microsec)10,234 10,080 -154 -1.5%
Incl. Wall Time (microsec) per call 93 92 -1 -1.5%
Excl. Wall Time (microsec)647 630 -17 -2.6%
Incl. MemUse (bytes)1,226,768 1,226,800 32 0.0%
Incl. MemUse (bytes) per call 11,152 11,153 0 0.0%
Excl. MemUse (bytes)2,088 2,088 0 0.0%
Incl. PeakMemUse (bytes)1,398,520 1,398,928 408 0.0%
Incl. PeakMemUse (bytes) per call 12,714 12,718 4 0.0%
Excl. PeakMemUse (bytes)1,136 1,208 72 6.3%

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 Function-17 -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%