Run Report
Run #52e48ef364ce3: 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::hasPermission17 13.3% 9,049 2.7% 8,999 2.7% 438,456 1.7% 446,872 1.7%
Exclusive Metrics for Current Function298 3.3% 222 2.5% 1,384 0.3% 3,296 0.7%
Parent functions
Drupal\user\Theme\AdminNegotiator::applies1 5.9% 5,506 60.8% 5,428 60.3% 430,304 98.1% 429,776 96.2%
Drupal\user\Access\PermissionAccessCheck::access4 23.5% 988 10.9% 995 11.1% 1,032 0.2% 3,920 0.9%
user_access4 23.5% 841 9.3% 849 9.4% 992 0.2% 5,288 1.2%
shortcut_set_edit_access2 11.8% 459 5.1% 464 5.2% 912 0.2% 2,672 0.6%
user_template_preprocess_default_variables_alter1 5.9% 253 2.8% 254 2.8% 888 0.2% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::access1 5.9% 234 2.6% 236 2.6% 880 0.2% 2,040 0.5%
Drupal\search\Plugin\Block\SearchBlock::access1 5.9% 216 2.4% 217 2.4% 880 0.2% 1,520 0.3%
contextual_page_build1 5.9% 187 2.1% 188 2.1% 856 0.2% 0 0.0%
tour_preprocess_page1 5.9% 187 2.1% 188 2.1% 856 0.2% 1,656 0.4%
edit_page_build1 5.9% 178 2.0% 180 2.0% 856 0.2% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple17 16.7% 7,611 84.1% 7,553 83.9% 373,200 85.1% 381,712 85.4%
Drupal\Core\Entity\EntityManager::getStorageController17 16.7% 785 8.7% 802 8.9% 57,592 13.1% 57,096 12.8%
Drupal::entityManager17 16.7% 207 2.3% 226 2.5% 1,904 0.4% 2,848 0.6%
Drupal\user\Entity\Role::hasPermission17 16.7% 119 1.3% 133 1.5% 2,720 0.6% 784 0.2%
Drupal\Core\Session\UserSession::id17 16.7% 15 0.2% 31 0.3% 824 0.2% 432 0.1%
Drupal\Core\Session\UserSession::getRoles17 16.7% 14 0.2% 32 0.4% 832 0.2% 704 0.2%