Diff Report
Run #5251f6e1e32d5: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #5251f592ab279: 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 #5251f6e1e32d5Run #5251f592ab279DiffDiff%
Number of Function Calls102 102 0 0.0%
Incl. Wall Time (microsec)28,426 28,329 -97 -0.3%
Incl. Wall Time (microsec) per call 279 278 -1 -0.3%
Excl. Wall Time (microsec)1,518 1,516 -2 -0.1%
Incl. CPU (microsecs)27,481 27,373 -108 -0.4%
Incl. CPU (microsecs) per call 269 268 -1 -0.4%
Excl. CPU (microsec)1,042 1,059 17 1.6%
Incl. MemUse (bytes)860,272 860,264 -8 -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,392 901,264 -128 -0.0%
Incl. PeakMemUse (bytes) per call 8,837 8,836 -1 -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% -97 -6.8% -108 -6.4% -8 -0.0% -128 -0.1%
Exclusive Metrics Diff for Current Function-2 -2.1% 17 15.7% 0 0.0% 0 0.0%
Parent functions
user_access0 N/A% -103 -106.2% -115 -106.5% -8 -100.0% -128 -100.0%
tour_preprocess_page0 N/A% 5 5.2% 5 4.6% 0 0.0% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest0 N/A% -2 -2.1% -3 -2.8% 0 0.0% 0 0.0%
edit_page_build0 N/A% 2 2.1% 3 2.8% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% 1 1.0% 1 0.9% 0 0.0% 0 0.0%
contextual_page_build0 N/A% 0 0.0% 1 0.9% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -41 -42.3% -30 -27.8% 8 100.0% 8 6.2%
Drupal::entityManager0 N/A% -37 -38.1% -38 -35.2% 0 0.0% 56 43.8%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -28 -28.9% -58 -53.7% -16 -200.0% -192 -150.0%
Drupal\Core\Session\UserSession::id0 N/A% 8 8.2% -6 -5.6% 0 0.0% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% 3 3.1% 2 1.9% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 0 0.0% 5 4.6% 0 0.0% 0 0.0%