Diff Report
Run #54e1a23013a4f: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #54e199664caef: 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 #54e1a23013a4fRun #54e199664caefDiffDiff%
Number of Function Calls162 162 0 0.0%
Incl. Wall Time (microsec)11,441 11,503 62 0.5%
Incl. Wall Time (microsec) per call 71 71 0 0.5%
Excl. Wall Time (microsec)1,011 986 -25 -2.5%
Incl. MemUse (bytes)999,216 999,200 -16 -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,104 32 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% 62 0.1% -16 -0.0% 32 0.0%
Exclusive Metrics Diff for Current Function-25 -40.3% 0 0.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 62 100.0% -16 -100.0% 32 100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% 109 175.8% 0 0.0% 8 25.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -13 -21.0% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% -7 -11.3% -16 -100.0% 24 75.0%
Drupal\Core\Session\UserSession::id0 N/A% -2 -3.2% 0 0.0% 0 0.0%