Diff Report
Run #52e49acfb0eb8: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #52e49b394aea8: 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 #52e49acfb0eb8Run #52e49b394aea8DiffDiff%
Number of Function Calls26 26 0 0.0%
Incl. Wall Time (microsec)8,299 8,399 100 1.2%
Incl. Wall Time (microsec) per call 319 323 4 1.2%
Excl. Wall Time (microsec)376 375 -1 -0.3%
Incl. CPU (microsecs)7,858 7,940 82 1.0%
Incl. CPU (microsecs) per call 302 305 3 1.0%
Excl. CPU (microsec)259 265 6 2.3%
Incl. MemUse (bytes)778,992 779,032 40 0.0%
Incl. MemUse (bytes) per call 29,961 29,963 2 0.0%
Excl. MemUse (bytes)-2,592 -2,592 0 0.0%
Incl. PeakMemUse (bytes)804,960 799,032 -5,928 -0.7%
Incl. PeakMemUse (bytes) per call 30,960 30,732 -228 -0.7%
Excl. PeakMemUse (bytes)4,024 3,632 -392 -9.7%

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% 100 9.0% 82 10.1% 40 0.2% -5,928 -22.4%
Exclusive Metrics Diff for Current Function-1 -1.0% 6 7.3% 0 0.0% -392 -6.6%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 175 175.0% 160 195.1% 40 100.0% 64 1.1%
user_access0 N/A% -63 -63.0% -62 -75.6% 0 0.0% -3,152 -53.2%
shortcut_set_edit_access0 N/A% -34 -34.0% -34 -41.5% 0 0.0% 0 0.0%
user_template_preprocess_default_variables_alter0 N/A% 33 33.0% 33 40.2% 0 0.0% -2,840 -47.9%
tour_preprocess_page0 N/A% -18 -18.0% -18 -22.0% 0 0.0% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% 13 13.0% 12 14.6% 0 0.0% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% -4 -4.0% -5 -6.1% 0 0.0% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -1 -1.0% -1 -1.2% 0 0.0% 0 0.0%
Drupal\contact\Controller\ContactController::contactSitePage0 N/A% 1 1.0% 1 1.2% 0 0.0% 0 0.0%
edit_page_build0 N/A% -1 -1.0% -2 -2.4% 0 0.0% 0 0.0%
contextual_page_build0 N/A% -1 -1.0% -2 -2.4% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 86 86.0% 79 96.3% 0 0.0% -4,712 -79.5%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 16 16.0% 13 15.9% 40 100.0% 40 0.7%
Drupal\user\Entity\Role::hasPermission0 N/A% -2 -2.0% -5 -6.1% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% 1 1.0% -5 -6.1% 0 0.0% -864 -14.6%
Drupal\Core\Session\UserSession::getRoles0 N/A% 0 0.0% -6 -7.3% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 0 0.0% 0 0.0% 0 0.0%