Diff Report
Run #553ba00bcf766: 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 #553ba00bcf766Run #553b9a86a14e1DiffDiff%
Number of Function Calls49 49 0 0.0%
Incl. Wall Time (microsec)4,360 4,850 490 11.2%
Incl. Wall Time (microsec) per call 89 99 10 11.2%
Excl. Wall Time (microsec)229 221 -8 -3.5%
Incl. MemUse (bytes)1,039,872 1,039,928 56 0.0%
Incl. MemUse (bytes) per call 21,222 21,223 1 0.0%
Excl. MemUse (bytes)2,088 2,088 0 0.0%
Incl. PeakMemUse (bytes)1,014,560 1,016,416 1,856 0.2%
Incl. PeakMemUse (bytes) per call 20,705 20,743 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 Function-8 -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%