Run Report
Run #5589a5eb25e98: XHProf Run (Namespace=drupal-perf-stefanr)
Tip
Click a function name below to drill down.

Parent/Child report for Drupal\Core\Theme\ThemeManager::getActiveTheme [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
Drupal\Core\Theme\ThemeManager::getActiveTheme639 98.8% 4,911 0.5% 246,352 0.5% 241,192 0.5%
Exclusive Metrics for Current Function492 10.0% 13,328 5.4% 5,256 2.2%
Parent functions
Drupal\Core\Cache\Context\ThemeCacheContext::getContext57 8.9% 4,490 91.4% 234,080 95.0% 235,936 97.8%
Drupal\Core\Render\ElementInfoManager::getInfo60 9.4% 70 1.4% 688 0.3% 600 0.2%
Drupal\Core\Theme\ThemeManager::theme@358 9.1% 68 1.4% 688 0.3% 648 0.3%
Drupal\Core\Theme\ThemeManager::alter124 19.4% 66 1.3% 680 0.3% 48 0.0%
template_preprocess122 19.1% 64 1.3% 664 0.3% 0 0.0%
Drupal\Core\Theme\Registry::init127 19.9% 44 0.9% 680 0.3% 776 0.3%
Drupal\Core\Theme\ThemeManager::theme@224 3.8% 36 0.7% 688 0.3% 424 0.2%
Drupal\Core\Theme\ThemeManager::theme@116 2.5% 20 0.4% 688 0.3% 688 0.3%
Drupal\Core\Theme\ThemeManager::theme15 2.3% 20 0.4% 680 0.3% 680 0.3%
Drupal\Core\Theme\ThemeManager::theme@410 1.6% 13 0.3% 688 0.3% 0 0.0%
theme_get_setting18 2.8% 5 0.1% 664 0.3% 0 0.0%
Drupal\views\ViewExecutable::render1 0.2% 3 0.1% 680 0.3% 336 0.1%
Drupal\Core\Asset\AssetResolver::getCssAssets1 0.2% 3 0.1% 688 0.3% 0 0.0%
color_preprocess_page1 0.2% 2 0.0% 664 0.3% 0 0.0%
Drupal\Core\Asset\AssetResolver::getJsAssets1 0.2% 2 0.0% 688 0.3% 0 0.0%
Drupal\Core\Render\MainContent\HtmlRenderer::prepare1 0.2% 2 0.0% 696 0.3% 384 0.2%
Drupal\block\BlockRepository::getVisibleBlocksPerRegion1 0.2% 2 0.0% 704 0.3% 0 0.0%
system_page_attachments1 0.2% 1 0.0% 672 0.3% 672 0.3%
template_preprocess_page1 0.2% 0 0.0% 672 0.3% 0 0.0%
Child function
Drupal\Core\Theme\ThemeManager::initTheme1 100.0% 4,419 90.0% 233,024 94.6% 235,936 97.8%