Diff Report
Run #54e141c217b7e: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #54e143f66b907: 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 #54e141c217b7eRun #54e143f66b907DiffDiff%
Number of Function Calls162 162 0 0.0%
Incl. Wall Time (microsec)10,813 10,931 118 1.1%
Incl. Wall Time (microsec) per call 67 67 1 1.1%
Excl. Wall Time (microsec)1,018 1,007 -11 -1.1%
Incl. MemUse (bytes)999,216 999,216 0 0.0%
Incl. MemUse (bytes) per call 6,168 6,168 0 0.0%
Excl. MemUse (bytes)2,024 2,024 0 0.0%
Incl. PeakMemUse (bytes)1,022,072 1,022,072 0 0.0%
Incl. PeakMemUse (bytes) per call 6,309 6,309 0 0.0%
Excl. PeakMemUse (bytes)2,088 2,088 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% 118 14.2% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-11 -9.3% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 118 100.0% 0 N/A% 0 N/A%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% 86 72.9% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 41 34.7% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% 2 1.7% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 0 N/A% 0 N/A%