Diff Report
Run #52a03729e7d1a: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #52a037bb4f6e8: 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 #52a03729e7d1aRun #52a037bb4f6e8DiffDiff%
Number of Function Calls55 55 0 0.0%
Incl. Wall Time (microsec)16,329 16,567 238 1.5%
Incl. Wall Time (microsec) per call 297 301 4 1.5%
Excl. Wall Time (microsec)851 829 -22 -2.6%
Incl. CPU (microsecs)16,315 16,550 235 1.4%
Incl. CPU (microsecs) per call 297 301 4 1.4%
Excl. CPU (microsec)589 575 -14 -2.4%
Incl. MemUse (bytes)654,872 654,888 16 0.0%
Incl. MemUse (bytes) per call 11,907 11,907 0 0.0%
Excl. MemUse (bytes)-15,512 -15,512 0 0.0%
Incl. PeakMemUse (bytes)681,976 681,936 -40 -0.0%
Incl. PeakMemUse (bytes) per call 12,400 12,399 -1 -0.0%
Excl. PeakMemUse (bytes)4,016 4,016 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% 238 28.5% 235 27.2% 16 0.0% -40 -0.1%
Exclusive Metrics Diff for Current Function-22 -9.2% -14 -6.0% 0 0.0% 0 0.0%
Parent functions
user_access0 N/A% 113 47.5% 107 45.5% 16 100.0% -40 -100.0%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 50 21.0% 50 21.3% 0 0.0% 0 0.0%
contextual_page_build0 N/A% 31 13.0% 31 13.2% 0 0.0% 0 0.0%
Drupal\comment\Plugin\Block\RecentCommentsBlock::access0 N/A% 22 9.2% 21 8.9% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% 16 6.7% 17 7.2% 0 0.0% 0 0.0%
Drupal\user\Plugin\Block\UserOnlineBlock::access0 N/A% -14 -5.9% -13 -5.5% 0 0.0% 0 0.0%
Drupal\devel\EventSubscriber\DevelEventSubscriber::onRequest0 N/A% 13 5.5% 15 6.4% 0 0.0% 0 0.0%
rdf_preprocess_node0 N/A% -11 -4.6% -11 -4.7% 0 0.0% 0 0.0%
Drupal\aggregator\Plugin\Block\AggregatorFeedBlock::access0 N/A% 9 3.8% 12 5.1% 0 0.0% 0 0.0%
edit_page_build0 N/A% 4 1.7% 3 1.3% 0 0.0% 0 0.0%
Drupal\user\Plugin\Block\UserNewBlock::access0 N/A% 4 1.7% 2 0.9% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% 1 0.4% 0 0.0% 0 0.0% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 0 0.0% 1 0.4% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 168 70.6% 171 72.8% -8 -50.0% -64 -160.0%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 102 42.9% 86 36.6% 24 150.0% 24 60.0%
Drupal\Core\Session\UserSession::id0 N/A% -9 -3.8% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -3 -1.3% 1 0.4% 0 0.0% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% 1 0.4% -5 -2.1% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% 1 0.4% -4 -1.7% 0 0.0% 0 0.0%