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

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

Drupal\Core\Session\UserSession::hasPermissionRun #52f5cbc19a0d8Run #52f5cb0964fa0DiffDiff%
Number of Function Calls25 25 0 0.0%
Incl. Wall Time (microsec)7,154 7,108 -46 -0.6%
Incl. Wall Time (microsec) per call 286 284 -2 -0.6%
Excl. Wall Time (microsec)359 349 -10 -2.8%
Incl. CPU (microsecs)6,966 6,917 -49 -0.7%
Incl. CPU (microsecs) per call 279 277 -2 -0.7%
Excl. CPU (microsec)242 245 3 1.2%
Incl. MemUse (bytes)409,664 409,672 8 0.0%
Incl. MemUse (bytes) per call 16,387 16,387 0 0.0%
Excl. MemUse (bytes)-624 -600 24 3.8%
Incl. PeakMemUse (bytes)419,128 418,192 -936 -0.2%
Incl. PeakMemUse (bytes) per call 16,765 16,728 -37 -0.2%
Excl. PeakMemUse (bytes)3,296 3,272 -24 -0.7%

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% -46 -49.5% -49 -25.1% 8 0.0% -936 -3.1%
Exclusive Metrics Diff for Current Function-10 -21.7% 3 6.1% 24 300.0% -24 -2.6%
Parent functions
template_preprocess_username0 N/A% -33 -71.7% -32 -65.3% 0 0.0% 80 8.5%
user_template_preprocess_default_variables_alter0 N/A% -32 -69.6% -32 -65.3% 0 0.0% -912 -97.4%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -19 -41.3% -18 -36.7% 8 100.0% -24 -2.6%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 17 37.0% 15 30.6% 0 0.0% 0 0.0%
rdf_preprocess_node0 N/A% 14 30.4% 11 22.4% 0 0.0% 0 0.0%
Drupal\comment\Plugin\Field\FieldFormatter\CommentDefaultFormatter::viewElements0 N/A% 4 8.7% 3 6.1% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% 3 6.5% 1 2.0% 0 0.0% 0 0.0%
contextual_page_build0 N/A% -2 -4.3% -2 -4.1% 0 0.0% 0 0.0%
edit_page_build0 N/A% 1 2.2% 1 2.0% 0 0.0% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% 1 2.2% 0 0.0% 0 0.0% 0 0.0%
user_access0 N/A% 1 2.2% 4 8.2% 0 0.0% -80 -8.5%
tour_preprocess_page0 N/A% -1 -2.2% -1 -2.0% 0 0.0% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 0 0.0% 1 2.0% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -40 -87.0% -37 -75.5% -16 -200.0% -712 -76.1%
Drupal\user\Entity\Role::hasPermission0 N/A% 2 4.3% -3 -6.1% 0 0.0% -32 -3.4%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 1 2.2% 2 4.1% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 1 2.2% -7 -14.3% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% 0 0.0% -5 -10.2% 0 0.0% -168 -17.9%
Drupal\Core\Session\UserSession::getRoles0 N/A% 0 0.0% -2 -4.1% 0 0.0% 0 0.0%