Diff Report
Run #544333b05173f: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #54433ad6a7755: XHProf Run (Namespace=drupal-perf-joelpittet)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\Core\Template\Attribute::addClass

Drupal\Core\Template\Attribute::addClassRun #544333b05173fRun #54433ad6a7755DiffDiff%
Number of Function Calls642 915 273 42.5%
Incl. Wall Time (microsec)15,182 21,905 6,723 44.3%
Incl. Wall Time (microsec) per call 24 24 0 1.2%
Excl. Wall Time (microsec)7,048 9,688 2,640 37.5%
Incl. CPU (microsecs)15,598 22,574 6,976 44.7%
Incl. CPU (microsecs) per call 24 25 0 1.5%
Excl. CPU (microsec)5,589 7,890 2,301 41.2%
Incl. MemUse (bytes)526,688 796,536 269,848 51.2%
Incl. MemUse (bytes) per call 820 871 50 6.1%
Excl. MemUse (bytes)-549,648 -984,128 -434,480 -79.0%
Incl. PeakMemUse (bytes)17,344 45,024 27,680 159.6%
Incl. PeakMemUse (bytes) per call 27 49 22 82.1%
Excl. PeakMemUse (bytes)6,080 3,152 -2,928 -48.2%

Parent/Child Regression/Improvement report for Drupal\Core\Template\Attribute::addClass [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\Attribute::addClass273 25.0% 6,723 7.7% 6,976 8.5% 269,848 450.6% 27,680 49.0%
Exclusive Metrics Diff for Current Function2,640 39.3% 2,301 33.0% -434,480 -161.0% -2,928 -10.6%
Parent function
twig_template_get_attributes273 100.0% 6,723 100.0% 6,976 100.0% 269,848 100.0% 27,680 100.0%
Child functions
func_get_args273 33.4% 382 5.7% 641 9.2% 267,112 99.0% -2,160 -7.8%
Drupal\Core\Template\Attribute::offsetSet274 33.5% 3,346 49.8% 3,500 50.2% 255,088 94.5% 34,304 123.9%
array_merge272 33.3% 388 5.8% 580 8.3% 181,384 67.2% -1,536 -5.5%
Drupal\Core\Template\AttributeArray::exchangeArray-1 -0.1% -28 -0.4% -28 -0.4% 744 0.3% 0 0.0%
Drupal\Core\Template\AttributeArray::value-1 -0.1% -5 -0.1% -18 -0.3% 0 0.0% 0 0.0%