Run Report
Run #52c1d65bccb31: 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% 9,271 1.4% 9,268 1.8% 128,472 0.4% 134,272 0.4%
Exclusive Metrics for Current Function545 5.9% 392 4.2% -6,376 -5.0% 3,552 2.6%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access16 47.1% 5,236 56.5% 5,206 56.2% 118,296 92.1% 116,496 86.8%
user_access5 14.7% 1,182 12.7% 1,190 12.8% 1,040 0.8% 8,320 6.2%
shortcut_set_edit_access4 11.8% 933 10.1% 937 10.1% 1,008 0.8% 2,416 1.8%
Drupal\views\ViewsAccessCheck::access2 5.9% 412 4.4% 414 4.5% 920 0.7% 0 0.0%
contextual_toolbar1 2.9% 248 2.7% 250 2.7% 856 0.7% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies1 2.9% 245 2.6% 247 2.7% 2,056 1.6% 4,272 3.2%
edit_page_build1 2.9% 210 2.3% 212 2.3% 856 0.7% 0 0.0%
tour_toolbar1 2.9% 206 2.2% 208 2.2% 848 0.7% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access1 2.9% 205 2.2% 206 2.2% 880 0.7% 1,112 0.8%
contextual_page_build1 2.9% 199 2.1% 201 2.2% 856 0.7% 0 0.0%
tour_preprocess_page1 2.9% 195 2.1% 197 2.1% 856 0.7% 1,656 1.2%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple34 16.7% 7,217 77.8% 7,215 77.8% 97,192 75.7% 95,496 71.1%
Drupal\Core\Entity\EntityManager::getStorageController34 16.7% 719 7.8% 757 8.2% 30,560 23.8% 30,400 22.6%
Drupal::entityManager34 16.7% 517 5.6% 557 6.0% 1,904 1.5% 2,656 2.0%
Drupal\user\Entity\Role::hasPermission34 16.7% 209 2.3% 237 2.6% 3,536 2.8% 1,232 0.9%
Drupal\Core\Session\UserSession::getRoles34 16.7% 34 0.4% 55 0.6% 832 0.6% 664 0.5%
Drupal\Core\Session\UserSession::id34 16.7% 30 0.3% 55 0.6% 824 0.6% 272 0.2%