Diff Report
Run #5578e32524136: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #5578e29590a73: 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 #5578e32524136Run #5578e29590a73DiffDiff%
Number of Function Calls76 76 0 0.0%
Incl. Wall Time (microsec)7,258 7,419 161 2.2%
Incl. Wall Time (microsec) per call 96 98 2 2.2%
Excl. Wall Time (microsec)469 477 8 1.7%
Incl. MemUse (bytes)1,185,328 1,185,336 8 0.0%
Incl. MemUse (bytes) per call 15,596 15,597 0 0.0%
Excl. MemUse (bytes)2,088 2,088 0 0.0%
Incl. PeakMemUse (bytes)1,221,200 1,222,800 1,600 0.1%
Incl. PeakMemUse (bytes) per call 16,068 16,089 21 0.1%
Excl. PeakMemUse (bytes)2,184 2,184 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% 161 1.2% 8 0.0% 1,600 0.3%
Exclusive Metrics Diff for Current Function8 5.0% 0 0.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 161 100.0% 8 100.0% 1,600 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% 194 120.5% -8 -100.0% 16 1.0%
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -39 -24.2% 16 200.0% 1,584 99.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -1 -0.6% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% -1 -0.6% 0 0.0% 0 0.0%