Run Report
Run #529075c009a60: 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% 19,003 5.2% 18,501 5.4% 652,560 3.7% 700,088 4.0%
Exclusive Metrics for Current Function962 5.1% 672 3.6% -21,768 -3.3% 2,640 0.4%
Parent functions
user_access47 73.4% 15,356 80.8% 14,836 80.2% 643,456 98.6% 688,552 98.4%
Drupal\user\Access\PermissionAccessCheck::access4 6.2% 921 4.8% 926 5.0% 1,032 0.2% 3,368 0.5%
Drupal\node\Access\NodeRevisionAccessCheck::checkAccess3 4.7% 609 3.2% 611 3.3% 992 0.2% 0 0.0%
Drupal\comment\Plugin\Field\FieldFormatter\CommentDefaultFormatter::viewElements2 3.1% 458 2.4% 460 2.5% 968 0.1% 0 0.0%
shortcut_set_edit_access2 3.1% 436 2.3% 439 2.4% 912 0.1% 3,536 0.5%
rdf_preprocess_node1 1.6% 228 1.2% 229 1.2% 856 0.1% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 1.6% 210 1.1% 211 1.1% 896 0.1% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access1 1.6% 199 1.0% 200 1.1% 880 0.1% 2,024 0.3%
contextual_page_build1 1.6% 197 1.0% 198 1.1% 856 0.1% 0 0.0%
tour_preprocess_page1 1.6% 196 1.0% 197 1.1% 856 0.1% 1,936 0.3%
edit_page_build1 1.6% 193 1.0% 194 1.0% 856 0.1% 672 0.1%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple64 16.7% 14,487 76.2% 14,210 76.8% 321,704 49.3% 348,552 49.8%
Drupal\Core\Entity\EntityManager::getStorageController64 16.7% 2,318 12.2% 2,144 11.6% 343,936 52.7% 343,736 49.1%
Drupal::entityManager64 16.7% 938 4.9% 996 5.4% 1,952 0.3% 3,768 0.5%
Drupal\user\Entity\Role::hasPermission64 16.7% 221 1.2% 282 1.5% 5,016 0.8% 0 0.0%
Drupal\Core\Session\UserSession::id64 16.7% 43 0.2% 98 0.5% 856 0.1% 640 0.1%
Drupal\Core\Session\UserSession::getRoles64 16.7% 34 0.2% 99 0.5% 864 0.1% 752 0.1%