Run Report
Run #5589a70d968a5: XHProf Run (Namespace=drupal-perf-stefanr)
Tip
Click a function name below to drill down.

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


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
Drupal\Core\Theme\ThemeManager::theme@22,400 3.1% 24,193,455 20.9% 397,363,200 7.9% 465,745,376 9.2%
Exclusive Metrics for Current Function320,700 1.3% -22,553,600 -5.7% 12,395,200 2.7%
Parent function
Drupal\Core\Theme\ThemeManager::render@22,400 100.0% 24,193,455 100.0% 397,363,200 100.0% 465,745,376 100.0%
Child functions
twig_render_template@22,300 3.1% 15,178,556 62.7% 259,373,600 65.3% 313,637,376 67.3%
template_preprocess_node1,000 1.4% 6,318,796 26.1% 94,524,800 23.8% 91,490,400 19.6%
rdf_preprocess_node1,000 1.4% 1,564,291 6.5% 45,387,200 11.4% 44,513,600 9.6%
Drupal\Core\Template\Attribute::__construct2,000 2.7% 152,217 0.6% 4,960,800 1.2% 367,200 0.1%
Drupal\Core\Extension\ModuleHandler::alter2,300 3.1% 117,351 0.5% 1,295,200 0.3% 719,200 0.2%
Drupal\Core\Extension\ModuleHandler::invokeAll2,300 3.1% 111,922 0.5% 1,815,200 0.5% 481,600 0.1%
template_preprocess2,300 3.1% 107,129 0.4% 3,640,000 0.9% 149,600 0.0%
contextual_preprocess2,300 3.1% 97,801 0.4% 2,469,600 0.6% 1,102,400 0.2%
Drupal\Core\Theme\ThemeManager::alter2,300 3.1% 83,240 0.3% 67,200 0.0% 36,000 0.0%
views_preprocess_node1,000 1.4% 35,630 0.1% 460,000 0.1% 0 0.0%
Drupal\Core\Utility\ThemeRegistry::has11,200 15.1% 26,400 0.1% 605,600 0.2% 46,400 0.0%
Drupal\Core\Theme\Registry::getRuntime2,400 3.2% 18,459 0.1% 68,000 0.0% 36,800 0.0%
function_exists14,600 19.7% 12,459 0.1% 65,600 0.0% 39,200 0.0%
template_preprocess_image100 0.1% 11,433 0.0% 324,000 0.1% 187,200 0.0%
template_preprocess_form_element200 0.3% 5,930 0.0% 445,600 0.1% 0 0.0%
Drupal\Core\Theme\ThemeManager::getActiveTheme2,400 3.2% 4,397 0.0% 68,800 0.0% 42,400 0.0%
template_preprocess_form100 0.1% 4,295 0.0% 316,000 0.1% 0 0.0%
bartik_preprocess_node1,000 1.4% 4,093 0.0% 594,400 0.1% 0 0.0%
Drupal\Core\Template\Attribute::__clone4,900 6.6% 3,474 0.0% 303,200 0.1% 51,200 0.0%
Drupal\Core\Utility\ThemeRegistry::get2,300 3.1% 2,647 0.0% 68,000 0.0% 46,400 0.0%
Drupal\Core\Extension\ModuleHandler::isLoaded2,400 3.2% 2,325 0.0% 68,000 0.0% 36,800 0.0%
template_preprocess_item_list100 0.1% 1,946 0.0% 446,400 0.1% 0 0.0%
Drupal\Core\Theme\ActiveTheme::getEngine2,300 3.1% 1,659 0.0% 68,000 0.0% 0 0.0%
array_reverse2,300 3.1% 1,580 0.0% 963,200 0.2% 19,200 0.0%
template_preprocess_container100 0.1% 890 0.0% 96,800 0.0% 0 0.0%
array_keys400 0.5% 877 0.0% 458,400 0.1% 136,800 0.0%
strrpos900 1.2% 790 0.0% 64,800 0.0% 33,600 0.0%
template_preprocess_input500 0.7% 573 0.0% 110,400 0.0% 0 0.0%
bartik_preprocess_menu200 0.3% 494 0.0% 204,000 0.1% 0 0.0%
twig_extension2,300 3.1% 389 0.0% 249,600 0.1% 0 0.0%
substr800 1.1% 296 0.0% 90,400 0.0% 56,000 0.0%
rdf_preprocess_image100 0.1% 184 0.0% 113,600 0.0% 60,000 0.0%
is_array2,400 3.2% 142 0.0% 64,800 0.0% 19,200 0.0%
array_key_exists1,200 1.6% 90 0.0% 65,600 0.0% 41,600 0.0%