Tests:
  • Spread

    AخA
     
    const arr1 = ['a', 'b', 'c']
    arr1 = [...arr1,'d']
  • Push

     
    const arr1 = ['a', 'b', 'c']
    arr1.push('d')
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Spread
    Push

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.193 Safari/537.36
Chrome 86 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Spread 0.0 Ops/sec
Push 50020120.0 Ops/sec