Diff Report
Run #55a8732244c39: XHProf Run (Namespace=drupal-perf-lauriii)
vs.
Run #55a8735248325: 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 #55a8732244c39Run #55a8735248325DiffDiff%
Number of Function Calls15 11 -4 -26.7%
Incl. Wall Time (microsec)1,192 1,091 -101 -8.5%
Incl. Wall Time (microsec) per call 79 99 20 24.8%
Excl. Wall Time (microsec)66 54 -12 -18.2%
Incl. MemUse (bytes)285,072 284,888 -184 -0.1%
Incl. MemUse (bytes) per call 19,005 25,899 6,894 36.3%
Excl. MemUse (bytes)2,056 2,056 0 0.0%
Incl. PeakMemUse (bytes)289,568 287,304 -2,264 -0.8%
Incl. PeakMemUse (bytes) per call 19,305 26,119 6,814 35.3%
Excl. PeakMemUse (bytes)2,256 2,184 -72 -3.2%

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::hasPermission-4 -20.0% -101 -1.6% -184 -0.0% -2,264 -0.2%
Exclusive Metrics Diff for Current Function-12 -11.9% 0 0.0% -72 -3.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission-4 -100.0% -101 -100.0% -184 -100.0% -2,264 -100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles-4 -25.0% -73 -72.3% -200 -108.7% -1,904 -84.1%
Drupal\Core\Session\UserSession::getRoleStorage-4 -25.0% -16 -15.8% 16 8.7% -288 -12.7%
Drupal\Core\Session\UserSession::id-4 -25.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles-4 -25.0% 0 0.0% 0 0.0% 0 0.0%