Diff Report
Run #52e4a222581ef: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #52e4a1c03557c: 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 #52e4a222581efRun #52e4a1c03557cDiffDiff%
Number of Function Calls26 26 0 0.0%
Incl. Wall Time (microsec)8,538 8,310 -228 -2.7%
Incl. Wall Time (microsec) per call 328 320 -9 -2.7%
Excl. Wall Time (microsec)382 365 -17 -4.5%
Incl. CPU (microsecs)8,069 7,879 -190 -2.4%
Incl. CPU (microsecs) per call 310 303 -7 -2.4%
Excl. CPU (microsec)270 248 -22 -8.1%
Incl. MemUse (bytes)779,216 779,184 -32 -0.0%
Incl. MemUse (bytes) per call 29,970 29,969 -1 -0.0%
Excl. MemUse (bytes)-2,592 -2,592 0 0.0%
Incl. PeakMemUse (bytes)802,352 805,160 2,808 0.3%
Incl. PeakMemUse (bytes) per call 30,860 30,968 108 0.3%
Excl. PeakMemUse (bytes)3,784 4,024 240 6.3%

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% -228 -46.2% -190 -89.6% -32 -0.1% 2,808 10.6%
Exclusive Metrics Diff for Current Function-17 -7.5% -22 -11.6% 0 0.0% 240 8.5%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -129 -56.6% -93 -48.9% -32 -100.0% -32 -1.1%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% -48 -21.1% -48 -25.3% 0 0.0% 0 0.0%
user_template_preprocess_default_variables_alter0 N/A% -37 -16.2% -37 -19.5% 0 0.0% 2,840 101.1%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 15 6.6% 14 7.4% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% -13 -5.7% -12 -6.3% 0 0.0% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% -13 -5.7% -13 -6.8% 0 0.0% 0 0.0%
Drupal\contact\Controller\ContactController::contactSitePage0 N/A% 10 4.4% 8 4.2% 0 0.0% 0 0.0%
user_access0 N/A% -5 -2.2% -1 -0.5% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% -5 -2.2% -6 -3.2% 0 0.0% 0 0.0%
contextual_page_build0 N/A% -2 -0.9% -2 -1.1% 0 0.0% 0 0.0%
edit_page_build0 N/A% -1 -0.4% 0 0.0% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -233 -102.2% -226 -118.9% 0 0.0% 2,192 78.1%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 31 13.6% 52 27.4% -32 -100.0% -32 -1.1%
Drupal\Core\Session\UserSession::getRoles0 N/A% -5 -2.2% 1 0.5% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% -2 -0.9% 3 1.6% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% -2 -0.9% -4 -2.1% 0 0.0% 408 14.5%
Drupal\user\Entity\Role::hasPermission0 N/A% 0 0.0% 6 3.2% 0 0.0% 0 0.0%