Diff Report
Run #518b13c95a609: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #518b15389813f: 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 #518b13c95a609Run #518b15389813fDiffDiff%
Number of Function Calls1 52 51 5100.0%
Incl. Wall Time (microsec)1,271 3,606 2,335 183.7%
Incl. Wall Time (microsec) per call 1,271 69 -1,202 -94.5%
Excl. Wall Time (microsec)55 315 260 472.7%
Incl. CPU (microsecs)995 2,685 1,690 169.8%
Incl. CPU (microsecs) per call 995 52 -943 -94.8%
Excl. CPU (microsec)38 232 194 510.5%
Incl. MemUse (bytes)141,576 203,904 62,328 44.0%
Incl. MemUse (bytes) per call 141,576 3,921 -137,655 -97.2%
Excl. MemUse (bytes)3,904 6,688 2,784 71.3%
Incl. PeakMemUse (bytes)142,952 177,824 34,872 24.4%
Incl. PeakMemUse (bytes) per call 142,952 3,420 -139,532 -97.6%
Excl. PeakMemUse (bytes)3,984 5,728 1,744 43.8%

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::loadTemplate51 44.0% 2,335 11.5% 1,690 8.5% 62,328 57.5% 34,872 16.8%
Exclusive Metrics Diff for Current Function260 11.1% 194 11.5% 2,784 4.5% 1,744 5.0%
Parent functions
twig_render_template@250 98.0% 1,427 61.1% 1,034 61.2% 34,688 55.7% 33,432 95.9%
twig_render_template@11 2.0% 935 40.0% 630 37.3% 27,640 44.3% 1,440 4.1%
twig_render_template0 0.0% -27 -1.2% 26 1.5% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Template\TwigEnvironment::needsUpdate2 3.1% 1,453 62.2% 766 45.3% 96 0.2% 17,296 49.6%
Drupal\Component\PhpStorage\MTimeProtectedFileStorage::load2 3.1% 334 14.3% 336 19.9% 53,560 85.9% 13,024 37.3%
Drupal\Core\Template\TwigEnvironment::getTemplateClass51 78.5% 222 9.5% 311 18.4% 976 1.6% 1,128 3.2%
Twig_Environment::getCacheFilename2 3.1% 39 1.7% 44 2.6% 224 0.4% 0 0.0%
__TwigTemplate_5a79b0d76e9a6cdeddf96270bf923644::__construct1 1.5% 8 0.3% 11 0.7% 2,344 3.8% 1,112 3.2%
__TwigTemplate_883bccf1d690e14c28136ff2f0683613::__construct1 1.5% 8 0.3% 8 0.5% 2,344 3.8% 568 1.6%
__TwigTemplate_da2b549a9c197d0c82d26e780ec2d1cf::__construct0 0.0% 4 0.2% 4 0.2% 0 0.0% 0 0.0%
Twig_Environment::isAutoReload2 3.1% 2 0.1% 3 0.2% 0 0.0% 0 0.0%
class_exists2 3.1% 2 0.1% 8 0.5% 0 0.0% 0 0.0%
Twig_Environment::initRuntime0 0.0% 2 0.1% 1 0.1% 0 0.0% 0 0.0%
Drupal\Core\Template\TwigEnvironment::storage2 3.1% 1 0.0% 4 0.2% 0 0.0% 0 0.0%