Run Report
Run #52ed7448d018c: 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::hasPermission34 13.8% 21,971 1.1% 21,843 1.1% 1,429,008 3.9% 1,435,328 3.8%
Exclusive Metrics for Current Function669 3.0% 484 2.2% -5,600 -0.4% 2,776 0.2%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access15 44.1% 15,903 72.4% 15,744 72.1% 1,419,144 99.3% 1,422,312 99.1%
user_access5 14.7% 1,771 8.1% 1,778 8.1% 1,040 0.1% 5,432 0.4%
Drupal\views\ViewsAccessCheck::access4 11.8% 1,150 5.2% 1,156 5.3% 1,016 0.1% 0 0.0%
shortcut_set_edit_access2 5.9% 688 3.1% 691 3.2% 904 0.1% 0 0.0%
user_template_preprocess_default_variables_alter1 2.9% 392 1.8% 395 1.8% 888 0.1% 2,632 0.2%
Drupal\user\Theme\AdminNegotiator::applies1 2.9% 319 1.5% 320 1.5% 880 0.1% 3,000 0.2%
tour_preprocess_page1 2.9% 306 1.4% 308 1.4% 856 0.1% 0 0.0%
shortcut_set_switch_access1 2.9% 299 1.4% 301 1.4% 864 0.1% 1,952 0.1%
contextual_page_build1 2.9% 296 1.3% 299 1.4% 856 0.1% 0 0.0%
contextual_toolbar1 2.9% 288 1.3% 290 1.3% 856 0.1% 0 0.0%
tour_toolbar1 2.9% 288 1.3% 289 1.3% 848 0.1% 0 0.0%
edit_page_build1 2.9% 271 1.2% 272 1.2% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple34 16.7% 13,092 59.6% 13,070 59.8% 418,360 29.3% 415,752 29.0%
Drupal\Core\Entity\EntityManager::getStorageController34 16.7% 7,100 32.3% 7,029 32.2% 1,009,160 70.6% 1,010,568 70.4%
Drupal::entityManager34 16.7% 619 2.8% 663 3.0% 1,896 0.1% 3,352 0.2%
Drupal\user\Entity\Role::hasPermission34 16.7% 357 1.6% 391 1.8% 3,536 0.2% 1,400 0.1%
Drupal\Core\Session\UserSession::id34 16.7% 71 0.3% 109 0.5% 824 0.1% 776 0.1%
Drupal\Core\Session\UserSession::getRoles34 16.7% 63 0.3% 97 0.4% 832 0.1% 704 0.0%