Run Report
Run #5230aa47d621c: 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::hasPermission41 13.9% 21,988 5.3% 21,359 5.4% 1,312,920 3.6% 1,343,504 3.7%
Exclusive Metrics for Current Function722 3.3% 570 2.7% -14,008 -1.1% 3,168 0.2%
Parent functions
user_access34 82.9% 20,170 91.7% 19,529 91.4% 1,307,688 99.6% 1,338,008 99.6%
shortcut_set_edit_access2 4.9% 544 2.5% 548 2.6% 912 0.1% 3,840 0.3%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 2.4% 285 1.3% 287 1.3% 896 0.1% 0 0.0%
search_is_active1 2.4% 273 1.2% 275 1.3% 856 0.1% 0 0.0%
tour_preprocess_page1 2.4% 241 1.1% 243 1.1% 856 0.1% 1,656 0.1%
contextual_page_build1 2.4% 240 1.1% 241 1.1% 856 0.1% 0 0.0%
edit_page_build1 2.4% 235 1.1% 236 1.1% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple41 16.7% 12,272 55.8% 12,083 56.6% 477,624 36.4% 491,072 36.6%
Drupal\Core\Entity\EntityManager::getStorageController41 16.7% 4,368 19.9% 3,960 18.5% 518,320 39.5% 519,000 38.6%
Drupal::entityManager41 16.7% 4,191 19.1% 4,226 19.8% 325,352 24.8% 327,896 24.4%
Drupal\user\Entity\Role::hasPermission41 16.7% 267 1.2% 289 1.4% 3,912 0.3% 1,616 0.1%
Drupal\Core\Session\UserSession::id41 16.7% 85 0.4% 122 0.6% 856 0.1% 0 0.0%
Drupal\Core\Session\UserSession::getRoles41 16.7% 83 0.4% 109 0.5% 864 0.1% 752 0.1%