Diff Report
Run #52a03729e7d1a: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #52a03772cdd55: 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 #52a03772cdd55DiffDiff%
Number of Function Calls55 55 0 0.0%
Incl. Wall Time (microsec)16,329 16,543 214 1.3%
Incl. Wall Time (microsec) per call 297 301 4 1.3%
Excl. Wall Time (microsec)851 835 -16 -1.9%
Incl. CPU (microsecs)16,315 16,546 231 1.4%
Incl. CPU (microsecs) per call 297 301 4 1.4%
Excl. CPU (microsec)589 619 30 5.1%
Incl. MemUse (bytes)654,872 654,872 0 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,976 0 0.0%
Incl. PeakMemUse (bytes) per call 12,400 12,400 0 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% 214 5.7% 231 6.7% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-16 -7.5% 30 13.0% 0 N/A% 0 N/A%
Parent functions
user_access0 N/A% 80 37.4% 87 37.7% 0 N/A% 0 N/A%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 54 25.2% 57 24.7% 0 N/A% 0 N/A%
Drupal\aggregator\Plugin\Block\AggregatorFeedBlock::access0 N/A% 27 12.6% 31 13.4% 0 N/A% 0 N/A%
rdf_preprocess_node0 N/A% 24 11.2% 25 10.8% 0 N/A% 0 N/A%
Drupal\comment\Plugin\Block\RecentCommentsBlock::access0 N/A% 20 9.3% 22 9.5% 0 N/A% 0 N/A%
Drupal\user\Plugin\Block\UserOnlineBlock::access0 N/A% -17 -7.9% -16 -6.9% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 16 7.5% 16 6.9% 0 N/A% 0 N/A%
contextual_page_build0 N/A% -11 -5.1% -12 -5.2% 0 N/A% 0 N/A%
edit_page_build0 N/A% 11 5.1% 11 4.8% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 5 2.3% 7 3.0% 0 N/A% 0 N/A%
Drupal\devel\EventSubscriber\DevelEventSubscriber::onRequest0 N/A% 4 1.9% 5 2.2% 0 N/A% 0 N/A%
Drupal\user\Plugin\Block\UserNewBlock::access0 N/A% 1 0.5% -1 -0.4% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 0 0.0% -1 -0.4% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 122 57.0% 122 52.8% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 112 52.3% 114 49.4% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -5 -2.3% -18 -7.8% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 5 2.3% -8 -3.5% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -5 -2.3% -8 -3.5% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 1 0.5% -1 -0.4% 0 N/A% 0 N/A%