Diff Report
Run #55f235cac18ad: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #55f2365d0c6b8: XHProf Run (Namespace=drupal-perf-joelpittet)
Tip
Click a function name below to drill down.

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

Drupal\Core\Session\UserSession::hasPermissionRun #55f235cac18adRun #55f2365d0c6b8DiffDiff%
Number of Function Calls4 4 0 0.0%
Incl. Wall Time (microsec)11,074 10,993 -81 -0.7%
Incl. Wall Time (microsec) per call 2,769 2,748 -20 -0.7%
Excl. Wall Time (microsec)41 39 -2 -4.9%
Incl. MemUse (bytes)1,879,168 1,879,104 -64 -0.0%
Incl. MemUse (bytes) per call 469,792 469,776 -16 -0.0%
Excl. MemUse (bytes)2,088 2,088 0 0.0%
Incl. PeakMemUse (bytes)1,959,248 1,958,888 -360 -0.0%
Incl. PeakMemUse (bytes) per call 489,812 489,722 -90 -0.0%
Excl. PeakMemUse (bytes)992 992 0 0.0%

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% -81 -5.5% -64 -18.6% -360 -65.2%
Exclusive Metrics Diff for Current Function-2 -2.5% 0 0.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -81 -100.0% -64 -100.0% -360 -100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -46 -56.8% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% -33 -40.7% -64 -100.0% -360 -100.0%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 0 0.0% 0 0.0% 0 0.0%