Diff Report
Run #565914310b034: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #5659123816918: 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 #565914310b034Run #5659123816918DiffDiff%
Number of Function Calls100 100 0 0.0%
Incl. Wall Time (microsec)15,496 15,608 112 0.7%
Incl. Wall Time (microsec) per call 155 156 1 0.7%
Excl. Wall Time (microsec)642 659 17 2.6%
Incl. MemUse (bytes)1,718,808 1,718,864 56 0.0%
Incl. MemUse (bytes) per call 17,188 17,189 1 0.0%
Excl. MemUse (bytes)19,264 19,248 -16 -0.1%
Incl. PeakMemUse (bytes)1,200,288 1,198,328 -1,960 -0.2%
Incl. PeakMemUse (bytes) per call 12,003 11,983 -20 -0.2%
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% 112 8.2% 56 2.7% -1,960 -74.5%
Exclusive Metrics Diff for Current Function17 15.2% -16 -28.6% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 112 100.0% 56 100.0% -1,960 -100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% 86 76.8% 0 0.0% 72 3.7%
Drupal\webprofiler\Entity\EntityStorageDecorator::isPermissionInRoles0 N/A% 10 8.9% 72 128.6% -2,032 -103.7%
Drupal\Core\Session\UserSession::id0 N/A% -1 -0.9% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 0 0.0% 0 0.0% 0 0.0%