Diff Report
Run #538ce4363dd76: XHProf Run (Namespace=drupal-perf-steinmb)
vs.
Run #538ce49a96f74: XHProf Run (Namespace=drupal-perf-steinmb)
Tip
Click a function name below to drill down.

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

Drupal\Core\Session\UserSession::hasPermissionRun #538ce4363dd76Run #538ce49a96f74DiffDiff%
Number of Function Calls42 42 0 0.0%
Incl. Wall Time (microsec)10,027 9,088 -939 -9.4%
Incl. Wall Time (microsec) per call 239 216 -22 -9.4%
Excl. Wall Time (microsec)764 681 -83 -10.9%
Incl. CPU (microsecs)9,866 8,934 -932 -9.4%
Incl. CPU (microsecs) per call 235 213 -22 -9.4%
Excl. CPU (microsec)553 495 -58 -10.5%
Incl. MemUse (bytes)110,096 110,096 0 0.0%
Incl. MemUse (bytes) per call 2,621 2,621 0 0.0%
Excl. MemUse (bytes)-21,640 -21,640 0 0.0%
Incl. PeakMemUse (bytes)131,552 131,376 -176 -0.1%
Incl. PeakMemUse (bytes) per call 3,132 3,128 -4 -0.1%
Excl. PeakMemUse (bytes)1,344 1,344 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. CPU Diff
(microsec)
ICpu
Diff%
Incl.
MemUse
Diff
(bytes)
IMemUse
Diff%
Incl.
PeakMemUse
Diff
(bytes)
IPeakMemUse
Diff%
Current Function
Drupal\Core\Session\UserSession::hasPermission0 N/A% -939 -48.5% -932 -47.8% 0 0.0% -176 -0.9%
Exclusive Metrics Diff for Current Function-83 -8.8% -58 -6.2% 0 N/A% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -939 -100.0% -932 -100.0% 0 N/A% -176 -100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple0 N/A% -738 -78.6% -727 -78.0% 0 N/A% -248 -140.9%
Drupal::entityManager0 N/A% -63 -6.7% -63 -6.8% 0 N/A% 72 40.9%
Drupal\Core\Entity\EntityManager::getStorage0 N/A% -29 -3.1% -46 -4.9% 0 N/A% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% -16 -1.7% -18 -1.9% 0 N/A% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -6 -0.6% -16 -1.7% 0 N/A% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% -4 -0.4% -4 -0.4% 0 N/A% 0 0.0%