Diff Report
Run #5230a98f3b26c: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #5230aa47d621c: 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 #5230a98f3b26cRun #5230aa47d621cDiffDiff%
Number of Function Calls41 41 0 0.0%
Incl. Wall Time (microsec)21,977 21,988 11 0.1%
Incl. Wall Time (microsec) per call 536 536 0 0.1%
Excl. Wall Time (microsec)717 722 5 0.7%
Incl. CPU (microsecs)21,346 21,359 13 0.1%
Incl. CPU (microsecs) per call 521 521 0 0.1%
Excl. CPU (microsec)570 570 0 0.0%
Incl. MemUse (bytes)1,312,808 1,312,920 112 0.0%
Incl. MemUse (bytes) per call 32,020 32,022 3 0.0%
Excl. MemUse (bytes)-14,008 -14,008 0 0.0%
Incl. PeakMemUse (bytes)1,342,856 1,343,504 648 0.0%
Incl. PeakMemUse (bytes) per call 32,753 32,768 16 0.0%
Excl. PeakMemUse (bytes)3,168 3,168 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% 11 1.3% 13 1.4% 112 0.2% 648 1.0%
Exclusive Metrics Diff for Current Function5 45.5% 0 0.0% 0 0.0% 0 0.0%
Parent functions
search_is_active0 N/A% 10 90.9% 10 76.9% 0 0.0% 0 0.0%
user_access0 N/A% -4 -36.4% -1 -7.7% 112 100.0% 648 100.0%
tour_preprocess_page0 N/A% 4 36.4% 4 30.8% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% 1 9.1% 1 7.7% 0 0.0% 0 0.0%
contextual_page_build0 N/A% 0 0.0% -1 -7.7% 0 0.0% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest0 N/A% 0 0.0% 1 7.7% 0 0.0% 0 0.0%
edit_page_build0 N/A% 0 0.0% -1 -7.7% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 60 545.5% 10 76.9% -24 -21.4% 600 92.6%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -49 -445.5% -1 -7.7% 120 107.1% -24 -3.7%
Drupal\user\Entity\Role::hasPermission0 N/A% -5 -45.5% -1 -7.7% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% 2 18.2% -1 -7.7% 16 14.3% 72 11.1%
Drupal\Core\Session\UserSession::id0 N/A% -2 -18.2% 4 30.8% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 0 0.0% 2 15.4% 0 0.0% 0 0.0%