Diff Report
Run #538ce49a96f74: XHProf Run (Namespace=drupal-perf-steinmb)
vs.
Run #538ce4363dd76: 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 #538ce49a96f74Run #538ce4363dd76DiffDiff%
Number of Function Calls42 42 0 0.0%
Incl. Wall Time (microsec)9,088 10,027 939 10.3%
Incl. Wall Time (microsec) per call 216 239 22 10.3%
Excl. Wall Time (microsec)681 764 83 12.2%
Incl. CPU (microsecs)8,934 9,866 932 10.4%
Incl. CPU (microsecs) per call 213 235 22 10.4%
Excl. CPU (microsec)495 553 58 11.7%
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,376 131,552 176 0.1%
Incl. PeakMemUse (bytes) per call 3,128 3,132 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 Function83 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%