Diff Report
Run #53d4352fc0c61: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #53d435bff29d8: 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 #53d4352fc0c61Run #53d435bff29d8DiffDiff%
Number of Function Calls98 98 0 0.0%
Incl. Wall Time (microsec)25,373 25,697 324 1.3%
Incl. Wall Time (microsec) per call 259 262 3 1.3%
Excl. Wall Time (microsec)1,021 999 -22 -2.2%
Incl. CPU (microsecs)25,316 25,543 227 0.9%
Incl. CPU (microsecs) per call 258 261 2 0.9%
Excl. CPU (microsec)771 754 -17 -2.2%
Incl. MemUse (bytes)1,329,832 1,329,832 0 0.0%
Incl. MemUse (bytes) per call 13,570 13,570 0 0.0%
Excl. MemUse (bytes)2,192 2,192 0 0.0%
Incl. PeakMemUse (bytes)1,372,528 1,372,528 0 0.0%
Incl. PeakMemUse (bytes) per call 14,005 14,005 0 0.0%
Excl. PeakMemUse (bytes)2,208 2,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. CPU Diff
(microsec)
ICpu
Diff%
Incl.
MemUse
Diff
(bytes)
IMemUse
Diff%
Incl.
PeakMemUse
Diff
(bytes)
IPeakMemUse
Diff%
Current Function
Drupal\Core\Session\UserSession::hasPermission0 N/A% 324 12.2% 227 7.6% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-22 -6.8% -17 -7.5% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 324 100.0% 227 100.0% 0 N/A% 0 N/A%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% 242 74.7% 182 80.2% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% 113 34.9% 68 30.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -9 -2.8% 2 0.9% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% -8 -3.5% 0 N/A% 0 N/A%