Tests:
  • Array.prototype.concat - few iterations

  • Spread operator - few iterations

  • Array.prototype.concat - many iterations

  • Spread operator - many iterations

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.prototype.concat - few iterations
    Spread operator - few iterations
    Array.prototype.concat - many iterations
    Spread operator - many iterations

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15
Safari 17 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Array.prototype.concat - few iterations 125065.8 Ops/sec
Spread operator - few iterations 43610.0 Ops/sec
Array.prototype.concat - many iterations 1794.2 Ops/sec
Spread operator - many iterations 429.4 Ops/sec


;