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\Template\Attribute::addClass

Drupal\Core\Template\Attribute::addClassRun #54811b6aec43dRun #54811e8abf892DiffDiff%
Number of Function Calls1,924 2,724 800 41.6%
Incl. Wall Time (microsec)31,356 47,271 15,915 50.8%
Incl. Wall Time (microsec) per call 16 17 1 6.5%
Excl. Wall Time (microsec)15,934 22,614 6,680 41.9%
Incl. MemUse (bytes)1,509,688 2,311,120 801,432 53.1%
Incl. MemUse (bytes) per call 785 848 64 8.1%
Excl. MemUse (bytes)-1,665,584 -3,250,512 -1,584,928 -95.2%
Incl. PeakMemUse (bytes)419,224 701,072 281,848 67.2%
Incl. PeakMemUse (bytes) per call 218 257 39 18.1%
Excl. PeakMemUse (bytes)138,288 227,888 89,600 64.8%

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::addClass800 25.0% 15,915 22.6% 801,432 1119.9% 281,848 373.1%
Exclusive Metrics Diff for Current Function6,680 42.0% -1,584,928 -197.8% 89,600 31.8%
Parent function
call_user_func_array800 100.0% 15,915 100.0% 801,432 100.0% 281,848 100.0%
Child functions
Drupal\Core\Template\Attribute::offsetSet800 33.3% 6,694 42.1% 737,480 92.0% 14,968 5.3%
array_merge800 33.3% 1,392 8.7% 697,192 87.0% 119,400 42.4%
func_get_args800 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%