Diff Report
Run #5422297e7f32f: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #542229efabc5e: XHProf Run (Namespace=drupal-perf-cottser)
Tip
Click a function name below to drill down.

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

Drupal\Core\Session\UserSession::hasPermissionRun #5422297e7f32fRun #542229efabc5eDiffDiff%
Number of Function Calls112 112 0 0.0%
Incl. Wall Time (microsec)14,097 14,113 16 0.1%
Incl. Wall Time (microsec) per call 126 126 0 0.1%
Excl. Wall Time (microsec)1,082 1,088 6 0.6%
Incl. CPU (microsecs)14,018 14,038 20 0.1%
Incl. CPU (microsecs) per call 125 125 0 0.1%
Excl. CPU (microsec)781 785 4 0.5%
Incl. MemUse (bytes)466,352 466,352 0 0.0%
Incl. MemUse (bytes) per call 4,164 4,164 0 0.0%
Excl. MemUse (bytes)2,080 2,080 0 0.0%
Incl. PeakMemUse (bytes)482,904 482,904 0 0.0%
Incl. PeakMemUse (bytes) per call 4,312 4,312 0 0.0%
Excl. PeakMemUse (bytes)1,912 1,912 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. CPU Diff
(microsec)
ICpu
Diff%
Incl.
MemUse
Diff
(bytes)
IMemUse
Diff%
Incl.
PeakMemUse
Diff
(bytes)
IPeakMemUse
Diff%
Current Function
Drupal\Core\Session\UserSession::hasPermission0 N/A% 16 3.3% 20 5.2% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function6 37.5% 4 20.0% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 16 100.0% 20 100.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% 34 212.5% 39 195.0% 0 N/A% 0 N/A%
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -23 -143.8% -18 -90.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -2 -12.5% -1 -5.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 1 6.2% -4 -20.0% 0 N/A% 0 N/A%