Diff Report
Run #557c2635273b3: XHProf Run (Namespace=drupal-perf-lauriii)
vs.
Run #557c27da9db93: 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 #557c2635273b3Run #557c27da9db93DiffDiff%
Number of Function Calls78 78 0 0.0%
Incl. Wall Time (microsec)7,791 7,147 -644 -8.3%
Incl. Wall Time (microsec) per call 100 92 -8 -8.3%
Excl. Wall Time (microsec)478 473 -5 -1.0%
Incl. MemUse (bytes)1,152,448 1,152,400 -48 -0.0%
Incl. MemUse (bytes) per call 14,775 14,774 -1 -0.0%
Excl. MemUse (bytes)2,088 2,088 0 0.0%
Incl. PeakMemUse (bytes)1,190,352 1,189,440 -912 -0.1%
Incl. PeakMemUse (bytes) per call 15,261 15,249 -12 -0.1%
Excl. PeakMemUse (bytes)2,328 2,256 -72 -3.1%

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% -644 -2.6% -48 -0.0% -912 -0.2%
Exclusive Metrics Diff for Current Function-5 -0.8% 0 0.0% -72 -7.9%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -644 -100.0% -48 -100.0% -912 -100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% -337 -52.3% -16 -33.3% -312 -34.2%
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -282 -43.8% -32 -66.7% -528 -57.9%
Drupal\Core\Session\UserSession::id0 N/A% -14 -2.2% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -6 -0.9% 0 0.0% 0 0.0%