Diff Report
Run #544333b05173f: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #544337f542f97: 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 #544333b05173fRun #544337f542f97DiffDiff%
Number of Function Calls656 656 0 0.0%
Incl. Wall Time (microsec)66,845 69,735 2,890 4.3%
Incl. Wall Time (microsec) per call 102 106 4 4.3%
Excl. Wall Time (microsec)6,943 7,048 105 1.5%
Incl. CPU (microsecs)66,961 69,928 2,967 4.4%
Incl. CPU (microsecs) per call 102 107 5 4.4%
Excl. CPU (microsec)5,258 5,297 39 0.7%
Incl. MemUse (bytes)1,423,968 1,424,208 240 0.0%
Incl. MemUse (bytes) per call 2,171 2,171 0 0.0%
Excl. MemUse (bytes)2,192 2,192 0 0.0%
Incl. PeakMemUse (bytes)1,415,592 1,415,968 376 0.0%
Incl. PeakMemUse (bytes) per call 2,158 2,158 1 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. 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% 2,890 85.8% 2,967 38.0% 240 0.2% 376 0.4%
Exclusive Metrics Diff for Current Function105 3.6% 39 1.3% 0 0.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 2,890 100.0% 2,967 100.0% 240 100.0% 376 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% 2,942 101.8% 2,939 99.1% 232 96.7% 264 70.2%
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -153 -5.3% -38 -1.3% 8 3.3% 112 29.8%
Drupal\Core\Session\UserSession::id0 N/A% -22 -0.8% -54 -1.8% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 18 0.6% 81 2.7% 0 0.0% 0 0.0%