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

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

Drupal\Core\Template\Attribute::addClassRun #54811e8abf892Run #54811b6aec43dDiffDiff%
Number of Function Calls2,724 1,924 -800 -29.4%
Incl. Wall Time (microsec)47,271 31,356 -15,915 -33.7%
Incl. Wall Time (microsec) per call 17 16 -1 -6.1%
Excl. Wall Time (microsec)22,614 15,934 -6,680 -29.5%
Incl. MemUse (bytes)2,311,120 1,509,688 -801,432 -34.7%
Incl. MemUse (bytes) per call 848 785 -64 -7.5%
Excl. MemUse (bytes)-3,250,512 -1,665,584 1,584,928 48.8%
Incl. PeakMemUse (bytes)701,072 419,224 -281,848 -40.2%
Incl. PeakMemUse (bytes) per call 257 218 -39 -15.3%
Excl. PeakMemUse (bytes)227,888 138,288 -89,600 -39.3%

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.
MemUse
Diff
(bytes)
IMemUse
Diff%
Incl.
PeakMemUse
Diff
(bytes)
IPeakMemUse
Diff%
Current Function
Drupal\Core\Template\Attribute::addClass-800 -25.0% -15,915 -22.6% -801,432 -1119.9% -281,848 -373.1%
Exclusive Metrics Diff for Current Function-6,680 -42.0% 1,584,928 197.8% -89,600 -31.8%
Parent function
call_user_func_array-800 -100.0% -15,915 -100.0% -801,432 -100.0% -281,848 -100.0%
Child functions
Drupal\Core\Template\Attribute::offsetSet-800 -33.3% -6,694 -42.1% -737,480 -92.0% -14,968 -5.3%
array_merge-800 -33.3% -1,392 -8.7% -697,192 -87.0% -119,400 -42.4%
func_get_args-800 -33.3% -1,141 -7.2% -916,664 -114.4% -57,880 -20.5%
Drupal\Core\Template\AttributeArray::exchangeArray0 0.0% -5 -0.0% -35,024 -4.4% 0 0.0%
Drupal\Core\Template\AttributeValueBase::value0 0.0% -3 -0.0% 0 0.0% 0 0.0%