Diff Report
Run #52f2e60305388: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #52f2e62091f2c: XHProf Run (Namespace=drupal-perf-drupalcon)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\Core\Session\UserSession::hasPermission

Drupal\Core\Session\UserSession::hasPermissionRun #52f2e60305388Run #52f2e62091f2cDiffDiff%
Number of Function Calls49 49 0 0.0%
Incl. Wall Time (microsec)15,010 13,243 -1,767 -11.8%
Incl. Wall Time (microsec) per call 306 270 -36 -11.8%
Excl. Wall Time (microsec)726 707 -19 -2.6%
Incl. CPU (microsecs)14,553 12,857 -1,696 -11.7%
Incl. CPU (microsecs) per call 297 262 -35 -11.7%
Excl. CPU (microsec)501 490 -11 -2.2%
Incl. MemUse (bytes)820,120 820,120 0 0.0%
Incl. MemUse (bytes) per call 16,737 16,737 0 0.0%
Excl. MemUse (bytes)-12,544 -12,544 0 0.0%
Incl. PeakMemUse (bytes)837,688 837,688 0 0.0%
Incl. PeakMemUse (bytes) per call 17,096 17,096 0 0.0%
Excl. PeakMemUse (bytes)3,592 3,592 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% -1,767 -126.1% -1,696 -61.5% 0 0.0% 0 0.0%
Exclusive Metrics Diff for Current Function-19 -1.1% -11 -0.6% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -1,861 -105.3% -1,794 -105.8% 0 N/A% 0 N/A%
tour_toolbar0 N/A% 195 11.0% 196 11.6% 0 N/A% 0 N/A%
Drupal\views\ViewsAccessCheck::access0 N/A% -116 -6.6% -121 -7.1% 0 N/A% 0 N/A%
contextual_page_build0 N/A% -106 -6.0% -106 -6.2% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% 101 5.7% 103 6.1% 0 N/A% 0 N/A%
edit_page_build0 N/A% -95 -5.4% -94 -5.5% 0 N/A% 0 N/A%
contextual_toolbar0 N/A% 88 5.0% 89 5.2% 0 N/A% 0 N/A%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% 27 1.5% 27 1.6% 0 N/A% 0 N/A%
user_access0 N/A% 24 1.4% 22 1.3% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 19 1.1% 19 1.1% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -18 -1.0% -19 -1.1% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% -12 -0.7% -10 -0.6% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% -11 -0.6% -11 -0.6% 0 N/A% 0 N/A%
shortcut_set_switch_access0 N/A% -2 -0.1% 3 0.2% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -1,028 -58.2% -1,026 -60.5% 0 N/A% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -666 -37.7% -615 -36.3% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -27 -1.5% -23 -1.4% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -18 -1.0% -15 -0.9% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -8 -0.5% -12 -0.7% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -1 -0.1% 6 0.4% 0 N/A% 0 N/A%