Diff Report
Run #52e48ec52134e: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #52e48e674e7b6: 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 #52e48ec52134eRun #52e48e674e7b6DiffDiff%
Number of Function Calls17 17 0 0.0%
Incl. Wall Time (microsec)8,445 8,668 223 2.6%
Incl. Wall Time (microsec) per call 497 510 13 2.6%
Excl. Wall Time (microsec)299 291 -8 -2.7%
Incl. CPU (microsecs)8,399 8,594 195 2.3%
Incl. CPU (microsecs) per call 494 506 11 2.3%
Excl. CPU (microsec)225 232 7 3.1%
Incl. MemUse (bytes)438,584 438,584 0 0.0%
Incl. MemUse (bytes) per call 25,799 25,799 0 0.0%
Excl. MemUse (bytes)1,384 1,384 0 0.0%
Incl. PeakMemUse (bytes)450,080 450,080 0 0.0%
Incl. PeakMemUse (bytes) per call 26,475 26,475 0 0.0%
Excl. PeakMemUse (bytes)3,536 3,536 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% 223 32.7% 195 31.1% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-8 -3.6% 7 3.6% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 262 117.5% 235 120.5% 0 N/A% 0 N/A%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% -26 -11.7% -26 -13.3% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% -18 -8.1% -18 -9.2% 0 N/A% 0 N/A%
user_access0 N/A% 17 7.6% 17 8.7% 0 N/A% 0 N/A%
edit_page_build0 N/A% -9 -4.0% -8 -4.1% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% -5 -2.2% -6 -3.1% 0 N/A% 0 N/A%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 5 2.2% 6 3.1% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% -4 -1.8% -5 -2.6% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 1 0.4% 0 0.0% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 220 98.7% 191 97.9% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 10 4.5% 6 3.1% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 1 0.4% -1 -0.5% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 0 0.0% -8 -4.1% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 0 0.0% -3 -1.5% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 3 1.5% 0 N/A% 0 N/A%