Diff Report
Run #5659123816918: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #5659177493c27: 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 #5659123816918Run #5659177493c27DiffDiff%
Number of Function Calls100 100 0 0.0%
Incl. Wall Time (microsec)15,608 15,378 -230 -1.5%
Incl. Wall Time (microsec) per call 156 154 -2 -1.5%
Excl. Wall Time (microsec)659 662 3 0.5%
Incl. MemUse (bytes)1,718,864 1,718,808 -56 -0.0%
Incl. MemUse (bytes) per call 17,189 17,188 -1 -0.0%
Excl. MemUse (bytes)19,248 19,272 24 0.1%
Incl. PeakMemUse (bytes)1,198,328 1,198,616 288 0.0%
Incl. PeakMemUse (bytes) per call 11,983 11,986 3 0.0%
Excl. PeakMemUse (bytes)1,856 1,856 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% -230 -2.6% -56 -0.3% 288 1.7%
Exclusive Metrics Diff for Current Function3 1.3% 24 42.9% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -230 -100.0% -56 -100.0% 288 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% -163 -70.9% -16 -28.6% -248 -86.1%
Drupal\webprofiler\Entity\EntityStorageDecorator::isPermissionInRoles0 N/A% -73 -31.7% -64 -114.3% 536 186.1%
Drupal\Core\Session\UserSession::getRoles0 N/A% 2 0.9% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 1 0.4% 0 0.0% 0 0.0%