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

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

Drupal\Core\Session\UserSession::hasPermissionRun #52f30b3f0ac5aRun #52f30aadf2c65DiffDiff%
Number of Function Calls37 37 0 0.0%
Incl. Wall Time (microsec)20,472 20,501 29 0.1%
Incl. Wall Time (microsec) per call 553 554 1 0.1%
Excl. Wall Time (microsec)605 613 8 1.3%
Incl. CPU (microsecs)20,337 20,368 31 0.2%
Incl. CPU (microsecs) per call 550 550 1 0.2%
Excl. CPU (microsec)419 457 38 9.1%
Incl. MemUse (bytes)1,404,488 1,404,488 0 0.0%
Incl. MemUse (bytes) per call 37,959 37,959 0 0.0%
Excl. MemUse (bytes)-6,272 -6,272 0 0.0%
Incl. PeakMemUse (bytes)1,419,656 1,419,656 0 0.0%
Incl. PeakMemUse (bytes) per call 38,369 38,369 0 0.0%
Excl. PeakMemUse (bytes)3,840 3,840 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% 29 8.8% 31 19.0% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function8 27.6% 38 122.6% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -87 -300.0% -93 -300.0% 0 N/A% 0 N/A%
edit_page_build0 N/A% 74 255.2% 72 232.3% 0 N/A% 0 N/A%
user_access0 N/A% 48 165.5% 53 171.0% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% -37 -127.6% -35 -112.9% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 30 103.4% 30 96.8% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 21 72.4% 20 64.5% 0 N/A% 0 N/A%
rdf_preprocess_node0 N/A% -10 -34.5% -9 -29.0% 0 N/A% 0 N/A%
shortcut_set_switch_access0 N/A% -8 -27.6% -8 -25.8% 0 N/A% 0 N/A%
Drupal\aggregator\Plugin\Block\AggregatorFeedBlock::access0 N/A% 6 20.7% 9 29.0% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -4 -13.8% -4 -12.9% 0 N/A% 0 N/A%
Drupal\views\ViewsAccessCheck::access0 N/A% -3 -10.3% -4 -12.9% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% -2 -6.9% -1 -3.2% 0 N/A% 0 N/A%
template_preprocess_username0 N/A% 1 3.4% 1 3.2% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 222 765.5% 225 725.8% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -217 -748.3% -234 -754.8% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 7 24.1% 4 12.9% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 6 20.7% 0 0.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 3 10.3% -7 -22.6% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 5 16.1% 0 N/A% 0 N/A%