Diff Report
Run #5290760896b28: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #52907577b0b08: 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 #5290760896b28Run #52907577b0b08DiffDiff%
Number of Function Calls64 64 0 0.0%
Incl. Wall Time (microsec)18,865 19,031 166 0.9%
Incl. Wall Time (microsec) per call 295 297 3 0.9%
Excl. Wall Time (microsec)971 951 -20 -2.1%
Incl. CPU (microsecs)18,367 18,534 167 0.9%
Incl. CPU (microsecs) per call 287 290 3 0.9%
Excl. CPU (microsec)690 669 -21 -3.0%
Incl. MemUse (bytes)652,568 652,560 -8 -0.0%
Incl. MemUse (bytes) per call 10,196 10,196 -0 -0.0%
Excl. MemUse (bytes)-21,768 -21,768 0 0.0%
Incl. PeakMemUse (bytes)700,192 700,088 -104 -0.0%
Incl. PeakMemUse (bytes) per call 10,941 10,939 -2 -0.0%
Excl. PeakMemUse (bytes)2,640 2,640 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% 166 7.4% 167 8.3% -8 -0.0% -104 -0.2%
Exclusive Metrics Diff for Current Function-20 -12.0% -21 -12.6% 0 0.0% 0 0.0%
Parent functions
user_access0 N/A% 196 118.1% 202 121.0% -8 -100.0% -104 -100.0%
shortcut_set_edit_access0 N/A% -39 -23.5% -40 -24.0% 0 0.0% 0 0.0%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 30 18.1% 31 18.6% 0 0.0% 0 0.0%
Drupal\comment\Plugin\Field\FieldFormatter\CommentDefaultFormatter::viewElements0 N/A% -16 -9.6% -16 -9.6% 0 0.0% 0 0.0%
Drupal\node\Access\NodeRevisionAccessCheck::checkAccess0 N/A% -12 -7.2% -12 -7.2% 0 0.0% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 4 2.4% -1 -0.6% 0 0.0% 0 0.0%
rdf_preprocess_node0 N/A% -3 -1.8% -2 -1.2% 0 0.0% 0 0.0%
edit_page_build0 N/A% 2 1.2% 0 0.0% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% 2 1.2% 4 2.4% 0 0.0% 0 0.0%
contextual_page_build0 N/A% 1 0.6% 0 0.0% 0 0.0% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest0 N/A% 1 0.6% 1 0.6% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 133 80.1% 152 91.0% -24 -300.0% -120 -115.4%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 59 35.5% 56 33.5% 16 200.0% 16 15.4%
Drupal\user\Entity\Role::hasPermission0 N/A% -7 -4.2% -11 -6.6% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% 3 1.8% -8 -4.8% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% -2 -1.2% -6 -3.6% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 0 0.0% 5 3.0% 0 0.0% 0 0.0%