Diff Report
Run #51ec517fc2424: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #51ec52a09990a: 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 #51ec517fc2424Run #51ec52a09990aDiffDiff%
Number of Function Calls55 55 0 0.0%
Incl. Wall Time (microsec)11,766 12,031 265 2.3%
Incl. Wall Time (microsec) per call 214 219 5 2.3%
Excl. Wall Time (microsec)761 770 9 1.2%
Incl. CPU (microsecs)11,633 11,733 100 0.9%
Incl. CPU (microsecs) per call 212 213 2 0.9%
Excl. CPU (microsec)556 562 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,456 -25,448 8 0.0%
Incl. PeakMemUse (bytes)634,984 637,560 2,576 0.4%
Incl. PeakMemUse (bytes) per call 11,545 11,592 47 0.4%
Excl. PeakMemUse (bytes)2,264 2,352 88 3.9%

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 Function9 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%