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

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 Function-9 -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%