Diff Report
Run #54df8d322535a: XHProf Run (Namespace=drupal-perf-davidhernandez)
vs.
Run #54df8f50b2e01: XHProf Run (Namespace=drupal-perf-davidhernandez)
Tip
Click a function name below to drill down.

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

Drupal\Core\Session\UserSession::hasPermissionRun #54df8d322535aRun #54df8f50b2e01DiffDiff%
Number of Function Calls42 42 0 0.0%
Incl. Wall Time (microsec)15,403 15,299 -104 -0.7%
Incl. Wall Time (microsec) per call 367 364 -2 -0.7%
Excl. Wall Time (microsec)310 320 10 3.2%
Incl. MemUse (bytes)1,572,472 1,572,560 88 0.0%
Incl. MemUse (bytes) per call 37,440 37,442 2 0.0%
Excl. MemUse (bytes)1,936 1,936 0 0.0%
Incl. PeakMemUse (bytes)1,402,208 1,406,440 4,232 0.3%
Incl. PeakMemUse (bytes) per call 33,386 33,487 101 0.3%
Excl. PeakMemUse (bytes)1,472 1,616 144 9.8%

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% -104 -1.6% 88 0.0% 4,232 0.1%
Exclusive Metrics Diff for Current Function10 9.6% 0 0.0% 144 3.4%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -104 -100.0% 88 100.0% 4,232 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% -93 -89.4% 88 100.0% 1,808 42.7%
Drupal\Core\Session\UserSession::getRoles0 N/A% -14 -13.5% 0 0.0% 0 0.0%
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -7 -6.7% 0 0.0% 2,280 53.9%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 0 0.0% 0 0.0%