Diff Report
Run #550de0f0bfc62: XHProf Run (Namespace=drupal-perf-davidhernandez)
vs.
Run #550de0b43acdf: XHProf Run (Namespace=drupal-perf-davidhernandez)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\Core\Session\UserSession::hasPermission

Drupal\Core\Session\UserSession::hasPermissionRun #550de0f0bfc62Run #550de0b43acdfDiffDiff%
Number of Function Calls47 47 0 0.0%
Incl. Wall Time (microsec)7,389 7,278 -111 -1.5%
Incl. Wall Time (microsec) per call 157 155 -2 -1.5%
Excl. Wall Time (microsec)351 353 2 0.6%
Incl. MemUse (bytes)1,078,072 1,078,072 0 0.0%
Incl. MemUse (bytes) per call 22,938 22,938 0 0.0%
Excl. MemUse (bytes)1,936 1,936 0 0.0%
Incl. PeakMemUse (bytes)1,112,704 1,112,704 0 0.0%
Incl. PeakMemUse (bytes) per call 23,675 23,675 0 0.0%
Excl. PeakMemUse (bytes)2,192 2,192 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% -111 -21.1% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function2 1.8% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -111 -100.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% -111 -100.0% 0 N/A% 0 N/A%
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -7 -6.3% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 6 5.4% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -1 -0.9% 0 N/A% 0 N/A%