Diff Report
Run #53513afe3c568: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #535139ab6e707: XHProf Run (Namespace=drupal-perf-cottser)
Tip
Click a function name below to drill down.

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

Drupal\Core\Session\UserSession::hasPermissionRun #53513afe3c568Run #535139ab6e707DiffDiff%
Number of Function Calls507 507 0 0.0%
Incl. Wall Time (microsec)81,190 80,877 -313 -0.4%
Incl. Wall Time (microsec) per call 160 160 -1 -0.4%
Excl. Wall Time (microsec)6,498 6,368 -130 -2.0%
Incl. CPU (microsecs)81,487 81,167 -320 -0.4%
Incl. CPU (microsecs) per call 161 160 -1 -0.4%
Excl. CPU (microsec)4,399 4,234 -165 -3.8%
Incl. MemUse (bytes)156,120 156,120 0 0.0%
Incl. MemUse (bytes) per call 308 308 0 0.0%
Excl. MemUse (bytes)-301,520 -301,496 24 0.0%
Incl. PeakMemUse (bytes)317,536 317,848 312 0.1%
Incl. PeakMemUse (bytes) per call 626 627 1 0.1%
Excl. PeakMemUse (bytes)2,352 2,352 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% -313 -5.6% -320 -5.0% 0 0.0% 312 1.4%
Exclusive Metrics Diff for Current Function-130 -41.5% -165 -51.6% 24 N/A% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -313 -100.0% -320 -100.0% 0 N/A% 312 100.0%
Child functions
Drupal\Core\Config\Entity\ConfigEntityStorage::loadMultiple0 N/A% -238 -76.0% -236 -73.8% -24 N/A% 176 56.4%
Drupal\user\Entity\Role::hasPermission0 N/A% 76 24.3% 12 3.8% 0 N/A% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -60 -19.2% -46 -14.4% 0 N/A% 0 0.0%
Drupal\Core\Entity\EntityManager::getStorage0 N/A% 51 16.3% 80 25.0% 0 N/A% -8 -2.6%
Drupal\Core\Session\UserSession::id0 N/A% -10 -3.2% 49 15.3% 0 N/A% 0 0.0%
Drupal::entityManager0 N/A% -2 -0.6% -14 -4.4% 0 N/A% 144 46.2%