Diff Report
Run #54e1529b7f3e4: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #54e157d33da83: 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 #54e1529b7f3e4Run #54e157d33da83DiffDiff%
Number of Function Calls162 162 0 0.0%
Incl. Wall Time (microsec)11,188 11,230 42 0.4%
Incl. Wall Time (microsec) per call 69 69 0 0.4%
Excl. Wall Time (microsec)1,076 1,085 9 0.8%
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,552 480 0.0%
Incl. PeakMemUse (bytes) per call 6,309 6,312 3 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% 42 0.0% -16 -0.0% 480 0.0%
Exclusive Metrics Diff for Current Function9 21.4% 0 0.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 42 100.0% -16 -100.0% 480 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% 33 78.6% -32 -200.0% 8 1.7%
Drupal\Core\Session\UserSession::getRoles0 N/A% 9 21.4% 0 0.0% 0 0.0%
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -6 -14.3% 16 100.0% 472 98.3%
Drupal\Core\Session\UserSession::id0 N/A% -3 -7.1% 0 0.0% 0 0.0%