Diff Report
Run #530ed1c5bdc6a: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #530ed2569a2c7: 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 #530ed1c5bdc6aRun #530ed2569a2c7DiffDiff%
Number of Function Calls42 42 0 0.0%
Incl. Wall Time (microsec)20,088 20,103 15 0.1%
Incl. Wall Time (microsec) per call 478 479 0 0.1%
Excl. Wall Time (microsec)656 642 -14 -2.1%
Incl. CPU (microsecs)19,970 20,125 155 0.8%
Incl. CPU (microsecs) per call 475 479 4 0.8%
Excl. CPU (microsec)454 479 25 5.5%
Incl. MemUse (bytes)1,413,304 1,413,408 104 0.0%
Incl. MemUse (bytes) per call 33,650 33,653 2 0.0%
Excl. MemUse (bytes)-11,128 -11,128 0 0.0%
Incl. PeakMemUse (bytes)1,438,944 1,439,208 264 0.0%
Incl. PeakMemUse (bytes) per call 34,261 34,267 6 0.0%
Excl. PeakMemUse (bytes)3,552 3,552 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% 15 1.6% 155 12.9% 104 0.2% 264 0.6%
Exclusive Metrics Diff for Current Function-14 -93.3% 25 16.1% 0 0.0% 0 0.0%
Parent functions
user_access0 N/A% 24 160.0% 52 33.5% 0 0.0% 40 15.2%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 19 126.7% 116 74.8% 104 100.0% 168 63.6%
shortcut_set_edit_access0 N/A% -17 -113.3% -13 -8.4% 0 0.0% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 12 80.0% 13 8.4% 0 0.0% 0 0.0%
contextual_page_build0 N/A% -8 -53.3% -8 -5.2% 0 0.0% 0 0.0%
Drupal\views\ViewsAccessCheck::access0 N/A% -8 -53.3% -6 -3.9% 0 0.0% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% -5 -33.3% -4 -2.6% 0 0.0% 0 0.0%
user_template_preprocess_default_variables_alter0 N/A% -2 -13.3% 0 0.0% 0 0.0% 56 21.2%
tour_preprocess_page0 N/A% -1 -6.7% -1 -0.6% 0 0.0% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 1 6.7% 4 2.6% 0 0.0% 0 0.0%
edit_page_build0 N/A% 0 0.0% 2 1.3% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 30 200.0% 81 52.3% 32 30.8% 128 48.5%
Drupal\Core\Session\UserSession::id0 N/A% 5 33.3% -6 -3.9% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% -4 -26.7% -9 -5.8% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -2 -13.3% 0 0.0% 0 0.0% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% -1 -6.7% -2 -1.3% 0 0.0% 0 0.0%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 1 6.7% 66 42.6% 72 69.2% 136 51.5%