Diff Report
Run #52e49caf3c7f2: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #52e49d73f02cb: 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 #52e49caf3c7f2Run #52e49d73f02cbDiffDiff%
Number of Function Calls48 48 0 0.0%
Incl. Wall Time (microsec)20,280 20,422 142 0.7%
Incl. Wall Time (microsec) per call 423 425 3 0.7%
Excl. Wall Time (microsec)749 745 -4 -0.5%
Incl. CPU (microsecs)20,165 20,354 189 0.9%
Incl. CPU (microsecs) per call 420 424 4 0.9%
Excl. CPU (microsec)546 547 1 0.2%
Incl. MemUse (bytes)1,308,696 1,308,688 -8 -0.0%
Incl. MemUse (bytes) per call 27,265 27,264 -0 -0.0%
Excl. MemUse (bytes)-14,720 -14,712 8 0.1%
Incl. PeakMemUse (bytes)1,317,320 1,316,656 -664 -0.1%
Incl. PeakMemUse (bytes) per call 27,444 27,430 -14 -0.1%
Excl. PeakMemUse (bytes)3,888 3,680 -208 -5.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% 142 5.6% 189 9.2% -8 -0.0% -664 -1.0%
Exclusive Metrics Diff for Current Function-4 -2.8% 1 0.5% 8 100.0% -208 -31.3%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 208 146.5% 262 138.6% -16 -200.0% 40 6.0%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% -69 -48.6% -71 -37.6% 0 0.0% 0 0.0%
user_template_preprocess_default_variables_alter0 N/A% 46 32.4% 41 21.7% 0 0.0% 416 62.7%
tour_preprocess_page0 N/A% -22 -15.5% -23 -12.2% 0 0.0% 1,656 249.4%
user_access0 N/A% 22 15.5% 23 12.2% 8 100.0% -104 -15.7%
shortcut_set_edit_access0 N/A% -21 -14.8% -22 -11.6% 0 0.0% -2,672 -402.4%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -15 -10.6% -14 -7.4% 0 0.0% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% -5 -3.5% -4 -2.1% 0 0.0% 0 0.0%
contextual_page_build0 N/A% -3 -2.1% -5 -2.6% 0 0.0% 0 0.0%
edit_page_build0 N/A% 1 0.7% 2 1.1% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 106 74.6% 118 62.4% 24 300.0% 80 12.0%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 57 40.1% 86 45.5% -40 -500.0% -536 -80.7%
Drupal::entityManager0 N/A% -7 -4.9% -1 -0.5% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% -4 -2.8% -4 -2.1% 0 0.0% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% -3 -2.1% -5 -2.6% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -3 -2.1% -6 -3.2% 0 0.0% 0 0.0%