Run Report
Run #52e49caf3c7f2: 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::hasPermission48 13.9% 20,280 4.1% 20,165 4.2% 1,308,696 4.1% 1,317,320 4.1%
Exclusive Metrics for Current Function749 3.7% 546 2.7% -14,720 -1.1% 3,888 0.3%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access35 72.9% 17,498 86.3% 17,354 86.1% 1,300,696 99.4% 1,299,800 98.7%
user_access4 8.3% 764 3.8% 771 3.8% 992 0.1% 4,400 0.3%
shortcut_set_edit_access2 4.2% 465 2.3% 468 2.3% 912 0.1% 2,672 0.2%
Drupal\search\Plugin\Block\SearchBlock::access1 2.1% 299 1.5% 302 1.5% 880 0.1% 2,584 0.2%
Drupal\user\Theme\AdminNegotiator::applies1 2.1% 260 1.3% 261 1.3% 880 0.1% 3,000 0.2%
Drupal\node\Plugin\Search\NodeSearch::access1 2.1% 220 1.1% 221 1.1% 880 0.1% 2,040 0.2%
tour_preprocess_page1 2.1% 212 1.0% 214 1.1% 856 0.1% 0 0.0%
contextual_page_build1 2.1% 191 0.9% 194 1.0% 856 0.1% 0 0.0%
user_template_preprocess_default_variables_alter1 2.1% 191 0.9% 198 1.0% 888 0.1% 2,824 0.2%
edit_page_build1 2.1% 180 0.9% 182 0.9% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple48 16.7% 12,345 60.9% 12,300 61.0% 390,288 29.8% 382,648 29.0%
Drupal\Core\Entity\EntityManager::getStorageController48 16.7% 6,285 31.0% 6,258 31.0% 925,360 70.7% 924,056 70.1%
Drupal::entityManager48 16.7% 530 2.6% 573 2.8% 1,904 0.1% 3,776 0.3%
Drupal\user\Entity\Role::hasPermission48 16.7% 291 1.4% 331 1.6% 4,208 0.3% 1,472 0.1%
Drupal\Core\Session\UserSession::id48 16.7% 44 0.2% 80 0.4% 824 0.1% 776 0.1%
Drupal\Core\Session\UserSession::getRoles48 16.7% 36 0.2% 77 0.4% 832 0.1% 704 0.1%