Diff Report
Run #560831fb3d4d9: 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 #560831fb3d4d9Run #5608311397db4DiffDiff%
Number of Function Calls110 110 0 0.0%
Incl. Wall Time (microsec)10,163 10,080 -83 -0.8%
Incl. Wall Time (microsec) per call 92 92 -1 -0.8%
Excl. Wall Time (microsec)644 630 -14 -2.2%
Incl. MemUse (bytes)1,226,832 1,226,800 -32 -0.0%
Incl. MemUse (bytes) per call 11,153 11,153 -0 -0.0%
Excl. MemUse (bytes)2,088 2,088 0 0.0%
Incl. PeakMemUse (bytes)1,398,816 1,398,928 112 0.0%
Incl. PeakMemUse (bytes) per call 12,717 12,718 1 0.0%
Excl. PeakMemUse (bytes)1,208 1,208 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% -83 -0.2% -32 -0.2% 112 0.5%
Exclusive Metrics Diff for Current Function-14 -16.9% 0 0.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -83 -100.0% -32 -100.0% 112 100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -148 -178.3% 0 0.0% 8 7.1%
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% 79 95.2% -32 -100.0% 104 92.9%
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%