Diff Report
Run #54e141c217b7e: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #54e146d617a96: 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 #54e141c217b7eRun #54e146d617a96DiffDiff%
Number of Function Calls162 162 0 0.0%
Incl. Wall Time (microsec)10,813 11,087 274 2.5%
Incl. Wall Time (microsec) per call 67 68 2 2.5%
Excl. Wall Time (microsec)1,018 1,061 43 4.2%
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% 274 0.4% -16 -0.0% 480 0.0%
Exclusive Metrics Diff for Current Function43 15.7% 0 0.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 274 100.0% -16 -100.0% 480 100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% 128 46.7% 16 100.0% 472 98.3%
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% 103 37.6% -32 -200.0% 8 1.7%
Drupal\Core\Session\UserSession::id0 N/A% 1 0.4% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -1 -0.4% 0 0.0% 0 0.0%