Diff Report
Run #530ed20e39905: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #530ed1c5bdc6a: 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 #530ed20e39905Run #530ed1c5bdc6aDiffDiff%
Number of Function Calls42 42 0 0.0%
Incl. Wall Time (microsec)20,423 20,088 -335 -1.6%
Incl. Wall Time (microsec) per call 486 478 -8 -1.6%
Excl. Wall Time (microsec)671 656 -15 -2.2%
Incl. CPU (microsecs)20,310 19,970 -340 -1.7%
Incl. CPU (microsecs) per call 484 475 -8 -1.7%
Excl. CPU (microsec)490 454 -36 -7.3%
Incl. MemUse (bytes)1,413,304 1,413,304 0 0.0%
Incl. MemUse (bytes) per call 33,650 33,650 0 0.0%
Excl. MemUse (bytes)-11,128 -11,128 0 0.0%
Incl. PeakMemUse (bytes)1,438,944 1,438,944 0 0.0%
Incl. PeakMemUse (bytes) per call 34,261 34,261 0 0.0%
Excl. PeakMemUse (bytes)3,552 3,552 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% -335 -58.3% -340 -45.5% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-15 -4.5% -36 -10.6% 0 N/A% 0 N/A%
Parent functions
user_access0 N/A% -175 -52.2% -183 -53.8% 0 N/A% 0 N/A%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -113 -33.7% -109 -32.1% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -50 -14.9% -50 -14.7% 0 N/A% 0 N/A%
contextual_page_build0 N/A% -31 -9.3% -30 -8.8% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 18 5.4% 17 5.0% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% -14 -4.2% -14 -4.1% 0 N/A% 0 N/A%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% 12 3.6% 12 3.5% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% 11 3.3% 12 3.5% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 8 2.4% 8 2.4% 0 N/A% 0 N/A%
edit_page_build0 N/A% -6 -1.8% -8 -2.4% 0 N/A% 0 N/A%
Drupal\views\ViewsAccessCheck::access0 N/A% 5 1.5% 5 1.5% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -274 -81.8% -277 -81.5% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -15 -4.5% -16 -4.7% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -14 -4.2% -8 -2.4% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -8 -2.4% -2 -0.6% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -5 -1.5% -8 -2.4% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -4 -1.2% 7 2.1% 0 N/A% 0 N/A%