Diff Report
Run #54811b6aec43d: XHProf Run (Namespace=drupal-perf-davidhernandez)
vs.
Run #54811e8abf892: XHProf Run (Namespace=drupal-perf-davidhernandez)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\Core\Theme\ThemeManager::theme

Drupal\Core\Theme\ThemeManager::themeRun #54811b6aec43dRun #54811e8abf892DiffDiff%
Number of Function Calls4 4 0 0.0%
Incl. Wall Time (microsec)3,276,859 3,350,046 73,187 2.2%
Incl. Wall Time (microsec) per call 819,215 837,512 18,297 2.2%
Excl. Wall Time (microsec)677 676 -1 -0.1%
Incl. MemUse (bytes)24,133,952 24,198,040 64,088 0.3%
Incl. MemUse (bytes) per call 6,033,488 6,049,510 16,022 0.3%
Excl. MemUse (bytes)566,072 566,008 -64 -0.0%
Incl. PeakMemUse (bytes)26,766,192 26,827,280 61,088 0.2%
Incl. PeakMemUse (bytes) per call 6,691,548 6,706,820 15,272 0.2%
Excl. PeakMemUse (bytes)6,144 6,424 280 4.6%

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


Function NameCalls DiffCalls
Diff%
Incl. Wall
Diff
(microsec)
IWall
Diff%
Incl.
MemUse
Diff
(bytes)
IMemUse
Diff%
Incl.
PeakMemUse
Diff
(bytes)
IPeakMemUse
Diff%
Current Function
Drupal\Core\Theme\ThemeManager::theme0 N/A% 73,187 104.0% 64,088 89.6% 61,088 80.9%
Exclusive Metrics Diff for Current Function-1 -0.0% -64 -0.1% 280 0.5%
Parent function
Drupal\Core\Theme\ThemeManager::render0 N/A% 73,187 100.0% 64,088 100.0% 61,088 100.0%
Child functions
twig_render_template0 N/A% 72,638 99.2% 62,176 97.0% 48,136 78.8%
template_preprocess_html0 N/A% 617 0.8% 1,888 2.9% 3,896 6.4%
template_preprocess_page0 N/A% -107 -0.1% 160 0.2% 8,808 14.4%
template_preprocess_views_view0 N/A% 77 0.1% 0 0.0% 0 0.0%
color_preprocess_page0 N/A% -39 -0.1% 0 0.0% 0 0.0%
Drupal\Core\Theme\Registry::getRuntime0 N/A% 30 0.0% -200 -0.3% -192 -0.3%
Drupal\Core\Template\Attribute::__construct0 N/A% -10 -0.0% 0 0.0% 0 0.0%
Drupal\Core\Extension\ModuleHandler::alter0 N/A% 8 0.0% 0 0.0% -16 -0.0%
Drupal\Core\Extension\ModuleHandler::invokeAll0 N/A% -8 -0.0% 136 0.2% 272 0.4%
Composer\Autoload\ClassLoader::loadClass0 N/A% -5 -0.0% 0 0.0% 0 0.0%
views_preprocess_html0 N/A% -5 -0.0% 0 0.0% 0 0.0%
bartik_preprocess_page0 N/A% -4 -0.0% 0 0.0% 0 0.0%
shortcut_preprocess_page0 N/A% -3 -0.0% -16 -0.0% 16 0.0%
rdf_preprocess_html0 N/A% 2 0.0% -16 -0.0% -176 -0.3%
bartik_preprocess_html0 N/A% -2 -0.0% 0 0.0% 0 0.0%
node_preprocess_html0 N/A% -2 -0.0% 0 0.0% -80 -0.1%
Drupal\Core\Theme\ThemeManager::alter0 N/A% 2 0.0% 0 0.0% 0 0.0%
run_init::views/views.theme.inc0 N/A% 1 0.0% 0 0.0% 0 0.0%
Drupal\Core\Template\Attribute::__clone0 N/A% 1 0.0% 0 0.0% 0 0.0%
function_exists0 N/A% -1 -0.0% 16 0.0% 48 0.1%
Drupal\Core\Theme\ActiveTheme::getEngine0 N/A% -1 -0.0% 0 0.0% 0 0.0%
template_preprocess_container0 N/A% -1 -0.0% -8 -0.0% 0 0.0%
twig_extension0 N/A% 0 0.0% 0 0.0% 0 0.0%
contextual_preprocess0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Utility\ThemeRegistry::get0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Utility\ThemeRegistry::has0 N/A% 0 0.0% 0 0.0% 0 0.0%
is_array0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Extension\ModuleHandler::isLoaded0 N/A% 0 0.0% 0 0.0% 0 0.0%
array_keys0 N/A% 0 0.0% 0 0.0% 0 0.0%
array_key_exists0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Theme\ThemeManager::getActiveTheme0 N/A% 0 0.0% 0 0.0% -48 -0.1%
template_preprocess0 N/A% 0 0.0% 8 0.0% 144 0.2%
load::views/views.theme.inc0 N/A% 0 0.0% 0 0.0% 0 0.0%
array_reverse0 N/A% 0 0.0% 8 0.0% 0 0.0%
views_ui_preprocess_views_view0 N/A% 0 0.0% 0 0.0% 0 0.0%