Script Preparation code:
Tests:
  • Concat Array to empty

  • Concat empty to Array

  • Spread

  • Slice

  • Splice

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Concat Array to empty
    Concat empty to Array
    Spread
    Slice
    Splice

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 11 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120 on Windows
View result in a separate tab
Test name Executions per second
Concat Array to empty 3809612.5 Ops/sec
Concat empty to Array 2870623.8 Ops/sec
Spread 4606393.0 Ops/sec
Slice 1995679.4 Ops/sec
Splice 14350373.0 Ops/sec


;