Diff Report
Run #52e49caf3c7f2: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #52e49d4d3a1f8: 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 #52e49d4d3a1f8DiffDiff%
Number of Function Calls48 48 0 0.0%
Incl. Wall Time (microsec)20,280 20,580 300 1.5%
Incl. Wall Time (microsec) per call 423 429 6 1.5%
Excl. Wall Time (microsec)749 751 2 0.3%
Incl. CPU (microsecs)20,165 20,483 318 1.6%
Incl. CPU (microsecs) per call 420 427 7 1.6%
Excl. CPU (microsec)546 566 20 3.7%
Incl. MemUse (bytes)1,308,696 1,308,696 0 0.0%
Incl. MemUse (bytes) per call 27,265 27,265 0 0.0%
Excl. MemUse (bytes)-14,720 -14,720 0 0.0%
Incl. PeakMemUse (bytes)1,317,320 1,317,320 0 0.0%
Incl. PeakMemUse (bytes) per call 27,444 27,444 0 0.0%
Excl. PeakMemUse (bytes)3,888 3,888 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% 300 31.4% 318 34.8% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function2 0.7% 20 6.3% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 293 97.7% 316 99.4% 0 N/A% 0 N/A%
user_access0 N/A% 79 26.3% 78 24.5% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% -60 -20.0% -61 -19.2% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% -18 -6.0% -19 -6.0% 0 N/A% 0 N/A%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% 15 5.0% 16 5.0% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% -11 -3.7% -11 -3.5% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 2 0.7% 3 0.9% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% -1 -0.3% -3 -0.9% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 1 0.3% 0 0.0% 0 N/A% 0 N/A%
edit_page_build0 N/A% 0 0.0% -1 -0.3% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 176 58.7% 172 54.1% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 97 32.3% 107 33.6% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 12 4.0% 11 3.5% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 8 2.7% 5 1.6% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 3 1.0% 6 1.9% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 2 0.7% -3 -0.9% 0 N/A% 0 N/A%