Diff Report
Run #55a8735248325: XHProf Run (Namespace=drupal-perf-lauriii)
vs.
Run #55a8732244c39: XHProf Run (Namespace=drupal-perf-lauriii)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\Core\Session\UserSession::hasPermission

Drupal\Core\Session\UserSession::hasPermissionRun #55a8735248325Run #55a8732244c39DiffDiff%
Number of Function Calls11 15 4 36.4%
Incl. Wall Time (microsec)1,091 1,192 101 9.3%
Incl. Wall Time (microsec) per call 99 79 -20 -19.9%
Excl. Wall Time (microsec)54 66 12 22.2%
Incl. MemUse (bytes)284,888 285,072 184 0.1%
Incl. MemUse (bytes) per call 25,899 19,005 -6,894 -26.6%
Excl. MemUse (bytes)2,056 2,056 0 0.0%
Incl. PeakMemUse (bytes)287,304 289,568 2,264 0.8%
Incl. PeakMemUse (bytes) per call 26,119 19,305 -6,814 -26.1%
Excl. PeakMemUse (bytes)2,184 2,256 72 3.3%

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::hasPermission4 20.0% 101 1.6% 184 0.0% 2,264 0.2%
Exclusive Metrics Diff for Current Function12 11.9% 0 0.0% 72 3.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission4 100.0% 101 100.0% 184 100.0% 2,264 100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles4 25.0% 73 72.3% 200 108.7% 1,904 84.1%
Drupal\Core\Session\UserSession::getRoleStorage4 25.0% 16 15.8% -16 -8.7% 288 12.7%
Drupal\Core\Session\UserSession::id4 25.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles4 25.0% 0 0.0% 0 0.0% 0 0.0%