Diff Report
Run #53180b3960796: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #53180c595dcf8: 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 #53180b3960796Run #53180c595dcf8DiffDiff%
Number of Function Calls76 76 0 0.0%
Incl. Wall Time (microsec)27,168 27,341 173 0.6%
Incl. Wall Time (microsec) per call 357 360 2 0.6%
Excl. Wall Time (microsec)1,149 1,150 1 0.1%
Incl. CPU (microsecs)27,110 27,301 191 0.7%
Incl. CPU (microsecs) per call 357 359 3 0.7%
Excl. CPU (microsec)813 862 49 6.0%
Incl. MemUse (bytes)1,436,504 1,436,440 -64 -0.0%
Incl. MemUse (bytes) per call 18,901 18,901 -1 -0.0%
Excl. MemUse (bytes)-24,992 -24,992 0 0.0%
Incl. PeakMemUse (bytes)1,470,560 1,465,480 -5,080 -0.3%
Incl. PeakMemUse (bytes) per call 19,349 19,283 -67 -0.3%
Excl. PeakMemUse (bytes)4,104 4,096 -8 -0.2%

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% 173 12.6% 191 13.5% -64 -0.0% -5,080 -1.3%
Exclusive Metrics Diff for Current Function1 0.6% 49 25.7% 0 0.0% -8 -0.2%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -248 -143.4% -231 -120.9% -64 -100.0% 64 1.3%
user_access0 N/A% 212 122.5% 221 115.7% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% 57 32.9% 57 29.8% 0 0.0% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 43 24.9% 43 22.5% 0 0.0% 0 0.0%
template_preprocess_username0 N/A% 29 16.8% 28 14.7% 0 0.0% -5,216 -102.7%
user_template_preprocess_default_variables_alter0 N/A% 17 9.8% 16 8.4% 0 0.0% 72 1.4%
tour_toolbar0 N/A% 16 9.2% 17 8.9% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% 13 7.5% 14 7.3% 0 0.0% 0 0.0%
shortcut_set_switch_access0 N/A% 10 5.8% 9 4.7% 0 0.0% 0 0.0%
Drupal\views\Plugin\views\display\DisplayPluginBase::access0 N/A% 8 4.6% 6 3.1% 0 0.0% 0 0.0%
Drupal\views\ViewsAccessCheck::access0 N/A% 8 4.6% 9 4.7% 0 0.0% 0 0.0%
contextual_toolbar0 N/A% 7 4.0% 6 3.1% 0 0.0% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% -1 -0.6% -6 -3.1% 0 0.0% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 1 0.6% 1 0.5% 0 0.0% 0 0.0%
contextual_page_build0 N/A% 1 0.6% 0 0.0% 0 0.0% 0 0.0%
edit_page_build0 N/A% 0 0.0% 1 0.5% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 239 138.2% 226 118.3% -8 -12.5% 80 1.6%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -142 -82.1% -124 -64.9% -56 -87.5% 64 1.3%
Drupal::entityManager0 N/A% 40 23.1% 35 18.3% 0 0.0% -5,216 -102.7%
Drupal\user\Entity\Role::hasPermission0 N/A% 22 12.7% 19 9.9% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 12 6.9% -1 -0.5% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 1 0.6% -13 -6.8% 0 0.0% 0 0.0%