Diff Report
Run #55f2501d384a2: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #55f250cd3eb64: 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 #55f2501d384a2Run #55f250cd3eb64DiffDiff%
Number of Function Calls72 72 0 0.0%
Incl. Wall Time (microsec)10,343 8,901 -1,442 -13.9%
Incl. Wall Time (microsec) per call 144 124 -20 -13.9%
Excl. Wall Time (microsec)477 484 7 1.5%
Incl. MemUse (bytes)1,219,152 1,219,224 72 0.0%
Incl. MemUse (bytes) per call 16,933 16,934 1 0.0%
Excl. MemUse (bytes)2,088 2,088 0 0.0%
Incl. PeakMemUse (bytes)1,384,664 1,384,768 104 0.0%
Incl. PeakMemUse (bytes) per call 19,231 19,233 1 0.0%
Excl. PeakMemUse (bytes)1,208 1,208 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% -1,442 -4.3% 72 0.3% 104 0.5%
Exclusive Metrics Diff for Current Function7 0.5% 0 0.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -1,442 -100.0% 72 100.0% 104 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% -1,319 -91.5% 72 100.0% 104 100.0%
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -131 -9.1% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 1 0.1% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 0 0.0% 0 0.0%