Diff Report
Run #53d436500e2ac: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #53d4352fc0c61: 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 #53d436500e2acRun #53d4352fc0c61DiffDiff%
Number of Function Calls98 98 0 0.0%
Incl. Wall Time (microsec)25,614 25,373 -241 -0.9%
Incl. Wall Time (microsec) per call 261 259 -2 -0.9%
Excl. Wall Time (microsec)977 1,021 44 4.5%
Incl. CPU (microsecs)25,544 25,316 -228 -0.9%
Incl. CPU (microsecs) per call 261 258 -2 -0.9%
Excl. CPU (microsec)766 771 5 0.7%
Incl. MemUse (bytes)1,329,792 1,329,832 40 0.0%
Incl. MemUse (bytes) per call 13,569 13,570 0 0.0%
Excl. MemUse (bytes)2,192 2,192 0 0.0%
Incl. PeakMemUse (bytes)1,372,848 1,372,528 -320 -0.0%
Incl. PeakMemUse (bytes) per call 14,009 14,005 -3 -0.0%
Excl. PeakMemUse (bytes)2,208 2,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. 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% -241 -3.6% -228 -3.3% 40 0.1% -320 -0.8%
Exclusive Metrics Diff for Current Function44 18.3% 5 2.2% 0 0.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -241 -100.0% -228 -100.0% 40 100.0% -320 -100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% -146 -60.6% -118 -51.8% 56 140.0% -448 -140.0%
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -132 -54.8% -116 -50.9% -16 -40.0% 128 40.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -8 -3.3% -6 -2.6% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 1 0.4% 7 3.1% 0 0.0% 0 0.0%