HTML Preparation code:
Script Preparation code:
Tests:
  • Array.prototype.concat

  • Lodash concat

  • Array.prototype.push.apply()

  • spread operator

  • cached for + push

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:94.0) Gecko/20100101 Firefox/94.0
Firefox 94 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
Array.prototype.concat 4887110.0 Ops/sec
Lodash concat 1920064.9 Ops/sec
Array.prototype.push.apply() 2457166.5 Ops/sec
spread operator 0.4 Ops/sec
cached for + push 1909781.1 Ops/sec