Diff Report
Run #557c27da9db93: XHProf Run (Namespace=drupal-perf-lauriii)
vs.
Run #557c2635273b3: 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 #557c27da9db93Run #557c2635273b3DiffDiff%
Number of Function Calls78 78 0 0.0%
Incl. Wall Time (microsec)7,147 7,791 644 9.0%
Incl. Wall Time (microsec) per call 92 100 8 9.0%
Excl. Wall Time (microsec)473 478 5 1.1%
Incl. MemUse (bytes)1,152,400 1,152,448 48 0.0%
Incl. MemUse (bytes) per call 14,774 14,775 1 0.0%
Excl. MemUse (bytes)2,088 2,088 0 0.0%
Incl. PeakMemUse (bytes)1,189,440 1,190,352 912 0.1%
Incl. PeakMemUse (bytes) per call 15,249 15,261 12 0.1%
Excl. PeakMemUse (bytes)2,256 2,328 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::hasPermission0 N/A% 644 2.6% 48 0.0% 912 0.2%
Exclusive Metrics Diff for Current Function5 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%