Diff Report
Run #53d4352fc0c61: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #53d436500e2ac: 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 #53d4352fc0c61Run #53d436500e2acDiffDiff%
Number of Function Calls98 98 0 0.0%
Incl. Wall Time (microsec)25,373 25,614 241 0.9%
Incl. Wall Time (microsec) per call 259 261 2 0.9%
Excl. Wall Time (microsec)1,021 977 -44 -4.3%
Incl. CPU (microsecs)25,316 25,544 228 0.9%
Incl. CPU (microsecs) per call 258 261 2 0.9%
Excl. CPU (microsec)771 766 -5 -0.6%
Incl. MemUse (bytes)1,329,832 1,329,792 -40 -0.0%
Incl. MemUse (bytes) per call 13,570 13,569 -0 -0.0%
Excl. MemUse (bytes)2,192 2,192 0 0.0%
Incl. PeakMemUse (bytes)1,372,528 1,372,848 320 0.0%
Incl. PeakMemUse (bytes) per call 14,005 14,009 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 Function-44 -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%