Diff Report
Run #54e17147d69ca: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #54e177a08308d: 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 #54e17147d69caRun #54e177a08308dDiffDiff%
Number of Function Calls162 162 0 0.0%
Incl. Wall Time (microsec)11,631 11,493 -138 -1.2%
Incl. Wall Time (microsec) per call 72 71 -1 -1.2%
Excl. Wall Time (microsec)996 1,034 38 3.8%
Incl. MemUse (bytes)999,200 999,224 24 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,096 1,022,072 -24 -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% -138 -0.1% 24 0.1% -24 -0.1%
Exclusive Metrics Diff for Current Function38 27.5% 0 0.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -138 -100.0% 24 100.0% -24 -100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% -114 -82.6% 16 66.7% -24 -100.0%
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -78 -56.5% 8 33.3% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 17 12.3% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% -1 -0.7% 0 0.0% 0 0.0%