Diff Report
Run #54df8f50b2e01: XHProf Run (Namespace=drupal-perf-davidhernandez)
vs.
Run #54df8d322535a: 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 #54df8f50b2e01Run #54df8d322535aDiffDiff%
Number of Function Calls42 42 0 0.0%
Incl. Wall Time (microsec)15,299 15,403 104 0.7%
Incl. Wall Time (microsec) per call 364 367 2 0.7%
Excl. Wall Time (microsec)320 310 -10 -3.1%
Incl. MemUse (bytes)1,572,560 1,572,472 -88 -0.0%
Incl. MemUse (bytes) per call 37,442 37,440 -2 -0.0%
Excl. MemUse (bytes)1,936 1,936 0 0.0%
Incl. PeakMemUse (bytes)1,406,440 1,402,208 -4,232 -0.3%
Incl. PeakMemUse (bytes) per call 33,487 33,386 -101 -0.3%
Excl. PeakMemUse (bytes)1,616 1,472 -144 -8.9%

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 Function-10 -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%