Run Report
Run #55b92b7a4dd10: XHProf Run (Namespace=drupal-perf-cthos)
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::getActiveTheme106 93.8% 4,679 2.9% 192,904 1.1% 259,768 1.5%
Exclusive Metrics for Current Function111 2.4% 12,016 6.2% 4,080 1.6%
Parent functions
Drupal\Core\Cache\Context\ThemeCacheContext::getContext9 8.5% 4,583 97.9% 182,016 94.4% 255,760 98.5%
Drupal\Core\Render\ElementInfoManager::getInfo23 21.7% 24 0.5% 688 0.4% 0 0.0%
Drupal\Core\Theme\ThemeManager::theme@19 8.5% 15 0.3% 688 0.4% 0 0.0%
template_preprocess14 13.2% 13 0.3% 664 0.3% 0 0.0%
Drupal\Core\Theme\ThemeManager::alter16 15.1% 10 0.2% 680 0.4% 680 0.3%
Drupal\Core\Theme\Registry::init14 13.2% 9 0.2% 680 0.4% 264 0.1%
Drupal\Core\Asset\AssetResolver::getJsAssets1 0.9% 6 0.1% 688 0.4% 0 0.0%
Drupal\Core\Asset\AssetResolver::getCssAssets1 0.9% 4 0.1% 688 0.4% 376 0.1%
system_js_settings_alter1 0.9% 4 0.1% 672 0.3% 0 0.0%
Drupal\Core\Theme\ThemeManager::theme4 3.8% 4 0.1% 680 0.4% 264 0.1%
theme_get_setting8 7.5% 2 0.0% 664 0.3% 664 0.3%
Drupal\block\BlockRepository::getVisibleBlocksPerRegion1 0.9% 2 0.0% 704 0.4% 704 0.3%
color_preprocess_page1 0.9% 1 0.0% 664 0.3% 0 0.0%
Drupal\Core\Render\MainContent\HtmlRenderer::prepare1 0.9% 1 0.0% 696 0.4% 384 0.1%
template_preprocess_page1 0.9% 1 0.0% 672 0.3% 0 0.0%
system_page_attachments1 0.9% 0 0.0% 672 0.3% 672 0.3%
Drupal\Core\Theme\ThemeManager::theme@21 0.9% 0 0.0% 688 0.4% 0 0.0%
Child function
Drupal\Core\Theme\ThemeManager::initTheme1 100.0% 4,568 97.6% 180,888 93.8% 255,688 98.4%