Diff Report
Run #53180b3960796: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #53180bc98020f: 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 #53180bc98020fDiffDiff%
Number of Function Calls76 76 0 0.0%
Incl. Wall Time (microsec)27,168 27,247 79 0.3%
Incl. Wall Time (microsec) per call 357 359 1 0.3%
Excl. Wall Time (microsec)1,149 1,151 2 0.2%
Incl. CPU (microsecs)27,110 27,157 47 0.2%
Incl. CPU (microsecs) per call 357 357 1 0.2%
Excl. CPU (microsec)813 816 3 0.4%
Incl. MemUse (bytes)1,436,504 1,436,504 0 0.0%
Incl. MemUse (bytes) per call 18,901 18,901 0 0.0%
Excl. MemUse (bytes)-24,992 -24,992 0 0.0%
Incl. PeakMemUse (bytes)1,470,560 1,470,560 0 0.0%
Incl. PeakMemUse (bytes) per call 19,349 19,349 0 0.0%
Excl. PeakMemUse (bytes)4,104 4,104 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% 79 2.2% 47 1.4% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function2 2.5% 3 6.4% 0 N/A% 0 N/A%
Parent functions
tour_toolbar0 N/A% 49 62.0% 50 106.4% 0 N/A% 0 N/A%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 42 53.2% 15 31.9% 0 N/A% 0 N/A%
template_preprocess_username0 N/A% -15 -19.0% -16 -34.0% 0 N/A% 0 N/A%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% 10 12.7% 11 23.4% 0 N/A% 0 N/A%
user_access0 N/A% -7 -8.9% -9 -19.1% 0 N/A% 0 N/A%
contextual_toolbar0 N/A% 4 5.1% 2 4.3% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% -4 -5.1% -5 -10.6% 0 N/A% 0 N/A%
Drupal\views\Plugin\views\display\DisplayPluginBase::access0 N/A% -3 -3.8% -4 -8.5% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% 2 2.5% 1 2.1% 0 N/A% 0 N/A%
shortcut_set_switch_access0 N/A% 2 2.5% 0 0.0% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 1 1.3% 1 2.1% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -1 -1.3% -1 -2.1% 0 N/A% 0 N/A%
edit_page_build0 N/A% -1 -1.3% 1 2.1% 0 N/A% 0 N/A%
Drupal\views\ViewsAccessCheck::access0 N/A% 0 0.0% 2 4.3% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 0 0.0% -1 -2.1% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 60 75.9% 50 106.4% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 18 22.8% 16 34.0% 0 N/A% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -10 -12.7% -19 -40.4% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 5 6.3% 0 0.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 2 2.5% -2 -4.3% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 2 2.5% -1 -2.1% 0 N/A% 0 N/A%