Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array clone with spread operator
    Array clone with slice
    Array addition with spread operator
    Array addition with slice and push
    Array removal with spread operator
    Array removal with slice and splice
    Array update with spread operator

    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/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Chrome 135 on Mac OS X 10.15.7
View result in a separate tab
Array clone with slice
118.9M/s
Array removal with slice and splice
51.2M/s
Array addition with slice and push
28.1M/s
Array clone with spread operator
24.7M/s
Array addition with spread operator
21.5M/s
Array removal with spread operator
16.8M/s
Array update with spread operator
15.1M/s
View exact numbers
Test name Executions per second
Array clone with slice 118,929,880 Ops/sec
Array removal with slice and splice 51,222,256 Ops/sec
Array addition with slice and push 28,114,982 Ops/sec
Array clone with spread operator 24,693,186 Ops/sec
Array addition with spread operator 21,538,724 Ops/sec
Array removal with spread operator 16,770,662 Ops/sec
Array update with spread operator 15,066,070 Ops/sec