Diff Report
Run #52e4a1c03557c: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #52e4a1fd8a982: XHProf Run (Namespace=drupal-perf-drupalcon)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\Core\Session\UserSession::hasPermission

Drupal\Core\Session\UserSession::hasPermissionRun #52e4a1c03557cRun #52e4a1fd8a982DiffDiff%
Number of Function Calls26 26 0 0.0%
Incl. Wall Time (microsec)8,310 8,285 -25 -0.3%
Incl. Wall Time (microsec) per call 320 319 -1 -0.3%
Excl. Wall Time (microsec)365 367 2 0.5%
Incl. CPU (microsecs)7,879 7,840 -39 -0.5%
Incl. CPU (microsecs) per call 303 302 -2 -0.5%
Excl. CPU (microsec)248 256 8 3.2%
Incl. MemUse (bytes)779,184 779,184 0 0.0%
Incl. MemUse (bytes) per call 29,969 29,969 0 0.0%
Excl. MemUse (bytes)-2,592 -2,592 0 0.0%
Incl. PeakMemUse (bytes)805,160 805,160 0 0.0%
Incl. PeakMemUse (bytes) per call 30,968 30,968 0 0.0%
Excl. PeakMemUse (bytes)4,024 4,024 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% -25 -6.2% -39 -10.5% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function2 8.0% 8 20.5% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -30 -120.0% -41 -105.1% 0 N/A% 0 N/A%
user_access0 N/A% 27 108.0% 20 51.3% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -18 -72.0% -16 -41.0% 0 N/A% 0 N/A%
Drupal\contact\Controller\ContactController::contactSitePage0 N/A% -9 -36.0% -7 -17.9% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 3 12.0% 2 5.1% 0 N/A% 0 N/A%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% -2 -8.0% -1 -2.6% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 1 4.0% 1 2.6% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 1 4.0% 2 5.1% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% 1 4.0% 0 0.0% 0 N/A% 0 N/A%
edit_page_build0 N/A% 1 4.0% 0 0.0% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 0 0.0% 1 2.6% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -37 -148.0% -63 -161.5% 0 N/A% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 4 16.0% 17 43.6% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 4 16.0% 4 10.3% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 3 12.0% 0 0.0% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -1 -4.0% -5 -12.8% 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%