Diff Report
Run #553ba42a8e87e: XHProf Run (Namespace=drupal-perf-lauriii)
vs.
Run #553b9a86a14e1: XHProf Run (Namespace=drupal-perf-lauriii)
Tip
Click a function name below to drill down.

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

Drupal\Core\Session\UserSession::hasPermissionRun #553ba42a8e87eRun #553b9a86a14e1DiffDiff%
Number of Function Calls49 49 0 0.0%
Incl. Wall Time (microsec)4,349 4,850 501 11.5%
Incl. Wall Time (microsec) per call 89 99 10 11.5%
Excl. Wall Time (microsec)226 221 -5 -2.2%
Incl. MemUse (bytes)1,039,936 1,039,928 -8 -0.0%
Incl. MemUse (bytes) per call 21,223 21,223 -0 -0.0%
Excl. MemUse (bytes)2,088 2,088 0 0.0%
Incl. PeakMemUse (bytes)1,054,032 1,016,416 -37,616 -3.6%
Incl. PeakMemUse (bytes) per call 21,511 20,743 -768 -3.6%
Excl. PeakMemUse (bytes)2,184 2,112 -72 -3.3%

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% 501 0.1% -8 -0.0% -37,616 -2.2%
Exclusive Metrics Diff for Current Function-5 -1.0% 0 0.0% -72 -0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 501 100.0% -8 -100.0% -37,616 -100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% 293 58.5% 32 400.0% -1,312 -3.5%
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% 213 42.5% -40 -500.0% -36,232 -96.3%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 0 0.0% 0 0.0% 0 0.0%