Run Report
Run #52e49d73f02cb: 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,422 4.1% 20,354 4.2% 1,308,688 4.1% 1,316,656 4.1%
Exclusive Metrics for Current Function745 3.6% 547 2.7% -14,712 -1.1% 3,680 0.3%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access35 72.9% 17,706 86.7% 17,616 86.5% 1,300,680 99.4% 1,299,840 98.7%
user_access4 8.3% 786 3.8% 794 3.9% 1,000 0.1% 4,296 0.3%
shortcut_set_edit_access2 4.2% 444 2.2% 446 2.2% 912 0.1% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies1 2.1% 245 1.2% 247 1.2% 880 0.1% 3,000 0.2%
user_template_preprocess_default_variables_alter1 2.1% 237 1.2% 239 1.2% 888 0.1% 3,240 0.2%
Drupal\search\Plugin\Block\SearchBlock::access1 2.1% 230 1.1% 231 1.1% 880 0.1% 2,584 0.2%
Drupal\node\Plugin\Search\NodeSearch::access1 2.1% 215 1.1% 217 1.1% 880 0.1% 2,040 0.2%
tour_preprocess_page1 2.1% 190 0.9% 191 0.9% 856 0.1% 1,656 0.1%
contextual_page_build1 2.1% 188 0.9% 189 0.9% 856 0.1% 0 0.0%
edit_page_build1 2.1% 181 0.9% 184 0.9% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple48 16.7% 12,402 60.7% 12,386 60.9% 390,248 29.8% 382,112 29.0%
Drupal\Core\Entity\EntityManager::getStorageController48 16.7% 6,391 31.3% 6,376 31.3% 925,384 70.7% 924,136 70.2%
Drupal::entityManager48 16.7% 523 2.6% 572 2.8% 1,904 0.1% 3,776 0.3%
Drupal\user\Entity\Role::hasPermission48 16.7% 288 1.4% 326 1.6% 4,208 0.3% 1,472 0.1%
Drupal\Core\Session\UserSession::id48 16.7% 40 0.2% 76 0.4% 824 0.1% 776 0.1%
Drupal\Core\Session\UserSession::getRoles48 16.7% 33 0.2% 71 0.3% 832 0.1% 704 0.1%