Diff Report
Run #52f30aadf2c65: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #52f30b8747627: 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 #52f30aadf2c65Run #52f30b8747627DiffDiff%
Number of Function Calls37 37 0 0.0%
Incl. Wall Time (microsec)20,501 24,156 3,655 17.8%
Incl. Wall Time (microsec) per call 554 653 99 17.8%
Excl. Wall Time (microsec)613 612 -1 -0.2%
Incl. CPU (microsecs)20,368 23,990 3,622 17.8%
Incl. CPU (microsecs) per call 550 648 98 17.8%
Excl. CPU (microsec)457 452 -5 -1.1%
Incl. MemUse (bytes)1,404,488 1,404,496 8 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,120 -536 -0.0%
Incl. PeakMemUse (bytes) per call 38,369 38,355 -14 -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% 3,655 87.1% 3,622 88.8% 8 0.0% -536 -0.7%
Exclusive Metrics Diff for Current Function-1 -0.0% -5 -0.1% 0 0.0% 0 0.0%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 3,787 103.6% 3,750 103.5% 8 100.0% -152 -28.4%
edit_page_build0 N/A% -90 -2.5% -88 -2.4% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% -43 -1.2% -43 -1.2% 0 0.0% 0 0.0%
shortcut_set_switch_access0 N/A% 36 1.0% 37 1.0% 0 0.0% 0 0.0%
Drupal\aggregator\Plugin\Block\AggregatorFeedBlock::access0 N/A% -30 -0.8% -31 -0.9% 0 0.0% -384 -71.6%
user_access0 N/A% 27 0.7% 28 0.8% 0 0.0% 0 0.0%
contextual_page_build0 N/A% -23 -0.6% -23 -0.6% 0 0.0% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -20 -0.5% -21 -0.6% 0 0.0% 0 0.0%
Drupal\views\ViewsAccessCheck::access0 N/A% 19 0.5% 21 0.6% 0 0.0% 0 0.0%
rdf_preprocess_node0 N/A% 14 0.4% 13 0.4% 0 0.0% 0 0.0%
user_template_preprocess_default_variables_alter0 N/A% -14 -0.4% -14 -0.4% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% -5 -0.1% -4 -0.1% 0 0.0% 0 0.0%
template_preprocess_username0 N/A% -3 -0.1% -3 -0.1% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 3,497 95.7% 3,490 96.4% -8 -100.0% -80 -14.9%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 159 4.4% 138 3.8% 16 200.0% -456 -85.1%
Drupal\Core\Session\UserSession::getRoles0 N/A% 2 0.1% 15 0.4% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% -1 -0.0% -5 -0.1% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% -1 -0.0% -7 -0.2% 0 0.0% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% 0 0.0% -4 -0.1% 0 0.0% 0 0.0%