Diff Report
Run #52f5cb0964fa0: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52f5cb9d4924f: 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 #52f5cb0964fa0Run #52f5cb9d4924fDiffDiff%
Number of Function Calls25 25 0 0.0%
Incl. Wall Time (microsec)7,108 7,119 11 0.2%
Incl. Wall Time (microsec) per call 284 285 0 0.2%
Excl. Wall Time (microsec)349 351 2 0.6%
Incl. CPU (microsecs)6,917 6,919 2 0.0%
Incl. CPU (microsecs) per call 277 277 0 0.0%
Excl. CPU (microsec)245 246 1 0.4%
Incl. MemUse (bytes)409,672 409,672 0 0.0%
Incl. MemUse (bytes) per call 16,387 16,387 0 0.0%
Excl. MemUse (bytes)-600 -600 0 0.0%
Incl. PeakMemUse (bytes)418,192 418,192 0 0.0%
Incl. PeakMemUse (bytes) per call 16,728 16,728 0 0.0%
Excl. PeakMemUse (bytes)3,272 3,272 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% 11 2.1% 2 0.5% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function2 18.2% 1 50.0% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 31 281.8% 26 1300.0% 0 N/A% 0 N/A%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -10 -90.9% -9 -450.0% 0 N/A% 0 N/A%
Drupal\comment\Plugin\Field\FieldFormatter\CommentDefaultFormatter::viewElements0 N/A% -3 -27.3% -4 -200.0% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% -2 -18.2% -2 -100.0% 0 N/A% 0 N/A%
template_preprocess_username0 N/A% -2 -18.2% -2 -100.0% 0 N/A% 0 N/A%
user_access0 N/A% -2 -18.2% -10 -500.0% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% 2 18.2% 3 150.0% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% -1 -9.1% 0 0.0% 0 N/A% 0 N/A%
edit_page_build0 N/A% -1 -9.1% -1 -50.0% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% -1 -9.1% -1 -50.0% 0 N/A% 0 N/A%
rdf_preprocess_node0 N/A% -1 -9.1% 0 0.0% 0 N/A% 0 N/A%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% 1 9.1% 1 50.0% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 0 0.0% 1 50.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 15 136.4% 15 750.0% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -6 -54.5% -15 -750.0% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 1 9.1% 3 150.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -1 -9.1% -1 -50.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 0 0.0% -1 -50.0% 0 N/A% 0 N/A%