Diff Report
Run #52e6fcee66138: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #52e6fc5cc809e: 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 #52e6fcee66138Run #52e6fc5cc809eDiffDiff%
Number of Function Calls33 33 0 0.0%
Incl. Wall Time (microsec)11,497 11,659 162 1.4%
Incl. Wall Time (microsec) per call 348 353 5 1.4%
Excl. Wall Time (microsec)531 536 5 0.9%
Incl. CPU (microsecs)11,471 11,642 171 1.5%
Incl. CPU (microsecs) per call 348 353 5 1.5%
Excl. CPU (microsec)409 407 -2 -0.5%
Incl. MemUse (bytes)447,536 447,560 24 0.0%
Incl. MemUse (bytes) per call 13,562 13,562 1 0.0%
Excl. MemUse (bytes)-2,840 -2,840 0 0.0%
Incl. PeakMemUse (bytes)460,592 460,656 64 0.0%
Incl. PeakMemUse (bytes) per call 13,957 13,959 2 0.0%
Excl. PeakMemUse (bytes)4,128 4,128 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% 162 6.3% 171 6.5% 24 0.0% 64 0.1%
Exclusive Metrics Diff for Current Function5 3.1% -2 -1.2% 0 0.0% 0 0.0%
Parent functions
user_access0 N/A% 57 35.2% 54 31.6% 0 0.0% 104 162.5%
shortcut_set_switch_access0 N/A% 29 17.9% 37 21.6% 0 0.0% 0 0.0%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 28 17.3% 37 21.6% 0 0.0% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 27 16.7% 16 9.4% 24 100.0% -40 -62.5%
shortcut_set_edit_access0 N/A% 16 9.9% 21 12.3% 0 0.0% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% 15 9.3% 15 8.8% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% -15 -9.3% -16 -9.4% 0 0.0% 0 0.0%
user_template_preprocess_default_variables_alter0 N/A% 12 7.4% 11 6.4% 0 0.0% 0 0.0%
tour_toolbar0 N/A% -10 -6.2% -11 -6.4% 0 0.0% 0 0.0%
edit_page_build0 N/A% -7 -4.3% -8 -4.7% 0 0.0% 0 0.0%
Drupal\views\ViewsAccessCheck::access0 N/A% 5 3.1% 5 2.9% 0 0.0% 0 0.0%
contextual_page_build0 N/A% 3 1.9% 3 1.8% 0 0.0% 0 0.0%
Drupal\devel\EventSubscriber\DevelEventSubscriber::onRequest0 N/A% 2 1.2% 6 3.5% 0 0.0% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% -1 -0.6% -1 -0.6% 0 0.0% 0 0.0%
contextual_toolbar0 N/A% 1 0.6% 2 1.2% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 143 88.3% 139 81.3% 24 100.0% -40 -62.5%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 19 11.7% 24 14.0% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% -10 -6.2% -2 -1.2% 0 0.0% 104 162.5%
Drupal\user\Entity\Role::hasPermission0 N/A% 7 4.3% 15 8.8% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% -2 -1.2% -2 -1.2% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 0 0.0% -1 -0.6% 0 0.0% 0 0.0%