Diff Report
Run #52e4374042ace: 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 #52e4374042aceRun #52e436ce9c71dDiffDiff%
Number of Function Calls39 39 0 0.0%
Incl. Wall Time (microsec)7,677 7,787 110 1.4%
Incl. Wall Time (microsec) per call 197 200 3 1.4%
Excl. Wall Time (microsec)541 558 17 3.1%
Incl. CPU (microsecs)7,617 7,722 105 1.4%
Incl. CPU (microsecs) per call 195 198 3 1.4%
Excl. CPU (microsec)363 368 5 1.4%
Incl. MemUse (bytes)163,472 163,680 208 0.1%
Incl. MemUse (bytes) per call 4,192 4,197 5 0.1%
Excl. MemUse (bytes)-7,680 -7,696 -16 -0.2%
Incl. PeakMemUse (bytes)180,864 180,856 -8 -0.0%
Incl. PeakMemUse (bytes) per call 4,638 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% 110 9.4% 105 10.4% 208 0.3% -8 -0.0%
Exclusive Metrics Diff for Current Function17 15.5% 5 4.8% -16 -7.7% 0 0.0%
Parent functions
user_access0 N/A% 71 64.5% 65 61.9% 208 100.0% 144 1800.0%
Drupal\filter\FilterFormatAccessController::checkAccess0 N/A% 36 32.7% 37 35.2% 0 0.0% -104 -1300.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -29 -26.4% -32 -30.5% 0 0.0% 0 0.0%
Drupal\comment\Plugin\Field\FieldFormatter\CommentDefaultFormatter::viewElements0 N/A% 29 26.4% 29 27.6% 0 0.0% -40 -500.0%
template_preprocess_username0 N/A% -8 -7.3% -7 -6.7% 0 0.0% 112 1400.0%
Drupal\comment\CommentFormController::form0 N/A% 6 5.5% 6 5.7% 0 0.0% 0 0.0%
user_template_preprocess_default_variables_alter0 N/A% -4 -3.6% -4 -3.8% 0 0.0% 0 0.0%
contextual_page_build0 N/A% 4 3.6% 4 3.8% 0 0.0% 0 0.0%
rdf_preprocess_node0 N/A% 4 3.6% 4 3.8% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% 1 0.9% 2 1.9% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% 1 0.9% 2 1.9% 0 0.0% -120 -1500.0%
Drupal\node\Access\NodeRevisionAccessCheck::checkAccess0 N/A% -1 -0.9% -1 -1.0% 0 0.0% 0 0.0%
edit_page_build0 N/A% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 72 65.5% 76 72.4% -104 -50.0% -520 -6500.0%
Drupal\user\Entity\Role::hasPermission0 N/A% 12 10.9% 13 12.4% 0 0.0% 0 0.0%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 7 6.4% 13 12.4% 328 157.7% 432 5400.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 2 1.8% 1 1.0% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% 0 0.0% -4 -3.8% 0 0.0% 80 1000.0%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 1 1.0% 0 0.0% 0 0.0%