Diff Report
Run #55f237e5dec64: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #55f23808ec628: 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 #55f237e5dec64Run #55f23808ec628DiffDiff%
Number of Function Calls4 4 0 0.0%
Incl. Wall Time (microsec)5,545 5,603 58 1.0%
Incl. Wall Time (microsec) per call 1,386 1,401 15 1.0%
Excl. Wall Time (microsec)35 32 -3 -8.6%
Incl. MemUse (bytes)1,215,952 1,215,952 0 0.0%
Incl. MemUse (bytes) per call 303,988 303,988 0 0.0%
Excl. MemUse (bytes)2,088 2,088 0 0.0%
Incl. PeakMemUse (bytes)1,368,232 1,368,232 0 0.0%
Incl. PeakMemUse (bytes) per call 342,058 342,058 0 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% 58 6.5% 0 0.0% 0 0.0%
Exclusive Metrics Diff for Current Function-3 -5.2% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 58 100.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% 48 82.8% 0 N/A% 0 N/A%
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% 13 22.4% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 0 0.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 0 N/A% 0 N/A%