Diff Report
Run #52f5c5484cf48: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52f5c520502f0: 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 #52f5c5484cf48Run #52f5c520502f0DiffDiff%
Number of Function Calls32 32 0 0.0%
Incl. Wall Time (microsec)11,910 11,910 0 0.0%
Incl. Wall Time (microsec) per call 372 372 0 0.0%
Excl. Wall Time (microsec)421 414 -7 -1.7%
Incl. CPU (microsecs)11,488 11,526 38 0.3%
Incl. CPU (microsecs) per call 359 360 1 0.3%
Excl. CPU (microsec)284 290 6 2.1%
Incl. MemUse (bytes)1,282,168 1,282,168 0 0.0%
Incl. MemUse (bytes) per call 40,068 40,068 0 0.0%
Excl. MemUse (bytes)-6,816 -6,816 0 0.0%
Incl. PeakMemUse (bytes)1,298,960 1,298,960 0 0.0%
Incl. PeakMemUse (bytes) per call 40,593 40,593 0 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% 0 0.0% 38 6.8% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-7 N/A% 6 15.8% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -40 N/A% -11 -28.9% 0 N/A% 0 N/A%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% 18 N/A% 19 50.0% 0 N/A% 0 N/A%
user_access0 N/A% 12 N/A% 19 50.0% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 4 N/A% 4 10.5% 0 N/A% 0 N/A%
edit_page_build0 N/A% 2 N/A% 1 2.6% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 2 N/A% 2 5.3% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% 1 N/A% 4 10.5% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 1 N/A% 0 0.0% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 0 N/A% 0 0.0% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 0 N/A% 0 0.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -139 N/A% -100 -263.2% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 137 N/A% 132 347.4% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 3 N/A% 2 5.3% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 2 N/A% 2 5.3% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 2 N/A% -1 -2.6% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 2 N/A% -3 -7.9% 0 N/A% 0 N/A%