Run Report
Run #5290760896b28: XHProf Run (Namespace=drupal-perf-joelpittet)
Tip
Click a function name below to drill down.

Parent/Child report for Drupal\Core\Session\UserSession::hasPermission [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl. CPU
(microsecs)
ICpu%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
Drupal\Core\Session\UserSession::hasPermission64 14.0% 18,865 5.1% 18,367 5.4% 652,568 3.7% 700,192 4.0%
Exclusive Metrics for Current Function971 5.1% 690 3.8% -21,768 -3.3% 2,640 0.4%
Parent functions
user_access47 73.4% 15,186 80.5% 14,660 79.8% 643,464 98.6% 688,656 98.4%
Drupal\user\Access\PermissionAccessCheck::access4 6.2% 916 4.9% 920 5.0% 1,032 0.2% 3,368 0.5%
Drupal\node\Access\NodeRevisionAccessCheck::checkAccess3 4.7% 611 3.2% 615 3.3% 992 0.2% 0 0.0%
shortcut_set_edit_access2 3.1% 460 2.4% 462 2.5% 912 0.1% 3,536 0.5%
Drupal\comment\Plugin\Field\FieldFormatter\CommentDefaultFormatter::viewElements2 3.1% 451 2.4% 455 2.5% 968 0.1% 0 0.0%
rdf_preprocess_node1 1.6% 225 1.2% 226 1.2% 856 0.1% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access1 1.6% 212 1.1% 218 1.2% 880 0.1% 2,024 0.3%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 1.6% 209 1.1% 211 1.1% 896 0.1% 0 0.0%
tour_preprocess_page1 1.6% 209 1.1% 210 1.1% 856 0.1% 1,936 0.3%
contextual_page_build1 1.6% 196 1.0% 198 1.1% 856 0.1% 0 0.0%
edit_page_build1 1.6% 190 1.0% 192 1.0% 856 0.1% 672 0.1%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple64 16.7% 14,362 76.1% 14,075 76.6% 321,728 49.3% 348,672 49.8%
Drupal\Core\Entity\EntityManager::getStorageController64 16.7% 2,280 12.1% 2,116 11.5% 343,920 52.7% 343,720 49.1%
Drupal::entityManager64 16.7% 944 5.0% 1,003 5.5% 1,952 0.3% 3,768 0.5%
Drupal\user\Entity\Role::hasPermission64 16.7% 236 1.3% 295 1.6% 5,016 0.8% 0 0.0%
Drupal\Core\Session\UserSession::id64 16.7% 37 0.2% 102 0.6% 856 0.1% 640 0.1%
Drupal\Core\Session\UserSession::getRoles64 16.7% 35 0.2% 86 0.5% 864 0.1% 752 0.1%