HTML Preparation code:
Script Preparation code:
Tests:
  • push spread operator

  • Lodash concat

  • Array.prototype.push.apply()

  • spread operator

  • Array.prototype.concat

  • forEach push

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    push spread operator
    Lodash concat
    Array.prototype.push.apply()
    spread operator
    Array.prototype.concat
    forEach push

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 10 months ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120 on Linux
View result in a separate tab
Test name Executions per second
push spread operator 99.6 Ops/sec
Lodash concat 163.8 Ops/sec
Array.prototype.push.apply() 124.2 Ops/sec
spread operator 51.5 Ops/sec
Array.prototype.concat 133.7 Ops/sec
forEach push 137.2 Ops/sec


;