Diff Report
Run #51ec52a09990a: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #51ec517fc2424: XHProf Run (Namespace=drupal-perf-drupalcon)
Tip
Click a function name below to drill down.

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

Drupal\Core\Session\UserSession::hasPermissionRun #51ec52a09990aRun #51ec517fc2424DiffDiff%
Number of Function Calls55 55 0 0.0%
Incl. Wall Time (microsec)12,031 11,766 -265 -2.2%
Incl. Wall Time (microsec) per call 219 214 -5 -2.2%
Excl. Wall Time (microsec)770 761 -9 -1.2%
Incl. CPU (microsecs)11,733 11,633 -100 -0.9%
Incl. CPU (microsecs) per call 213 212 -2 -0.9%
Excl. CPU (microsec)562 556 -6 -1.1%
Incl. MemUse (bytes)617,368 617,368 0 0.0%
Incl. MemUse (bytes) per call 11,225 11,225 0 0.0%
Excl. MemUse (bytes)-25,448 -25,456 -8 -0.0%
Incl. PeakMemUse (bytes)637,560 634,984 -2,576 -0.4%
Incl. PeakMemUse (bytes) per call 11,592 11,545 -47 -0.4%
Excl. PeakMemUse (bytes)2,352 2,264 -88 -3.7%

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% -265 -6.5% -100 -2.3% 0 0.0% -2,576 -11.2%
Exclusive Metrics Diff for Current Function-9 -3.4% -6 -6.0% -8 N/A% -88 -3.4%
Parent function
user_access0 N/A% -265 -100.0% -100 -100.0% 0 N/A% -2,576 -100.0%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -230 -86.8% -37 -37.0% 16 N/A% 72 2.8%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -14 -5.3% -51 -51.0% -8 N/A% -2,560 -99.4%
Drupal\user\Plugin\Core\Entity\Role::hasPermission0 N/A% -11 -4.2% 3 3.0% 0 N/A% 0 0.0%
Drupal::entityManager0 N/A% -1 -0.4% -4 -4.0% 0 N/A% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 0 0.0% 1 1.0% 0 N/A% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% -6 -6.0% 0 N/A% 0 0.0%