Diff Report
Run #5589b6f75b296: XHProf Run (Namespace=drupal-perf-stefanr)
vs.
Run #5589b704ad974: XHProf Run (Namespace=drupal-perf-stefanr)
Tip
Click a function name below to drill down.

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

Drupal\Core\Session\UserSession::hasPermissionRun #5589b6f75b296Run #5589b704ad974DiffDiff%
Number of Function Calls2,800 2,800 0 0.0%
Incl. Wall Time (microsec)994,669 974,228 -20,441 -2.1%
Incl. Wall Time (microsec) per call 355 348 -7 -2.1%
Excl. Wall Time (microsec)27,642 26,214 -1,428 -5.2%
Incl. MemUse (bytes)50,168,800 50,170,400 1,600 0.0%
Incl. MemUse (bytes) per call 17,917 17,918 1 0.0%
Excl. MemUse (bytes)193,600 193,600 0 0.0%
Incl. PeakMemUse (bytes)50,664,000 50,680,800 16,800 0.0%
Incl. PeakMemUse (bytes) per call 18,094 18,100 6 0.0%
Excl. PeakMemUse (bytes)118,400 127,200 8,800 7.4%

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% -20,441 -1.0% 1,600 0.0% 16,800 0.3%
Exclusive Metrics Diff for Current Function-1,428 -7.0% 0 0.0% 8,800 52.4%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -20,441 -100.0% 1,600 100.0% 16,800 100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -12,332 -60.3% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% -6,421 -31.4% 1,600 100.0% -800 -4.8%
Drupal\Core\Session\UserSession::id0 N/A% -222 -1.1% 0 0.0% 8,800 52.4%
Drupal\Core\Session\UserSession::getRoles0 N/A% -38 -0.2% 0 0.0% 0 0.0%