Diff Report
Run #52f2e60305388: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #52f2e62cef49a: 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 #52f2e62cef49aDiffDiff%
Number of Function Calls49 49 0 0.0%
Incl. Wall Time (microsec)15,010 13,321 -1,689 -11.3%
Incl. Wall Time (microsec) per call 306 272 -34 -11.3%
Excl. Wall Time (microsec)726 694 -32 -4.4%
Incl. CPU (microsecs)14,553 12,926 -1,627 -11.2%
Incl. CPU (microsecs) per call 297 264 -33 -11.2%
Excl. CPU (microsec)501 480 -21 -4.2%
Incl. MemUse (bytes)820,120 820,144 24 0.0%
Incl. MemUse (bytes) per call 16,737 16,738 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,689 -73.9% -1,627 -79.2% 24 0.0% 0 0.0%
Exclusive Metrics Diff for Current Function-32 -1.9% -21 -1.3% 0 0.0% 0 N/A%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -1,681 -99.5% -1,619 -99.5% 0 0.0% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% 121 7.2% 124 7.6% 0 0.0% 0 N/A%
contextual_page_build0 N/A% -104 -6.2% -104 -6.4% 0 0.0% 0 N/A%
edit_page_build0 N/A% -95 -5.6% -94 -5.8% 0 0.0% 0 N/A%
user_access0 N/A% 94 5.6% 92 5.7% 0 0.0% 0 N/A%
Drupal\views\ViewsAccessCheck::access0 N/A% -66 -3.9% -69 -4.2% 0 0.0% 0 N/A%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% 40 2.4% 40 2.5% 0 0.0% 0 N/A%
shortcut_set_edit_access0 N/A% 20 1.2% 22 1.4% 0 0.0% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -18 -1.1% -19 -1.2% 0 0.0% 0 N/A%
tour_toolbar0 N/A% 11 0.7% 10 0.6% 0 0.0% 0 N/A%
shortcut_set_switch_access0 N/A% -7 -0.4% -5 -0.3% 0 0.0% 0 N/A%
contextual_toolbar0 N/A% -4 -0.2% -5 -0.3% 24 100.0% 0 N/A%
tour_preprocess_page0 N/A% -3 -0.2% -4 -0.2% 0 0.0% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 3 0.2% 4 0.2% 0 0.0% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -1,017 -60.2% -987 -60.7% 0 0.0% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -604 -35.8% -579 -35.6% 0 0.0% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -32 -1.9% -28 -1.7% 0 0.0% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -4 -0.2% -13 -0.8% 0 0.0% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% -4 -0.2% 0 0.0% 0 N/A%
Drupal::entityManager0 N/A% 0 0.0% 5 0.3% 24 100.0% 0 N/A%