Run Report
Run #5230a9efcd55c: 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% 22,361 5.3% 21,727 5.5% 1,312,808 3.6% 1,342,856 3.7%
Exclusive Metrics for Current Function725 3.2% 547 2.5% -14,008 -1.1% 3,168 0.2%
Parent functions
user_access34 82.9% 20,521 91.8% 19,877 91.5% 1,307,576 99.6% 1,337,360 99.6%
shortcut_set_edit_access2 4.9% 562 2.5% 563 2.6% 912 0.1% 3,840 0.3%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 2.4% 296 1.3% 298 1.4% 896 0.1% 0 0.0%
search_is_active1 2.4% 256 1.1% 258 1.2% 856 0.1% 0 0.0%
tour_preprocess_page1 2.4% 250 1.1% 252 1.2% 856 0.1% 1,656 0.1%
contextual_page_build1 2.4% 242 1.1% 243 1.1% 856 0.1% 0 0.0%
edit_page_build1 2.4% 234 1.0% 236 1.1% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple41 16.7% 12,476 55.8% 12,257 56.4% 477,648 36.4% 490,472 36.5%
Drupal\Core\Entity\EntityManager::getStorageController41 16.7% 4,508 20.2% 4,141 19.1% 518,200 39.5% 519,024 38.7%
Drupal::entityManager41 16.7% 4,205 18.8% 4,243 19.5% 325,336 24.8% 327,824 24.4%
Drupal\user\Entity\Role::hasPermission41 16.7% 271 1.2% 299 1.4% 3,912 0.3% 1,616 0.1%
Drupal\Core\Session\UserSession::id41 16.7% 94 0.4% 132 0.6% 856 0.1% 0 0.0%
Drupal\Core\Session\UserSession::getRoles41 16.7% 82 0.4% 108 0.5% 864 0.1% 752 0.1%