Diff Report
Run #52f5c11235c73: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52f5c0b2e882a: XHProf Run (Namespace=drupal-perf-cottser)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\Core\Session\UserSession::hasPermission

Drupal\Core\Session\UserSession::hasPermissionRun #52f5c11235c73Run #52f5c0b2e882aDiffDiff%
Number of Function Calls24 24 0 0.0%
Incl. Wall Time (microsec)10,730 10,679 -51 -0.5%
Incl. Wall Time (microsec) per call 447 445 -2 -0.5%
Excl. Wall Time (microsec)319 326 7 2.2%
Incl. CPU (microsecs)10,327 10,240 -87 -0.8%
Incl. CPU (microsecs) per call 430 427 -4 -0.8%
Excl. CPU (microsec)210 215 5 2.4%
Incl. MemUse (bytes)1,281,728 1,281,784 56 0.0%
Incl. MemUse (bytes) per call 53,405 53,408 2 0.0%
Excl. MemUse (bytes)-2,592 -2,592 0 0.0%
Incl. PeakMemUse (bytes)1,300,520 1,300,136 -384 -0.0%
Incl. PeakMemUse (bytes) per call 54,188 54,172 -16 -0.0%
Excl. PeakMemUse (bytes)2,456 2,456 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% -51 -12.3% -87 -36.7% 56 0.1% -384 -0.9%
Exclusive Metrics Diff for Current Function7 13.7% 5 5.7% 0 0.0% 0 0.0%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -43 -84.3% -69 -79.3% 56 100.0% 56 14.6%
user_template_preprocess_default_variables_alter0 N/A% -5 -9.8% -6 -6.9% 0 0.0% -528 -137.5%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% -3 -5.9% -2 -2.3% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% 2 3.9% 0 0.0% 0 0.0% 0 0.0%
contextual_page_build0 N/A% -2 -3.9% -2 -2.3% 0 0.0% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% -2 -3.9% -3 -3.4% 0 0.0% 0 0.0%
user_access0 N/A% 2 3.9% -6 -6.9% 0 0.0% 88 22.9%
edit_page_build0 N/A% -1 -2.0% 0 0.0% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% 1 2.0% 1 1.1% 0 0.0% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -28 -54.9% -45 -51.7% 96 171.4% 152 39.6%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -24 -47.1% -49 -56.3% -40 -71.4% -536 -139.6%
Drupal\Core\Session\UserSession::id0 N/A% -5 -9.8% 3 3.4% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% -4 -7.8% 0 0.0% 0 0.0% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% 2 3.9% -2 -2.3% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 1 2.0% 1 1.1% 0 0.0% 0 0.0%