Diff Report
Run #52c1d5ca86be3: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #52c1d65bccb31: 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 #52c1d5ca86be3Run #52c1d65bccb31DiffDiff%
Number of Function Calls34 34 0 0.0%
Incl. Wall Time (microsec)9,257 9,271 14 0.2%
Incl. Wall Time (microsec) per call 272 273 0 0.2%
Excl. Wall Time (microsec)536 545 9 1.7%
Incl. CPU (microsecs)9,254 9,268 14 0.2%
Incl. CPU (microsecs) per call 272 273 0 0.2%
Excl. CPU (microsec)371 392 21 5.7%
Incl. MemUse (bytes)128,536 128,472 -64 -0.0%
Incl. MemUse (bytes) per call 3,780 3,779 -2 -0.0%
Excl. MemUse (bytes)-6,376 -6,376 0 0.0%
Incl. PeakMemUse (bytes)134,280 134,272 -8 -0.0%
Incl. PeakMemUse (bytes) per call 3,949 3,949 -0 -0.0%
Excl. PeakMemUse (bytes)3,704 3,552 -152 -4.1%

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% 14 0.1% 14 0.5% -64 -0.1% -8 -0.0%
Exclusive Metrics Diff for Current Function9 64.3% 21 150.0% 0 0.0% -152 -1900.0%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -66 -471.4% -75 -535.7% -64 -100.0% -64 -800.0%
user_access0 N/A% 64 457.1% 70 500.0% 0 0.0% 432 5400.0%
tour_preprocess_page0 N/A% -23 -164.3% -23 -164.3% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% 20 142.9% 20 142.9% 0 0.0% -376 -4700.0%
contextual_toolbar0 N/A% 20 142.9% 21 150.0% 0 0.0% 0 0.0%
edit_page_build0 N/A% 16 114.3% 17 121.4% 0 0.0% 0 0.0%
tour_toolbar0 N/A% -11 -78.6% -10 -71.4% 0 0.0% 0 0.0%
Drupal\views\ViewsAccessCheck::access0 N/A% -11 -78.6% -11 -78.6% 0 0.0% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 7 50.0% 8 57.1% 0 0.0% 0 0.0%
contextual_page_build0 N/A% -2 -14.3% -2 -14.3% 0 0.0% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 0 0.0% -1 -7.1% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Session\UserSession::getRoles0 N/A% 11 78.6% -1 -7.1% 0 0.0% 0 0.0%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -10 -71.4% -16 -114.3% -64 -100.0% 144 1800.0%
Drupal::entityManager0 N/A% 4 28.6% 8 57.1% 0 0.0% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% 3 21.4% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -3 -21.4% -5 -35.7% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 7 50.0% 0 0.0% 0 0.0%