Diff Report
Run #52f5c520502f0: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52f5c574bebaf: 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 #52f5c520502f0Run #52f5c574bebafDiffDiff%
Number of Function Calls32 32 0 0.0%
Incl. Wall Time (microsec)11,910 11,765 -145 -1.2%
Incl. Wall Time (microsec) per call 372 368 -5 -1.2%
Excl. Wall Time (microsec)414 420 6 1.4%
Incl. CPU (microsecs)11,526 11,382 -144 -1.2%
Incl. CPU (microsecs) per call 360 356 -5 -1.2%
Excl. CPU (microsec)290 283 -7 -2.4%
Incl. MemUse (bytes)1,282,168 1,282,112 -56 -0.0%
Incl. MemUse (bytes) per call 40,068 40,066 -2 -0.0%
Excl. MemUse (bytes)-6,816 -6,816 0 0.0%
Incl. PeakMemUse (bytes)1,298,960 1,299,432 472 0.0%
Incl. PeakMemUse (bytes) per call 40,593 40,607 15 0.0%
Excl. PeakMemUse (bytes)2,408 2,408 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% -145 -630.4% -144 -156.5% -56 -0.1% 472 1.0%
Exclusive Metrics Diff for Current Function6 4.1% -7 -4.9% 0 0.0% 0 0.0%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -137 -94.5% -132 -91.7% -56 -100.0% -56 -11.9%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% -19 -13.1% -19 -13.2% 0 0.0% 0 0.0%
user_template_preprocess_default_variables_alter0 N/A% 15 10.3% 12 8.3% 0 0.0% 528 111.9%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -3 -2.1% -2 -1.4% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% 1 0.7% 2 1.4% 0 0.0% 0 0.0%
edit_page_build0 N/A% -1 -0.7% -1 -0.7% 0 0.0% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% -1 -0.7% -2 -1.4% 0 0.0% 0 0.0%
contextual_page_build0 N/A% 1 0.7% 0 0.0% 0 0.0% 0 0.0%
user_access0 N/A% -1 -0.7% -2 -1.4% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -159 -109.7% -145 -100.7% -96 -171.4% -152 -32.2%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 23 15.9% 14 9.7% 40 71.4% 624 132.2%
Drupal\user\Entity\Role::hasPermission0 N/A% -5 -3.4% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% -4 -2.8% 1 0.7% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% -4 -2.8% -3 -2.1% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -2 -1.4% -4 -2.8% 0 0.0% 0 0.0%