Run Report
Run #55c512030da14: XHProf Run (Namespace=drupal-perf-moshe)
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::getActiveTheme149 96.8% 5,098 1.0% 145,384 0.7% 139,384 0.6%
Exclusive Metrics for Current Function137 2.7% 7,032 4.8% 2,172 1.6%
Parent functions
Drupal\Core\Cache\Context\ThemeCacheContext::getContext12 8.1% 4,981 97.7% 138,992 95.6% 137,212 98.4%
Drupal\Core\Render\ElementInfoManager::getInfo22 14.8% 23 0.5% 408 0.3% 436 0.3%
Drupal\Core\Theme\ThemeManager::theme@19 6.0% 19 0.4% 404 0.3% 0 0.0%
Drupal\Core\Theme\ThemeManager::alter26 17.4% 16 0.3% 400 0.3% 400 0.3%
template_preprocess24 16.1% 15 0.3% 384 0.3% 0 0.0%
Drupal\Core\Theme\ThemeManager::theme@211 7.4% 12 0.2% 404 0.3% 0 0.0%
Drupal\Core\Theme\Registry::init25 16.8% 10 0.2% 396 0.3% 0 0.0%
theme_get_setting8 5.4% 4 0.1% 380 0.3% 380 0.3%
Drupal\Core\Theme\ThemeManager::theme3 2.0% 4 0.1% 400 0.3% 0 0.0%
color_preprocess_page1 0.7% 3 0.1% 384 0.3% 0 0.0%
Drupal\Core\Asset\AssetResolver::getCssAssets1 0.7% 2 0.0% 408 0.3% 0 0.0%
Drupal\Core\Asset\AssetResolver::getJsAssets1 0.7% 2 0.0% 408 0.3% 0 0.0%
Drupal\Core\Theme\ThemeManager::theme@32 1.3% 2 0.0% 404 0.3% 0 0.0%
Drupal\block\BlockRepository::getVisibleBlocksPerRegion1 0.7% 2 0.0% 420 0.3% 420 0.3%
system_page_attachments1 0.7% 1 0.0% 388 0.3% 388 0.3%
Drupal\Core\Render\MainContent\HtmlRenderer::prepare1 0.7% 1 0.0% 416 0.3% 148 0.1%
template_preprocess_page1 0.7% 1 0.0% 388 0.3% 0 0.0%
Child function
Drupal\Core\Theme\ThemeManager::initTheme1 100.0% 4,961 97.3% 138,352 95.2% 137,212 98.4%