Diff Report
Run #52c8629919553: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52c862ea26981: 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 #52c8629919553Run #52c862ea26981DiffDiff%
Number of Function Calls48 48 0 0.0%
Incl. Wall Time (microsec)12,606 12,598 -8 -0.1%
Incl. Wall Time (microsec) per call 263 262 -0 -0.1%
Excl. Wall Time (microsec)621 621 0 0.0%
Incl. CPU (microsecs)12,367 12,353 -14 -0.1%
Incl. CPU (microsecs) per call 258 257 -0 -0.1%
Excl. CPU (microsec)408 413 5 1.2%
Incl. MemUse (bytes)748,744 748,768 24 0.0%
Incl. MemUse (bytes) per call 15,599 15,599 1 0.0%
Excl. MemUse (bytes)-12,920 -12,896 24 0.2%
Incl. PeakMemUse (bytes)771,424 771,360 -64 -0.0%
Incl. PeakMemUse (bytes) per call 16,071 16,070 -1 -0.0%
Excl. PeakMemUse (bytes)3,832 3,856 24 0.6%

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% -8 -12.5% -14 -7.9% 24 0.1% -64 -0.2%
Exclusive Metrics Diff for Current Function0 0.0% 5 35.7% 24 100.0% 24 37.5%
Parent functions
Drupal\views\ViewsAccessCheck::access0 N/A% -13 -162.5% -13 -92.9% 0 0.0% 0 0.0%
user_access0 N/A% 12 150.0% 16 114.3% 0 0.0% -88 -137.5%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% -9 -112.5% -8 -57.1% 24 100.0% 24 37.5%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -8 -100.0% -18 -128.6% 0 0.0% 0 0.0%
contextual_page_build0 N/A% 5 62.5% 4 28.6% 0 0.0% 0 0.0%
contextual_toolbar0 N/A% 4 50.0% 4 28.6% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% 4 50.0% 3 21.4% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% -2 -25.0% -2 -14.3% 0 0.0% 0 0.0%
tour_toolbar0 N/A% -2 -25.0% -3 -21.4% 0 0.0% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -1 -12.5% -1 -7.1% 0 0.0% 0 0.0%
shortcut_set_switch_access0 N/A% 1 12.5% 2 14.3% 0 0.0% 0 0.0%
edit_page_build0 N/A% 1 12.5% 2 14.3% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 11 137.5% 7 50.0% 0 0.0% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% -8 -100.0% -14 -100.0% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% -8 -100.0% -17 -121.4% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -3 -37.5% 3 21.4% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 2 25.0% 5 35.7% 0 0.0% 0 0.0%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -2 -25.0% -3 -21.4% 0 0.0% -88 -137.5%