Run Report
Run #55ca0153deabc: 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::getActiveTheme233 97.9% 5,623 0.2% 147,356 0.3% 138,048 0.3%
Exclusive Metrics for Current Function270 4.8% 9,452 6.4% 2,500 1.8%
Parent functions
Drupal\Core\Cache\Context\ThemeCacheContext::getContext27 11.6% 5,393 95.9% 138,552 94.0% 135,548 98.2%
Drupal\Core\Theme\ThemeManager::alter46 19.7% 73 1.3% 400 0.3% 160 0.1%
Drupal\Core\Render\ElementInfoManager::getInfo31 13.3% 42 0.7% 412 0.3% 112 0.1%
Drupal\Core\Theme\ThemeManager::theme@116 6.9% 24 0.4% 404 0.3% 0 0.0%
Drupal\Core\Theme\Registry::init37 15.9% 21 0.4% 396 0.3% 424 0.3%
template_preprocess35 15.0% 18 0.3% 384 0.3% 0 0.0%
Drupal\Core\Theme\ThemeManager::theme@37 3.0% 11 0.2% 404 0.3% 432 0.3%
Drupal\Core\Theme\ThemeManager::theme@25 2.1% 9 0.2% 404 0.3% 136 0.1%
Drupal\Core\Theme\ThemeManager::theme6 2.6% 6 0.1% 400 0.3% 400 0.3%
theme_get_setting9 3.9% 4 0.1% 380 0.3% 0 0.0%
drupal_find_theme_templates2 0.9% 4 0.1% 412 0.3% 0 0.0%
color_preprocess_page1 0.4% 3 0.1% 384 0.3% 0 0.0%
Drupal\Core\Asset\AssetResolver::getJsAssets1 0.4% 2 0.0% 408 0.3% 0 0.0%
system_js_settings_build1 0.4% 2 0.0% 388 0.3% 0 0.0%
Drupal\Core\Theme\ThemeManager::theme@41 0.4% 2 0.0% 404 0.3% 0 0.0%
Drupal\block\BlockRepository::getVisibleBlocksPerRegion1 0.4% 2 0.0% 420 0.3% 420 0.3%
Drupal\views\ViewExecutable::render1 0.4% 2 0.0% 400 0.3% 0 0.0%
system_js_settings_alter1 0.4% 1 0.0% 388 0.3% 0 0.0%
Drupal\Core\Asset\LibraryDiscoveryCollector::getCid1 0.4% 1 0.0% 416 0.3% 0 0.0%
Drupal\Core\Asset\AssetResolver::getCssAssets1 0.4% 1 0.0% 408 0.3% 0 0.0%
system_page_attachments1 0.4% 1 0.0% 388 0.3% 268 0.2%
Drupal\Core\Render\MainContent\HtmlRenderer::prepare1 0.4% 1 0.0% 416 0.3% 148 0.1%
template_preprocess_page1 0.4% 0 0.0% 388 0.3% 0 0.0%
Child function
Drupal\Core\Theme\ThemeManager::initTheme1 100.0% 5,353 95.2% 137,904 93.6% 135,548 98.2%