Run Report
Run #55a872509ecf1: XHProf Run (Namespace=drupal-perf-lauriii)
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::getActiveTheme146 94.8% 861 1.4% 197,432 1.5% 191,040 1.4%
Exclusive Metrics for Current Function3 0.3% 12,720 6.4% 4,728 2.5%
Parent functions
Drupal\Core\Cache\Context\ThemeCacheContext::getContext9 6.2% 861 100.0% 185,840 94.1% 186,384 97.6%
color_preprocess_page1 0.7% 0 0.0% 664 0.3% 0 0.0%
template_preprocess_page1 0.7% 0 0.0% 672 0.3% 456 0.2%
Drupal\Core\Theme\ThemeManager::theme@29 6.2% 0 0.0% 688 0.3% 0 0.0%
Drupal\Core\Theme\ThemeManager::theme@311 7.5% 0 0.0% 688 0.3% 0 0.0%
Drupal\Core\Asset\AssetResolver::getJsAssets1 0.7% 0 0.0% 688 0.3% 0 0.0%
Drupal\Core\Asset\AssetResolver::getCssAssets1 0.7% 0 0.0% 688 0.3% 376 0.2%
Drupal\Core\Theme\ThemeManager::theme@42 1.4% 0 0.0% 688 0.3% 0 0.0%
Drupal\Core\Theme\ThemeManager::theme@11 0.7% 0 0.0% 688 0.3% 368 0.2%
Drupal\Core\Theme\Registry::init25 17.1% 0 0.0% 680 0.3% 48 0.0%
system_page_attachments1 0.7% 0 0.0% 672 0.3% 672 0.4%
Drupal\Core\Render\MainContent\HtmlRenderer::prepare1 0.7% 0 0.0% 696 0.4% 192 0.1%
Drupal\block\BlockRepository::getVisibleBlocksPerRegion1 0.7% 0 0.0% 704 0.4% 608 0.3%
theme_get_setting8 5.5% 0 0.0% 664 0.3% 664 0.3%
Drupal\Core\Theme\ThemeManager::alter26 17.8% 0 0.0% 680 0.3% 680 0.4%
Drupal\Core\Theme\ThemeManager::theme2 1.4% 0 0.0% 680 0.3% 0 0.0%
Drupal\Core\Render\ElementInfoManager::getInfo22 15.1% 0 0.0% 688 0.3% 592 0.3%
template_preprocess24 16.4% 0 0.0% 664 0.3% 0 0.0%
Child function
Drupal\Core\Theme\ThemeManager::initTheme1 100.0% 858 99.7% 184,712 93.6% 186,312 97.5%