Run Report
Run #54e0a6d45fe2a: 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% 359,163 51.4% 353,499 51.8% 12,904,664 26.0% 13,272,768 26.4%
Exclusive Metrics for Current Function887 0.2% 623 0.2% -57,544 -0.4% 1,152 0.0%
Parent function
Drupal\Core\Theme\ThemeManager::render9 100.0% 359,163 100.0% 353,499 100.0% 12,904,664 100.0% 13,272,768 100.0%
Child functions
twig_render_template9 3.2% 338,553 94.3% 334,140 94.5% 11,092,712 86.0% 11,561,712 87.1%
template_preprocess_html1 0.4% 9,876 2.7% 9,463 2.7% 981,216 7.6% 940,264 7.1%
template_preprocess_page1 0.4% 4,590 1.3% 4,096 1.2% 344,400 2.7% 302,080 2.3%
Drupal\Core\Theme\Registry::getRuntime9 3.2% 1,193 0.3% 952 0.3% 143,944 1.1% 169,424 1.3%
load::views/views.theme.inc1 0.4% 1,157 0.3% 1,158 0.3% 186,920 1.4% 195,176 1.5%
color_preprocess_page1 0.4% 387 0.1% 295 0.1% 6,728 0.1% 17,752 0.1%
template_preprocess9 3.2% 315 0.1% 322 0.1% 31,272 0.2% 9,792 0.1%
Composer\Autoload\ClassLoader::loadClass1 0.4% 286 0.1% 287 0.1% 39,664 0.3% 0 0.0%
template_preprocess_links5 1.8% 259 0.1% 263 0.1% 24,840 0.2% 0 0.0%
Drupal\Core\Extension\ModuleHandler::invokeAll9 3.2% 225 0.1% 231 0.1% 16,920 0.1% 0 0.0%
Drupal\Core\Theme\ThemeManager::alter9 3.2% 224 0.1% 230 0.1% 7,496 0.1% 0 0.0%
Drupal\Core\Extension\ModuleHandler::alter9 3.2% 198 0.1% 207 0.1% 3,200 0.0% 0 0.0%
shortcut_preprocess_page1 0.4% 188 0.1% 189 0.1% 9,232 0.1% 0 0.0%
template_preprocess_views_view1 0.4% 115 0.0% 116 0.0% 7,032 0.1% 72,664 0.5%
contextual_preprocess9 3.2% 114 0.0% 122 0.0% 4,776 0.0% 0 0.0%
rdf_preprocess_html1 0.4% 113 0.0% 115 0.0% 13,320 0.1% 0 0.0%
bartik_preprocess_page1 0.4% 106 0.0% 106 0.0% 4,464 0.0% 1,904 0.0%
views_preprocess_html1 0.4% 97 0.0% 98 0.0% 5,232 0.0% 0 0.0%
Drupal\Core\Template\Attribute::__construct9 3.2% 83 0.0% 97 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% 40 0.0% 3,048 0.0% 0 0.0%
function_exists51 18.0% 34 0.0% 79 0.0% 792 0.0% 48 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% 11 0.0% 824 0.0% 0 0.0%
Drupal\Core\Template\Attribute::__clone19 6.7% 8 0.0% 29 0.0% 1,776 0.0% 96 0.0%
array_keys6 2.1% 7 0.0% 8 0.0% 7,464 0.1% 0 0.0%
Drupal\Core\Theme\ActiveTheme::getEngine9 3.2% 4 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%
Drupal\Core\Extension\ModuleHandler::isLoaded9 3.2% 4 0.0% 19 0.0% 856 0.0% 0 0.0%
bartik_preprocess_html1 0.4% 3 0.0% 4 0.0% 1,664 0.0% 0 0.0%
twig_extension8 2.8% 3 0.0% 17 0.0% 1,432 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% 1 0.0% 16 0.0% 2,096 0.0% 0 0.0%
run_init::views/views.theme.inc1 0.4% 1 0.0% 3 0.0% 808 0.0% 0 0.0%
is_array9 3.2% 0 0.0% 9 0.0% 792 0.0% 0 0.0%
array_key_exists14 4.9% 0 0.0% 15 0.0% 800 0.0% 0 0.0%
strrpos5 1.8% 0 0.0% 6 0.0% 784 0.0% 0 0.0%
substr5 1.8% 0 0.0% 6 0.0% 944 0.0% 0 0.0%