Diff Report
Run #5198f0bb880ef: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #5198f1db1bc51: XHProf Run (Namespace=drupal-perf-cottser)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\Core\Template\TwigEnvironment::loadTemplate

Drupal\Core\Template\TwigEnvironment::loadTemplateRun #5198f0bb880efRun #5198f1db1bc51DiffDiff%
Number of Function Calls1 16 15 1500.0%
Incl. Wall Time (microsec)1,271 2,730 1,459 114.8%
Incl. Wall Time (microsec) per call 1,271 171 -1,100 -86.6%
Excl. Wall Time (microsec)41 131 90 219.5%
Incl. CPU (microsecs)984 1,875 891 90.5%
Incl. CPU (microsecs) per call 984 117 -867 -88.1%
Excl. CPU (microsec)35 106 71 202.9%
Incl. MemUse (bytes)144,896 168,256 23,360 16.1%
Incl. MemUse (bytes) per call 144,896 10,516 -134,380 -92.7%
Excl. MemUse (bytes)3,904 4,480 576 14.8%
Incl. PeakMemUse (bytes)129,008 134,552 5,544 4.3%
Incl. PeakMemUse (bytes) per call 129,008 8,410 -120,599 -93.5%
Excl. PeakMemUse (bytes)3,304 3,656 352 10.7%

Parent/Child Regression/Improvement report for Drupal\Core\Template\TwigEnvironment::loadTemplate [View Callgraph Diff]


Function NameCalls DiffCalls
Diff%
Incl. Wall
Diff
(microsec)
IWall
Diff%
Incl. CPU Diff
(microsec)
ICpu
Diff%
Incl.
MemUse
Diff
(bytes)
IMemUse
Diff%
Incl.
PeakMemUse
Diff
(bytes)
IPeakMemUse
Diff%
Current Function
Drupal\Core\Template\TwigEnvironment::loadTemplate15 40.5% 1,459 91.1% 891 40.2% 23,360 81.7% 5,544 14.4%
Exclusive Metrics Diff for Current Function90 6.2% 71 8.0% 576 2.5% 352 6.3%
Parent function
twig_render_template15 100.0% 1,459 100.0% 891 100.0% 23,360 100.0% 5,544 100.0%
Child functions
Drupal\Core\Template\TwigEnvironment::needsUpdate1 4.5% 1,078 73.9% 501 56.2% 48 0.2% 856 15.4%
Drupal\Component\PhpStorage\MTimeProtectedFileStorage::load1 4.5% 141 9.7% 146 16.4% 19,640 84.1% 2,272 41.0%
Drupal\Core\Template\TwigEnvironment::getTemplateClass15 68.2% 113 7.7% 124 13.9% 640 2.7% 1,184 21.4%
Twig_Environment::getCacheFilename1 4.5% 25 1.7% 29 3.3% 112 0.5% 440 7.9%
__TwigTemplate_b558bb1bc2eb832d76ad96d0fd5057aa::__construct1 4.5% 9 0.6% 11 1.2% 2,408 10.3% 2,344 42.3%
Twig_Environment::initRuntime0 0.0% -3 -0.2% -2 -0.2% 0 0.0% 0 0.0%
__TwigTemplate_da2b549a9c197d0c82d26e780ec2d1cf::__construct0 0.0% 2 0.1% 4 0.4% -64 -0.3% -1,992 -35.9%
Twig_Environment::isAutoReload1 4.5% 2 0.1% 3 0.3% 0 0.0% 88 1.6%
Drupal\Core\Template\TwigEnvironment::storage1 4.5% 1 0.1% 2 0.2% 0 0.0% 0 0.0%
class_exists1 4.5% 1 0.1% 2 0.2% 0 0.0% 0 0.0%