HTML Preparation code:
Script Preparation code:
Tests:
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: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.2 Safari/605.1.15
Safari 18 on Mac OS X 10.15.7
View result in a separate tab
spread operator
46.2M/s
Array.prototype.concat
45.9M/s
Lodash concat
6.1M/s
Array.prototype.push.apply()
4.3M/s
cached for + push
666K/s
View exact numbers
Test name Executions per second
spread operator 46,241,276 Ops/sec
Array.prototype.concat 45,942,352 Ops/sec
Lodash concat 6,113,012 Ops/sec
Array.prototype.push.apply() 4,335,668 Ops/sec
cached for + push 666,118 Ops/sec