Diff Report
Run #52e6fc5cc809e: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #52e6fca507bc1: 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 #52e6fc5cc809eRun #52e6fca507bc1DiffDiff%
Number of Function Calls33 33 0 0.0%
Incl. Wall Time (microsec)11,659 11,661 2 0.0%
Incl. Wall Time (microsec) per call 353 353 0 0.0%
Excl. Wall Time (microsec)536 546 10 1.9%
Incl. CPU (microsecs)11,642 11,651 9 0.1%
Incl. CPU (microsecs) per call 353 353 0 0.1%
Excl. CPU (microsec)407 415 8 2.0%
Incl. MemUse (bytes)447,560 447,560 0 0.0%
Incl. MemUse (bytes) per call 13,562 13,562 0 0.0%
Excl. MemUse (bytes)-2,840 -2,840 0 0.0%
Incl. PeakMemUse (bytes)460,656 460,656 0 0.0%
Incl. PeakMemUse (bytes) per call 13,959 13,959 0 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% 2 0.5% 9 12.0% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function10 500.0% 8 88.9% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -33 -1650.0% -39 -433.3% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 24 1200.0% 24 266.7% 0 N/A% 0 N/A%
shortcut_set_switch_access0 N/A% -20 -1000.0% -22 -244.4% 0 N/A% 0 N/A%
user_access0 N/A% -17 -850.0% -11 -122.2% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 12 600.0% 22 244.4% 0 N/A% 0 N/A%
edit_page_build0 N/A% 11 550.0% 10 111.1% 0 N/A% 0 N/A%
contextual_toolbar0 N/A% 10 500.0% 11 122.2% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 9 450.0% 10 111.1% 0 N/A% 0 N/A%
tour_toolbar0 N/A% 6 300.0% 8 88.9% 0 N/A% 0 N/A%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% 4 200.0% 3 33.3% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% -1 -50.0% -1 -11.1% 0 N/A% 0 N/A%
Drupal\devel\EventSubscriber\DevelEventSubscriber::onRequest0 N/A% -1 -50.0% -1 -11.1% 0 N/A% 0 N/A%
Drupal\views\ViewsAccessCheck::access0 N/A% -1 -50.0% -2 -22.2% 0 N/A% 0 N/A%
contextual_page_build0 N/A% -1 -50.0% -1 -11.1% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 0 0.0% -2 -22.2% 0 N/A% 0 N/A%
Child functions
Drupal::entityManager0 N/A% -5 -250.0% -8 -88.9% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -4 -200.0% -6 -66.7% 0 N/A% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -4 -200.0% 5 55.6% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 3 150.0% 1 11.1% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 2 100.0% -2 -22.2% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 0 0.0% 11 122.2% 0 N/A% 0 N/A%