Diff Report
Run #52e49acfb0eb8: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #52e49b28a90e1: 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 #52e49b28a90e1DiffDiff%
Number of Function Calls26 26 0 0.0%
Incl. Wall Time (microsec)8,299 8,474 175 2.1%
Incl. Wall Time (microsec) per call 319 326 7 2.1%
Excl. Wall Time (microsec)376 375 -1 -0.3%
Incl. CPU (microsecs)7,858 8,010 152 1.9%
Incl. CPU (microsecs) per call 302 308 6 1.9%
Excl. CPU (microsec)259 262 3 1.2%
Incl. MemUse (bytes)778,992 778,992 0 0.0%
Incl. MemUse (bytes) per call 29,961 29,961 0 0.0%
Excl. MemUse (bytes)-2,592 -2,592 0 0.0%
Incl. PeakMemUse (bytes)804,960 804,960 0 0.0%
Incl. PeakMemUse (bytes) per call 30,960 30,960 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% 175 61.2% 152 35.8% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-1 -0.6% 3 2.0% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 81 46.3% 68 44.7% 0 N/A% 0 N/A%
user_access0 N/A% 64 36.6% 59 38.8% 0 N/A% 0 N/A%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% 18 10.3% 18 11.8% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 12 6.9% 12 7.9% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% -3 -1.7% -3 -2.0% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 2 1.1% 0 0.0% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 2 1.1% 1 0.7% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -1 -0.6% -2 -1.3% 0 N/A% 0 N/A%
Drupal\contact\Controller\ContactController::contactSitePage0 N/A% 0 0.0% 1 0.7% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% 0 0.0% -1 -0.7% 0 N/A% 0 N/A%
edit_page_build0 N/A% 0 0.0% -1 -0.7% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 127 72.6% 116 76.3% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 21 12.0% 15 9.9% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 12 6.9% 13 8.6% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 7 4.0% 9 5.9% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 6 3.4% 4 2.6% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 3 1.7% -8 -5.3% 0 N/A% 0 N/A%