Run Report
Run #54e0a7d2151b1: XHProf Run (Namespace=drupal-perf-cottser)
Tip
Click a function name below to drill down.

Parent/Child report for Drupal\Core\Theme\ThemeManager::theme [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl. CPU
(microsecs)
ICpu%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
Drupal\Core\Theme\ThemeManager::theme9 3.0% 361,694 51.8% 356,049 52.2% 12,914,888 26.0% 13,282,920 26.5%
Exclusive Metrics for Current Function878 0.2% 623 0.2% -57,512 -0.4% 1,152 0.0%
Parent function
Drupal\Core\Theme\ThemeManager::render9 100.0% 361,694 100.0% 356,049 100.0% 12,914,888 100.0% 13,282,920 100.0%
Child functions
twig_render_template9 3.2% 341,360 94.4% 336,894 94.6% 11,103,224 86.0% 11,572,184 87.1%
template_preprocess_html1 0.4% 9,746 2.7% 9,355 2.6% 980,968 7.6% 939,896 7.1%
template_preprocess_page1 0.4% 4,187 1.2% 3,746 1.1% 344,352 2.7% 302,112 2.3%
load::views/views.theme.inc1 0.4% 1,308 0.4% 1,309 0.4% 186,912 1.4% 195,080 1.5%
Drupal\Core\Theme\Registry::getRuntime9 3.2% 1,283 0.4% 1,029 0.3% 143,944 1.1% 169,424 1.3%
color_preprocess_page1 0.4% 354 0.1% 272 0.1% 6,728 0.1% 17,752 0.1%
template_preprocess9 3.2% 335 0.1% 346 0.1% 31,280 0.2% 9,904 0.1%
Composer\Autoload\ClassLoader::loadClass1 0.4% 318 0.1% 318 0.1% 39,664 0.3% 0 0.0%
template_preprocess_links5 1.8% 260 0.1% 264 0.1% 24,816 0.2% 0 0.0%
Drupal\Core\Theme\ThemeManager::alter9 3.2% 228 0.1% 236 0.1% 7,496 0.1% 0 0.0%
Drupal\Core\Extension\ModuleHandler::invokeAll9 3.2% 223 0.1% 234 0.1% 16,920 0.1% 0 0.0%
Drupal\Core\Extension\ModuleHandler::alter9 3.2% 198 0.1% 209 0.1% 3,200 0.0% 0 0.0%
shortcut_preprocess_page1 0.4% 185 0.1% 186 0.1% 9,232 0.1% 0 0.0%
template_preprocess_views_view1 0.4% 121 0.0% 123 0.0% 7,032 0.1% 72,664 0.5%
contextual_preprocess9 3.2% 113 0.0% 119 0.0% 4,776 0.0% 0 0.0%
rdf_preprocess_html1 0.4% 113 0.0% 114 0.0% 13,304 0.1% 0 0.0%
views_preprocess_html1 0.4% 101 0.0% 103 0.0% 5,232 0.0% 0 0.0%
bartik_preprocess_page1 0.4% 100 0.0% 101 0.0% 4,464 0.0% 1,904 0.0%
Drupal\Core\Template\Attribute::__construct9 3.2% 84 0.0% 96 0.0% 7,976 0.1% 704 0.0%
Drupal\Core\Utility\ThemeRegistry::has30 10.6% 69 0.0% 94 0.0% 3,384 0.0% 0 0.0%
node_preprocess_html1 0.4% 39 0.0% 41 0.0% 3,048 0.0% 0 0.0%
function_exists51 18.0% 29 0.0% 66 0.0% 792 0.0% 48 0.0%
Drupal\Core\Template\Attribute::__clone19 6.7% 10 0.0% 30 0.0% 1,776 0.0% 96 0.0%
Drupal\Core\Utility\ThemeRegistry::get9 3.2% 9 0.0% 13 0.0% 904 0.0% 0 0.0%
Drupal\Core\Theme\ThemeManager::getActiveTheme9 3.2% 9 0.0% 15 0.0% 824 0.0% 0 0.0%
array_keys6 2.1% 7 0.0% 12 0.0% 7,464 0.1% 0 0.0%
Drupal\Core\Extension\ModuleHandler::isLoaded9 3.2% 7 0.0% 12 0.0% 856 0.0% 0 0.0%
Drupal\Core\Theme\ActiveTheme::getEngine9 3.2% 5 0.0% 11 0.0% 824 0.0% 0 0.0%
template_preprocess_container1 0.4% 4 0.0% 6 0.0% 736 0.0% 0 0.0%
bartik_preprocess_html1 0.4% 3 0.0% 4 0.0% 1,664 0.0% 0 0.0%
views_ui_preprocess_views_view1 0.4% 2 0.0% 3 0.0% 936 0.0% 0 0.0%
array_reverse9 3.2% 2 0.0% 8 0.0% 2,096 0.0% 0 0.0%
twig_extension8 2.8% 2 0.0% 12 0.0% 1,432 0.0% 0 0.0%
run_init::views/views.theme.inc1 0.4% 1 0.0% 2 0.0% 824 0.0% 0 0.0%
strrpos5 1.8% 1 0.0% 9 0.0% 784 0.0% 0 0.0%
is_array9 3.2% 0 0.0% 11 0.0% 792 0.0% 0 0.0%
array_key_exists14 4.9% 0 0.0% 16 0.0% 800 0.0% 0 0.0%
substr5 1.8% 0 0.0% 7 0.0% 944 0.0% 0 0.0%