Diff Report
Run #553b9a86a14e1: XHProf Run (Namespace=drupal-perf-lauriii)
vs.
Run #553ba00bcf766: 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 #553b9a86a14e1Run #553ba00bcf766DiffDiff%
Number of Function Calls49 49 0 0.0%
Incl. Wall Time (microsec)4,850 4,360 -490 -10.1%
Incl. Wall Time (microsec) per call 99 89 -10 -10.1%
Excl. Wall Time (microsec)221 229 8 3.6%
Incl. MemUse (bytes)1,039,928 1,039,872 -56 -0.0%
Incl. MemUse (bytes) per call 21,223 21,222 -1 -0.0%
Excl. MemUse (bytes)2,088 2,088 0 0.0%
Incl. PeakMemUse (bytes)1,016,416 1,014,560 -1,856 -0.2%
Incl. PeakMemUse (bytes) per call 20,743 20,705 -38 -0.2%
Excl. PeakMemUse (bytes)2,112 2,112 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% -490 -1.3% -56 -0.0% -1,856 -0.2%
Exclusive Metrics Diff for Current Function8 1.6% 0 0.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -490 -100.0% -56 -100.0% -1,856 -100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% -282 -57.6% -24 -42.9% -24 -1.3%
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% -217 -44.3% -32 -57.1% -1,832 -98.7%
Drupal\Core\Session\UserSession::getRoles0 N/A% 1 0.2% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 0 0.0% 0 0.0%