Diff Report
Run #5251f592ab279: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #5251f691abb85: XHProf Run (Namespace=drupal-perf-joelpittet)
Tip
Click a function name below to drill down.

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

Drupal\Core\Session\UserSession::hasPermissionRun #5251f592ab279Run #5251f691abb85DiffDiff%
Number of Function Calls102 102 0 0.0%
Incl. Wall Time (microsec)28,329 29,471 1,142 4.0%
Incl. Wall Time (microsec) per call 278 289 11 4.0%
Excl. Wall Time (microsec)1,516 1,544 28 1.8%
Incl. CPU (microsecs)27,373 28,151 778 2.8%
Incl. CPU (microsecs) per call 268 276 8 2.8%
Excl. CPU (microsec)1,059 1,054 -5 -0.5%
Incl. MemUse (bytes)860,264 860,264 0 0.0%
Incl. MemUse (bytes) per call 8,434 8,434 0 0.0%
Excl. MemUse (bytes)-43,792 -43,792 0 0.0%
Incl. PeakMemUse (bytes)901,264 901,264 0 0.0%
Incl. PeakMemUse (bytes) per call 8,836 8,836 0 0.0%
Excl. PeakMemUse (bytes)2,272 2,272 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% 1,142 59.5% 778 8.2% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function28 2.5% -5 -0.6% 0 N/A% 0 N/A%
Parent functions
user_access0 N/A% 1,099 96.2% 732 94.1% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 26 2.3% 27 3.5% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 16 1.4% 16 2.1% 0 N/A% 0 N/A%
edit_page_build0 N/A% 1 0.1% 0 0.0% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 0 0.0% 1 0.1% 0 N/A% 0 N/A%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest0 N/A% 0 0.0% 2 0.3% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 662 58.0% 559 71.9% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 414 36.3% 161 20.7% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 22 1.9% 39 5.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 8 0.7% 11 1.4% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 6 0.5% 9 1.2% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 2 0.2% 4 0.5% 0 N/A% 0 N/A%