Diff Report
Run #55919cdb0fed9: XHProf Run (Namespace=drupal-perf-lauriii)
vs.
Run #55919d1190958: 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 #55919cdb0fed9Run #55919d1190958DiffDiff%
Number of Function Calls40 34 -6 -15.0%
Incl. Wall Time (microsec)3,240 3,128 -112 -3.5%
Incl. Wall Time (microsec) per call 81 92 11 13.6%
Excl. Wall Time (microsec)173 156 -17 -9.8%
Incl. MemUse (bytes)1,129,488 1,125,064 -4,424 -0.4%
Incl. MemUse (bytes) per call 28,237 33,090 4,853 17.2%
Excl. MemUse (bytes)2,088 2,088 0 0.0%
Incl. PeakMemUse (bytes)1,152,392 1,146,344 -6,048 -0.5%
Incl. PeakMemUse (bytes) per call 28,810 33,716 4,906 17.0%
Excl. PeakMemUse (bytes)2,040 2,040 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::hasPermission-6 -20.0% -112 -1.4% -4,424 -0.5% -6,048 -0.7%
Exclusive Metrics Diff for Current Function-17 -15.2% 0 0.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission-6 -100.0% -112 -100.0% -4,424 -100.0% -6,048 -100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles-6 -25.0% -121 -108.0% -4,488 -101.4% -6,000 -99.2%
Drupal\Core\Session\UserSession::getRoleStorage-6 -25.0% 26 23.2% 64 1.4% -48 -0.8%
Drupal\Core\Session\UserSession::id-6 -25.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles-6 -25.0% 0 0.0% 0 0.0% 0 0.0%