Run Report
Run #550de0f0bfc62: XHProf Run (Namespace=drupal-perf-davidhernandez)
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::getActiveTheme205 96.2% 1,834 0.9% 187,560 0.9% 182,960 0.8%
Exclusive Metrics for Current Function94 5.1% 11,920 6.4% 4,640 2.5%
Parent functions
Drupal\Core\Render\ElementInfoManager::getInfo28 13.7% 1,765 96.2% 176,680 94.2% 178,368 97.5%
Drupal\Core\Theme\ThemeManager::theme@214 6.8% 15 0.8% 688 0.4% 736 0.4%
Drupal\Core\Theme\ThemeManager::theme@115 7.3% 14 0.8% 688 0.4% 376 0.2%
Drupal\Core\Cache\ThemeCacheContext::getContext15 7.3% 14 0.8% 696 0.4% 384 0.2%
Drupal\Core\Theme\ThemeManager::alter39 19.0% 6 0.3% 680 0.4% 48 0.0%
Drupal\Core\Theme\ThemeManager::theme5 2.4% 5 0.3% 680 0.4% 600 0.3%
Drupal\Core\Theme\Registry::init36 17.6% 3 0.2% 680 0.4% 776 0.4%
Drupal\Core\Theme\ThemeManager::theme@32 1.0% 2 0.1% 688 0.4% 0 0.0%
Drupal\block\BlockRepository::getTheme2 1.0% 2 0.1% 680 0.4% 680 0.4%
Drupal\views\ViewExecutable::render1 0.5% 2 0.1% 680 0.4% 0 0.0%
template_preprocess35 17.1% 1 0.1% 664 0.4% 496 0.3%
color_preprocess_page1 0.5% 1 0.1% 664 0.4% 496 0.3%
Drupal\Core\Render\MainContent\HtmlRenderer::prepare1 0.5% 1 0.1% 696 0.4% 0 0.0%
system_page_attachments1 0.5% 1 0.1% 672 0.4% 0 0.0%
theme_get_setting8 3.9% 1 0.1% 664 0.4% 0 0.0%
Drupal\Core\Asset\AssetResolver::getCssAssets1 0.5% 1 0.1% 688 0.4% 0 0.0%
template_preprocess_page1 0.5% 0 0.0% 672 0.4% 0 0.0%
Child function
Drupal\Core\Theme\ThemeManager::initTheme1 100.0% 1,740 94.9% 175,640 93.6% 178,320 97.5%