Diff Report
Run #52e48ef364ce3: 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 #52e48ef364ce3Run #52e48e674e7b6DiffDiff%
Number of Function Calls17 17 0 0.0%
Incl. Wall Time (microsec)9,049 8,668 -381 -4.2%
Incl. Wall Time (microsec) per call 532 510 -22 -4.2%
Excl. Wall Time (microsec)298 291 -7 -2.3%
Incl. CPU (microsecs)8,999 8,594 -405 -4.5%
Incl. CPU (microsecs) per call 529 506 -24 -4.5%
Excl. CPU (microsec)222 232 10 4.5%
Incl. MemUse (bytes)438,456 438,584 128 0.0%
Incl. MemUse (bytes) per call 25,792 25,799 8 0.0%
Excl. MemUse (bytes)1,384 1,384 0 0.0%
Incl. PeakMemUse (bytes)446,872 450,080 3,208 0.7%
Incl. PeakMemUse (bytes) per call 26,287 26,475 189 0.7%
Excl. PeakMemUse (bytes)3,296 3,536 240 7.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% -381 -119.8% -405 -102.0% 128 0.3% 3,208 7.3%
Exclusive Metrics Diff for Current Function-7 -1.8% 10 2.5% 0 0.0% 240 7.5%
Parent functions
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -298 -78.2% -320 -79.0% 128 100.0% 496 15.5%
user_template_preprocess_default_variables_alter0 N/A% -53 -13.9% -53 -13.1% 0 0.0% 2,824 88.0%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -52 -13.6% -52 -12.8% 0 0.0% 0 0.0%
user_access0 N/A% 33 8.7% 33 8.1% 0 0.0% -112 -3.5%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% -16 -4.2% -15 -3.7% 0 0.0% 0 0.0%
edit_page_build0 N/A% 2 0.5% 2 0.5% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% 2 0.5% -1 -0.2% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% 1 0.3% 2 0.5% 0 0.0% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% -1 -0.3% -2 -0.5% 0 0.0% 0 0.0%
contextual_page_build0 N/A% 1 0.3% 1 0.2% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -320 -84.0% -347 -85.7% 112 87.5% 2,040 63.6%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -47 -12.3% -51 -12.6% 16 12.5% 192 6.0%
Drupal\user\Entity\Role::hasPermission0 N/A% -7 -1.8% -7 -1.7% 0 0.0% -8 -0.2%
Drupal::entityManager0 N/A% 0 0.0% -7 -1.7% 0 0.0% 744 23.2%
Drupal\Core\Session\UserSession::getRoles0 N/A% 0 0.0% -3 -0.7% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 0 0.0% 0 0.0% 0 0.0%