Diff Report
Run #550de112c2927: 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 #550de112c2927Run #550de0b43acdfDiffDiff%
Number of Function Calls47 47 0 0.0%
Incl. Wall Time (microsec)7,279 7,278 -1 -0.0%
Incl. Wall Time (microsec) per call 155 155 -0 -0.0%
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,111,320 1,112,704 1,384 0.1%
Incl. PeakMemUse (bytes) per call 23,645 23,675 29 0.1%
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% -1 -0.0% 0 0.0% 1,384 41.2%
Exclusive Metrics Diff for Current Function2 200.0% 0 N/A% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -1 -100.0% 0 N/A% 1,384 100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -20 -2000.0% 0 N/A% 992 71.7%
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% 17 1700.0% 0 N/A% 392 28.3%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 0 N/A% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 0 0.0% 0 N/A% 0 0.0%