Diff Report
Run #54e146d617a96: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #54e141c217b7e: 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 #54e146d617a96Run #54e141c217b7eDiffDiff%
Number of Function Calls162 162 0 0.0%
Incl. Wall Time (microsec)11,087 10,813 -274 -2.5%
Incl. Wall Time (microsec) per call 68 67 -2 -2.5%
Excl. Wall Time (microsec)1,061 1,018 -43 -4.1%
Incl. MemUse (bytes)999,200 999,216 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,552 1,022,072 -480 -0.0%
Incl. PeakMemUse (bytes) per call 6,312 6,309 -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 Function-43 -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%