Diff Report
Run #523bd1075886b: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #523bd0c5929e9: 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 #523bd1075886bRun #523bd0c5929e9DiffDiff%
Number of Function Calls39 39 0 0.0%
Incl. Wall Time (microsec)16,880 16,887 7 0.0%
Incl. Wall Time (microsec) per call 433 433 0 0.0%
Excl. Wall Time (microsec)707 717 10 1.4%
Incl. CPU (microsecs)16,184 16,163 -21 -0.1%
Incl. CPU (microsecs) per call 415 414 -1 -0.1%
Excl. CPU (microsec)538 549 11 2.0%
Incl. MemUse (bytes)732,920 732,920 0 0.0%
Incl. MemUse (bytes) per call 18,793 18,793 0 0.0%
Excl. MemUse (bytes)-10,688 -10,688 0 0.0%
Incl. PeakMemUse (bytes)750,768 750,768 0 0.0%
Incl. PeakMemUse (bytes) per call 19,250 19,250 0 0.0%
Excl. PeakMemUse (bytes)3,024 3,024 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% 7 0.4% -21 -2.5% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function10 142.9% 11 52.4% 0 N/A% 0 N/A%
Parent functions
path_form_taxonomy_term_form_alter0 N/A% 31 442.9% 32 152.4% 0 N/A% 0 N/A%
Drupal\filter\FilterFormatAccessController::checkAccess0 N/A% -20 -285.7% -19 -90.5% 0 N/A% 0 N/A%
user_access0 N/A% -17 -242.9% -46 -219.0% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 6 85.7% 5 23.8% 0 N/A% 0 N/A%
edit_page_build0 N/A% 3 42.9% 3 14.3% 0 N/A% 0 N/A%
search_is_active0 N/A% 3 42.9% 4 19.0% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 1 14.3% 0 0.0% 0 N/A% 0 N/A%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest0 N/A% -1 -14.3% -2 -9.5% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 1 14.3% 2 9.5% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -36 -514.3% -49 -233.3% 0 N/A% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 27 385.7% 14 66.7% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 10 142.9% 6 28.6% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -4 -57.1% -1 -4.8% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 0 0.0% -2 -9.5% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%