Diff Report
Run #52e43719571bf: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #52e436ce9c71d: 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 #52e43719571bfRun #52e436ce9c71dDiffDiff%
Number of Function Calls39 39 0 0.0%
Incl. Wall Time (microsec)7,871 7,787 -84 -1.1%
Incl. Wall Time (microsec) per call 202 200 -2 -1.1%
Excl. Wall Time (microsec)565 558 -7 -1.2%
Incl. CPU (microsecs)7,804 7,722 -82 -1.1%
Incl. CPU (microsecs) per call 200 198 -2 -1.1%
Excl. CPU (microsec)364 368 4 1.1%
Incl. MemUse (bytes)163,680 163,680 0 0.0%
Incl. MemUse (bytes) per call 4,197 4,197 0 0.0%
Excl. MemUse (bytes)-7,696 -7,696 0 0.0%
Incl. PeakMemUse (bytes)180,856 180,856 0 0.0%
Incl. PeakMemUse (bytes) per call 4,637 4,637 0 0.0%
Excl. PeakMemUse (bytes)3,864 3,864 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% -84 -7.4% -82 -8.7% 0 0.0% 0 0.0%
Exclusive Metrics Diff for Current Function-7 -8.3% 4 4.9% 0 N/A% 0 N/A%
Parent functions
template_preprocess_username0 N/A% -41 -48.8% -41 -50.0% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -14 -16.7% -15 -18.3% 0 N/A% 0 N/A%
user_access0 N/A% -13 -15.5% -13 -15.9% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% -7 -8.3% -6 -7.3% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% -7 -8.3% -7 -8.5% 0 N/A% 0 N/A%
Drupal\filter\FilterFormatAccessController::checkAccess0 N/A% -7 -8.3% -6 -7.3% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% -5 -6.0% -4 -4.9% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 4 4.8% 4 4.9% 0 N/A% 0 N/A%
rdf_preprocess_node0 N/A% 4 4.8% 5 6.1% 0 N/A% 0 N/A%
Drupal\comment\Plugin\Field\FieldFormatter\CommentDefaultFormatter::viewElements0 N/A% 1 1.2% 1 1.2% 0 N/A% 0 N/A%
Drupal\comment\CommentFormController::form0 N/A% 1 1.2% 1 1.2% 0 N/A% 0 N/A%
Drupal\node\Access\NodeRevisionAccessCheck::checkAccess0 N/A% 1 1.2% 0 0.0% 0 N/A% 0 N/A%
edit_page_build0 N/A% -1 -1.2% -1 -1.2% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -44 -52.4% -49 -59.8% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -28 -33.3% -13 -15.9% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -3 -3.6% -11 -13.4% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -3 -3.6% -9 -11.0% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 2 2.4% -5 -6.1% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -1 -1.2% 1 1.2% 0 N/A% 0 N/A%