Diff Report
Run #52d3e85377bba: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52d3e812c7cf2: 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 #52d3e85377bbaRun #52d3e812c7cf2DiffDiff%
Number of Function Calls33 33 0 0.0%
Incl. Wall Time (microsec)10,492 10,471 -21 -0.2%
Incl. Wall Time (microsec) per call 318 317 -1 -0.2%
Excl. Wall Time (microsec)425 430 5 1.2%
Incl. CPU (microsecs)10,203 10,215 12 0.1%
Incl. CPU (microsecs) per call 309 310 0 0.1%
Excl. CPU (microsec)292 280 -12 -4.1%
Incl. MemUse (bytes)830,128 830,136 8 0.0%
Incl. MemUse (bytes) per call 25,155 25,156 0 0.0%
Excl. MemUse (bytes)-7,656 -7,656 0 0.0%
Incl. PeakMemUse (bytes)856,416 856,424 8 0.0%
Incl. PeakMemUse (bytes) per call 25,952 25,952 0 0.0%
Excl. PeakMemUse (bytes)3,856 3,856 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% -21 -1.2% 12 0.7% 8 0.0% 8 0.0%
Exclusive Metrics Diff for Current Function5 23.8% -12 -100.0% 0 0.0% 0 0.0%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -20 -95.2% 18 150.0% 8 100.0% 8 100.0%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% 14 66.7% 15 125.0% 0 0.0% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -4 -19.0% -5 -41.7% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% -4 -19.0% -5 -41.7% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% -3 -14.3% -2 -16.7% 0 0.0% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% -3 -14.3% -4 -33.3% 0 0.0% 0 0.0%
contextual_page_build0 N/A% -1 -4.8% -1 -8.3% 0 0.0% 0 0.0%
user_access0 N/A% -1 -4.8% -4 -33.3% 0 0.0% 0 0.0%
edit_page_build0 N/A% 1 4.8% 0 0.0% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -40 -190.5% -29 -241.7% -8 -100.0% -8 -100.0%
Drupal::entityManager0 N/A% 10 47.6% 12 100.0% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 4 19.0% 11 91.7% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% -4 -19.0% 5 41.7% 0 0.0% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% 3 14.3% 2 16.7% 0 0.0% 0 0.0%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 1 4.8% 23 191.7% 16 200.0% 16 200.0%