Diff Report
Run #5208407650493: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #520840e157983: 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 #5208407650493Run #520840e157983DiffDiff%
Number of Function Calls24 24 0 0.0%
Incl. Wall Time (microsec)7,576 7,469 -107 -1.4%
Incl. Wall Time (microsec) per call 316 311 -4 -1.4%
Excl. Wall Time (microsec)383 395 12 3.1%
Incl. CPU (microsecs)6,851 6,943 92 1.3%
Incl. CPU (microsecs) per call 285 289 4 1.3%
Excl. CPU (microsec)261 280 19 7.3%
Incl. MemUse (bytes)725,032 725,040 8 0.0%
Incl. MemUse (bytes) per call 30,210 30,210 0 0.0%
Excl. MemUse (bytes)-9,576 -9,576 0 0.0%
Incl. PeakMemUse (bytes)724,616 733,336 8,720 1.2%
Incl. PeakMemUse (bytes) per call 30,192 30,556 363 1.2%
Excl. PeakMemUse (bytes)2,096 2,280 184 8.8%

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% -107 -45.5% 92 10.3% 8 0.0% 8,720 30.1%
Exclusive Metrics Diff for Current Function12 11.2% 19 20.7% 0 0.0% 184 2.1%
Parent function
user_access0 N/A% -107 -100.0% 92 100.0% 8 100.0% 8,720 100.0%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -246 -229.9% -68 -73.9% -24 -300.0% -24 -0.3%
Drupal::entityManager0 N/A% 63 58.9% 57 62.0% 24 300.0% 728 8.3%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 58 54.2% 69 75.0% 8 100.0% 7,832 89.8%
Drupal\user\Plugin\Core\Entity\Role::hasPermission0 N/A% 8 7.5% 14 15.2% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -1 -0.9% 2 2.2% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% -1 -0.9% -1 -1.1% 0 0.0% 0 0.0%