Diff Report
Run #52c96ba78d568: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52c96b69a1c07: 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 #52c96ba78d568Run #52c96b69a1c07DiffDiff%
Number of Function Calls24 24 0 0.0%
Incl. Wall Time (microsec)6,084 6,006 -78 -1.3%
Incl. Wall Time (microsec) per call 254 250 -3 -1.3%
Excl. Wall Time (microsec)312 316 4 1.3%
Incl. CPU (microsecs)6,009 5,932 -77 -1.3%
Incl. CPU (microsecs) per call 250 247 -3 -1.3%
Excl. CPU (microsec)211 213 2 0.9%
Incl. MemUse (bytes)417,368 417,368 0 0.0%
Incl. MemUse (bytes) per call 17,390 17,390 0 0.0%
Excl. MemUse (bytes)-3,032 -3,032 0 0.0%
Incl. PeakMemUse (bytes)378,888 378,888 0 0.0%
Incl. PeakMemUse (bytes) per call 15,787 15,787 0 0.0%
Excl. PeakMemUse (bytes)2,760 2,760 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% -78 -105.4% -77 -7700.0% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function4 5.1% 2 2.6% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -73 -93.6% -72 -93.5% 0 N/A% 0 N/A%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -38 -48.7% -37 -48.1% 0 N/A% 0 N/A%
Drupal\filter\FilterFormatAccessController::checkAccess0 N/A% 34 43.6% 32 41.6% 0 N/A% 0 N/A%
user_access0 N/A% 5 6.4% 4 5.2% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% -4 -5.1% -3 -3.9% 0 N/A% 0 N/A%
contextual_page_build0 N/A% -2 -2.6% -2 -2.6% 0 N/A% 0 N/A%
edit_page_build0 N/A% 1 1.3% 1 1.3% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% -1 -1.3% 0 0.0% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -56 -71.8% -62 -80.5% 0 N/A% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -43 -55.1% -42 -54.5% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 22 28.2% 22 28.6% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -3 -3.8% 2 2.6% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -1 -1.3% 3 3.9% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -1 -1.3% -2 -2.6% 0 N/A% 0 N/A%