Diff Report
Run #52c6423bf12de: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52c641a950046: 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 #52c6423bf12deRun #52c641a950046DiffDiff%
Number of Function Calls98 98 0 0.0%
Incl. Wall Time (microsec)20,427 20,380 -47 -0.2%
Incl. Wall Time (microsec) per call 208 208 -0 -0.2%
Excl. Wall Time (microsec)1,311 1,318 7 0.5%
Incl. CPU (microsecs)20,392 20,348 -44 -0.2%
Incl. CPU (microsecs) per call 208 208 -0 -0.2%
Excl. CPU (microsec)1,040 1,021 -19 -1.8%
Incl. MemUse (bytes)749,400 749,400 0 0.0%
Incl. MemUse (bytes) per call 7,647 7,647 0 0.0%
Excl. MemUse (bytes)-23,768 -23,768 0 0.0%
Incl. PeakMemUse (bytes)785,248 785,248 0 0.0%
Incl. PeakMemUse (bytes) per call 8,013 8,013 0 0.0%
Excl. PeakMemUse (bytes)36,296 36,296 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% -47 -9.7% -44 -10.2% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function7 14.9% -19 -43.2% 0 N/A% 0 N/A%
Parent functions
user_access0 N/A% 85 180.9% 83 188.6% 0 N/A% 0 N/A%
rdf_preprocess_node0 N/A% -66 -140.4% -69 -156.8% 0 N/A% 0 N/A%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -60 -127.7% -50 -113.6% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% -3 -6.4% -4 -9.1% 0 N/A% 0 N/A%
Drupal\views\ViewsAccessCheck::access0 N/A% 2 4.3% 1 2.3% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -2 -4.3% -2 -4.5% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% -1 -2.1% -1 -2.3% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% -1 -2.1% -1 -2.3% 0 N/A% 0 N/A%
edit_page_build0 N/A% -1 -2.1% -1 -2.3% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -55 -117.0% -32 -72.7% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -9 -19.1% 5 11.4% 0 N/A% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 8 17.0% 11 25.0% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 4 8.5% 7 15.9% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -4 -8.5% -15 -34.1% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 2 4.3% -1 -2.3% 0 N/A% 0 N/A%